Glen Pitt-Pladdy :: BlogFine Offset WH0203 (and others) Protocol | |||
While I now have plenty of temperature/humidity sensors and switched sockets running now, I've been looking at other useful sensors, and rain comes to mind as summer is drawing to an end. When it comes to inexpensive rain gauges (sensors as they are called for home automation), for £12 delivered from eBay I picked up one of these:
It includes a display which was only useful for initial testing for me, and seems to be a re-branded Fine Offset WH0203 ... yup, many of these sensors are leading back to Fine Offset. Internally it's the usual sort of mechanism with a mechanical rocker that fills and empties each side alternately. It's got a magnet next to the electronics compartment and that triggers a reed switch each time it rocks back and forward (0.3mm of rainfall).
It's fairly simple - takes 2x AAA batteries under the snap-on cover and transmits every 48 seconds. Intelligence Gathering & Baseband SignalI was expecting to see something like the Watson / Fine Offset WH2 or the Imagintronix / Fine Offset WH15B, given the apparent origin of this device. About all this needs to communicate is a count for the number of times the rocker tips. .... and as expected it's very similar to the WH2:
Clearly Pulse Width encoding with a fixed gap, which means you could get baseline drift with DC blocking in receivers. Other than that I already have the decoders for this and just needs some tweaks for this device. Data StructureA bit of experimenting to find how things are arranged (lots of flipping the rocker back and forward and power cycling to get new rolling codes) and I've come up with MSB first structure like this:
I've done things like run it down to low voltages (when it stops) to see if there are any flags like low battery but none found so far. One thing I have detected is that occasionally it throws out garbage data with most of the bits set to "1" but a valid CRC.... suspicious! |
|||
Disclaimer: This is a load of random thoughts, ideas and other nonsense and is not intended to be taken seriously. I have no idea what I am doing with most of this so if you are stupid and naive enough to believe any of it, it is your own fault and you can live with the consequences. More importantly this blog may contain substances such as humor which have not yet been approved for human (or machine) consumption and could seriously damage your health if taken seriously. If you still feel the need to litigate (or whatever other legal nonsense people have dreamed up now), then please address all complaints and other stupidity to yourself as you clearly "don't get it".
Copyright Glen Pitt-Pladdy 2008-2023
|
Comments: