Wireless Temperature and Humidity

While waiting for some RFM12B’s to arrive so I could continue experimenting with jeenode,and variations, and Nathans veroboard wireless temperature arduino, I acquired a Quasar QAM-RX4 AM Receiver module from ebay and tried out a few experiments. One of these was with a wireless temperature and humidity module I had purchased after reading an article by Jaakko.

Quasar QAM RX4 AM Receiver

Quasar QAM RX4 AM Receiver

To me, one of the challenges we face is implementing our technology in a consumerised form.That is to say we can produce the electonics and code relatively easily, but even when we put the electronics in a case it still looks home made. Repurposing or hacking existing consumer items produces objects which are much more acceptable in the average home and to our families.

WS2015 base station and WT540 Transmitter

WS2015 base station and WT540 Transmitter

Jaakko’s hack is based on a decode of the wireless protocol by a Swede and a Norwegian, Johan Adler and Øyvind Kaurstad. Fortunately Jaakkos site is in in english. I replicated his hack of the larger base station with its separate receiver board. Unfortunately, no matter wether I used the on board batteries or powered the receiver from the Ardiuno I was unable to get reliable data reception. Maybe I needed a level shifter.

WT450H Temperaqture and Humidity transmitter

WT450H Temperaqture and Humidity transmitter

For various reasons I had to put this project aside. When I hooked up the 433Mhz AM receiver to the Arduino I tried out a cut down version of Jaakko’s code and after a bit of adjustment it is now recieving the data reliably.

QAM RX4 on a mini breadboard. Connect all pins, linking pins with the same annotation, see RX4 manual. Black and white wires are to the aerial. Data to pin D3 for interrupt 1

So, some points of note:-

If you use this receiver there is no need to buy the transmitter and base station, you never saw the base stations sensors on the Arduino anyway.

The transmitter that came with my WS2015H base station was the WT450, ie it had no humidity sensor, transmitting zero for this sensor.

The addon transmitter is the WT450H, ie it has both temperature and Humidity sensors.

WT450H on its mounting bracket with prop stand

WT450H on its mounting bracket with prop stand

The transmitter clips into a bracket which has a flip out stand and screw keyholes for wall mounting.

WT540H showing clip on bracket and sealed connector to the external temperature sensor

WT540H showing clip on bracket and sealed connector to the external temperature sensor

An external temperature sensor is supplied with each transmitter. When connected it replaces the internal temperature sensor

The transmitter can be set to any one of 15 networks and 4 channels. the base station can be set to any one network, receiving the four channels. Jaakko’s original code only decoded the first 7 networks. The network and channel numbers now match the network and channel numbers on the transmitters (rather than starting from 0)

The transmitter sends the same value 3 times in quick succesion once a minute. This is an attempt to ensure  that at least one uncorrupted message arrives every minute.

Serial Monitor results

Serial Monitor results

You can purchase the transmitter part number 36-1797 from any Clas Ohlson store for £7.99.(!)(A bargain, while stocks last, no affiliation, etc,etc.)

Be aware that while it looks like you can buy online, all you are doing is creating a list you can print out and take with you to the store.

Thw QAM-RX4 appears to available from the usual sources, Farnell, Rapid, + RF Solutions and Quasar UK. A minimum order value may apply. Other AM Receiver modules are also likely to be suitable, try it and see, then report back?

Here is a copy of the RX4 manual and a copy of the test program i was using which is based on Jaakko’s work

Nanode – 0547

Light Sensor 24 hour view

Light Sensor 24 hour view

My Nanode, serial number 0547, has been sitting on the window sill of the spare bedroom since the first week of september and has been running continuously now, apart from when we had someone staying over, since about the 14th september.

It has been running a sketch based on a combination of the many examples out there using Andrew Lindsay‘s Ethershield Library for the Nanode’s ENC28J60 and utilises the on board MAC chip, DHCP and DNS lookup for Pachube. Three analog inputs are being monitored and and the data being pushed upto Pachube. The feed number is 35364.

Light Sensor - 1 week view

Light Sensor - 1 week view

The three sensors were temperature, light and supply voltage and they are all breadboard mounted next to the Nanode. There is clearly something wrong with the temperature sensor, an LM35, but I have ignored it as I was more interested in seeing how reliable the nanode and sketch was. The light sensor is a simple LDR, and on the one week and 24 hour graphs, clearly shows daylight, night time and when the lights hve been turned on in the evening. The third sensor is a simple voltage divider with the value being x100 and shows the value to be between 4.98 and 4.99 volts

Not all gadgets need be electronic – 5

Velcro straps aka Velcro Ty-wraps

Quite a few years ago I ordered some Velcro ty-wraps from RS Components. They were new then and expensive and came “in any colour you like, as long as its black”. A clever use of velcro though because unlike conventional ty-wraps, they were open/closeable or reusable.

Openable velcro ty-wrap

Walking down the the electricals aisle in the local Asda, I see they are selling them under their own brand Status label, as “Velcro straps”. These come in multicolour packs of 10 for £1.75! Bargain!