Hi,
I have a raspberry pi at home and it's a really cool device. So I thought it would be nice if I could connect this to a rain sensor (like this one at Conrad : http://www.conrad.nl/ce/nl/product/1876 ... ig-of-mist).
I did search a bit on the Internet but could not find any really good documentation on how to do this. Anybody has some good links/tips/hints ? Note that I'm a beginner when it comes to hardware...
Thanks,
Soitjes.
Raspberry PI and Rain sensor
Raspberry PI and Rain sensor
My Digital Home Server - http://www.digitalhomeserver.net
Re: Raspberry PI and Rain sensor
The rain sensor you mention has a Potential free contact output (Relay) 30V/4A.
So this sensor works just like a push button, as far as the RPi is concerned
And there are a lot of tutorials/videos etc. on how to connect push buttons to the RPi GPIO.
This is just one (random) of them: http://learn.adafruit.com/playing-sound ... spberry-pi
Oh and in the case I mentioned, you'll need a GPIO lib written in Python.
So this sensor works just like a push button, as far as the RPi is concerned
And there are a lot of tutorials/videos etc. on how to connect push buttons to the RPi GPIO.
This is just one (random) of them: http://learn.adafruit.com/playing-sound ... spberry-pi
Oh and in the case I mentioned, you'll need a GPIO lib written in Python.
Re: Raspberry PI and Rain sensor
AirPI seems a nice project if you want to keep an eye on the air pollution / temp / humidity / light levels.
http://airpi.es/index.php There is also a bit on AnalogueDigitalConversion for 8 inputs. Sadly no rain sensor.
http://airpi.es/index.php There is also a bit on AnalogueDigitalConversion for 8 inputs. Sadly no rain sensor.
Nico - Domotica in de Betuwe
- b_weijenberg
- Forum Moderator
- Posts: 1744
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
Re: Raspberry PI and Rain sensor
Connect the rain sensor contact to an X10 door/window sensor.
The DS90 has a connection for such a contact. On cheaper or older versions you can connect the rain sensor contact on the wires of the reed contact in the X10 sensor.
The DS90 has a connection for such a contact. On cheaper or older versions you can connect the rain sensor contact on the wires of the reed contact in the X10 sensor.