Go Down

Topic: Help with decoding 433 mhz RF XC-0331 Wireless Ultrasonic Tank Level Meter (Read 4744 times) previous topic - next topic

ilium007

Hi - did you make any further progress on this ? I am trying to do the exact same thing. I actually have a Maxbotix sensor I was going to use but then started thinking about decoding the signal from a device already built for the purpose of sensing water tank levels.

Any help would be appreciated.

Kinotech

Hi,
I'm not sure if this thread is still alive, but I've figured out how to read the temperature from the data you've provided.

Using the last data row as an example (010111110001110010001000010000001011000010000000111001000000000001101111    - 22.5 Celsius , 0.69m water level

Reading bytes 6 and 7 gives 10000000 and 11100100, reverse these bitwise giving 00000001 and 00100111 in other words nibbles 10, 11,12 and 13 are 0000, 0001, 0010 and 0111 or in hex 0, 1, 2, 7.

Unfortunately there does seem to be an error in the datasheet spreadsheet that was attached earlier - it seems it should be Temp_L = nibble 11, Temp_M = nibble 13, and Temp_H = nibble 12. Therefore temperature is 271 hex (not 127 hex)

Finishing off, 271 hex, = 625 decimal. Subtract the 400 offset gives 225 and divide by 10 gives the temperature of 22.5 degrees.

Let me know if this thread is still alive and I'll have a go at the depth calculation.


Kinotech

Any chance anyone could post some more bitstream data for tank depths other than 100% - I don't actually have this hardware, but trying to work backwards from the data posted.

I suspect the unit is sending back the distance between the sensor and the top of the water. The sensor wouldn't know how much water is in the tank (only the receiver knows this). Ideally, 3 or 4 sets different data - bitstream, reported depth, temperature along with the gap height and tank depth setting used in the receiver.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy