simple water detection sensor

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
AleMaker
 
Posts: 4
Joined: Sun Jan 24, 2016 12:10 pm

simple water detection sensor

Post by AleMaker »

I've got the adafruit simple water detection sensor hooked up to a raspberry pi zero. The sensor is receiving 3v and the sensor's led is on. But even with the sensor 3/4 submerged in water, the ouput is only 1.6v, not enough to be detected as positive on the pi GPIO. Do I need to use a ADC with this sensor? I'm concerned that supplying 5v to the sensor may exceed the input voltage on the GPIO pin.

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: simple water detection sensor

Post by Franklin97355 »

Some sensors are unable to swing between limits. I would use an analog pin and keep abreast of the progress.

User avatar
AleMaker
 
Posts: 4
Joined: Sun Jan 24, 2016 12:10 pm

Re: simple water detection sensor

Post by AleMaker »

Uh, no analog pins on raspberry pi.

I tested that the sensor, supplied with 5v gives an output of about 3.5v max. This seems to be OK for the raspi digital pin. No smoke yet.

User avatar
SQRT_Neg_1
 
Posts: 39
Joined: Mon Aug 23, 2021 6:25 pm

Re: simple water detection sensor

Post by SQRT_Neg_1 »

A silicon diode in series will drop the voltage by 0.7v

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”