I have gone through this answer before i post question here,




Those links talks about water moisture sensors, but I think I need water flow detection from pump. Below is my use case

I’m very new to raspberry pi. I have personal requirement for my home purpose. We have heavy water problem in our village. Water comes from borewell only early morning 2:00 AM For an hour. After 3 hours agin water will come for 30 mins. So the problem is every day we have to switch on motor 2 am will switch it of after an hour. After that every 3 hours interval water comes for 30 minutes. We need to keep watch water is coming or not. If water not coming we will switch of motor.

I would like to automate this with raspberry pi. Before I post this I did some R&D in Internet how the things will work. I understood, I need raspberry pi, water sensor ( for monitoring water outflow), something else for switch off and on of motor.

I can program the interval and other coding stuff in python. So I would like to know all the required hardware for this requirement.

  • I guess what you need is a Rpi to monitor the water flow meter, and use a relay to switch on/off the AC110/220V line to the the pump. The following posts might help: (1) raspberrypi.org/forums/viewtopic.php?f=32&t=219744#p1349155, (2) raspberrypi.org/forums/…. I am happy to expand and/or update my old stuff. Please let me know the links or photos of your flow meter and water pump, so I can tailor/gear my suggestion more specifically to your requirements and Rpi knowledge/skill standards. Cheers.
    – tlfong01
    Feb 22, 2020 at 2:06
  • 3
    This may be a worthwhile project, but this is not how this site works. We can't help you with selecting hardware, but if you need help with interfacing or programming help is available. Frankly this would be more suited to Arduino.
    – Milliways
    Feb 22, 2020 at 3:50
  • As @Millieays says, for me it doesn’t matter which hardware it is. For me my use case should be solved. I found very good and complete example here with Arduino how2electronics.com/… . But later I came to know, Arduino doesn’t support python like Raspberry PI. I believe I can program in C also, but I’m worried that I may not get full support.
    – bommina
    Feb 22, 2020 at 9:09
  • @tlfong01, I found very good example with Arduino ( how2electronics.com/…) but may be I prefer to use Raspberry PI. I would like to to achieve same as mentioned in this link with Raspberry PI. So what are all components required (hardware) , which Pi model and so.
    – bommina
    Feb 22, 2020 at 9:16
  • 1
    @tlfong01, I edited title. I will be more specific. I don’t want to measure how much water is pumped, I want it for long run, not just like a toy. I just want to know water is coming or not pump, and if water is not coming I will switch off motor ( big motor connected to 3 phase line). So kindly suggest me RPI model, water sensor (if any) and module for power on/off.
    – bommina
    Feb 22, 2020 at 14:31


Your Answer

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

Browse other questions tagged or ask your own question.