Hi all,
Probably a stupid question, but ive got a rain sensor that provides resistance if its detected rain, and 0 resistance if its dry.
What would be the best way to hook this into the board?
Thanks
Hi all,
Probably a stupid question, but ive got a rain sensor that provides resistance if its detected rain, and 0 resistance if its dry.
What would be the best way to hook this into the board?
Thanks
You can connect the rain sensor between the analog input terminals A1 and A2.
Remove jumper cap from SK2 and keep jumper cap on SK3 installed.
The rain sensor is now getting +5V from terminal A2.
The analog input terminal A1 voltage is now proportional to the rain sensor’s resistance.
Turn the trimmer potentiometer ATT1 to max position clockwise.
Thanks seems to be all working, I’ve now got a value of 255 on Input 1, which means there is no resistance?
[quote]I’ve now got a value of 255 on Input 1, which means there is no resistance?[/quote]Yes.
Great thank you!