Can Grove Water sensor be interfaced with raspberry pi even without the Grovepi/Grovepi++ module??


Strictly speaking the signal on that sensor is analog (changes as a function of water level), however it is claimed to work with digital pins, indicating water presence. It will probably work in the same way with RPi GPIO pins directly. It's hard to predict what the threshold level will be, i.e. how much water is required before the digital pin toggles to "water present" state.

If you need to measure water level (as opposed to simply detecting there's water), you'll need to convert analog signal from the sensor to digital. You can certainly use something else than Grovepi to do the conversion, but this is a rather broad topic.

  • So, @Dmitry Grigoryev, I could use any ADC to read a simple water detection given that I can determine the threshold level? Also, I am currently using python as a platform for configuring the grove water sensor.
    – eMM
    Dec 10 '16 at 2:54
  • @user57929 If your desired threshold happens to match the threshold value of the digital pin, then you don't need an ADC. Otherwise, you can use basically any ADC that can talk to an RPi and works in 0-3.3V or 0-5V range. Dec 12 '16 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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