11

I am planning to measure water level in a well, which is about 10 m deep with maximum water level up to 5 m. My plan is to use ultrasonic sensor HC SR04 to measure depth, transmit it via ZigBee to a Raspberry Pi inside my home.

My question is how best to connect HC SR04 to a ZigBee device? Since this sensor will be located inside a well, using minimum parts with lowest power usage would be ideal.

2
  • 1
    You sensor has only a sensing range of about four meters, so if you put it on max level it cannot measure down to the ground and if water reaches max level it breaks because it's not waterproof.
    – Helmar
    Jan 8, 2017 at 9:08
  • I understand the limitation of range. I would have been happy with couple of meters more range, but I have to live with the limitation.
    – Raj
    Jan 8, 2017 at 16:32

1 Answer 1

4

Generally you'd need some component to trigger and power the sensor and read the response. That sensor has a custom response and trigger which makes me doubt there is a standard ZigBee module out there which converts a command to that 10 µs trigger and reports back the response in verbatim. Thus, you'll need some sort of microcontroller with your ZigBee module to perform that task.

I'd probably get that microcontroller, the ZigBee module and a circuit prevent short circuiting on a board outside the well for humidity reasons and lead a four wire cable inside to the sensor. Since the sensor has only four meters of range it has to be very close to the potential high water maximum mark. Putting a small cable inside the well gets the other electronics out of range and puts the ZigBee module in a better position to relay the information to the Raspberry Pi.

Of course, you can also put the MCU, the ZigBee module and the sensor in a water-proof casing inside the well. Which might give the ZigBee module problems though. However that depends a lot on your building.

2
  • Thank you for the thoughtful answer. Any suggestion for a cheap low power MCU? Also how long can the 4 wire cable to the sensor be?
    – Raj
    Jan 8, 2017 at 16:34
  • Could you provide some examples of devices to perform this?
    – lalebarde
    Apr 7 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.