Raspberry PI and Rain sensor

Pop your questions regarding Home automation Domotica hardware here.....
Post Reply
soitjes
Member
Member
Posts: 67
Joined: Wed Feb 10, 2010 10:35 pm

Raspberry PI and Rain sensor

Post by soitjes »

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.
My Digital Home Server - http://www.digitalhomeserver.net
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Raspberry PI and Rain sensor

Post by Digit »

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.
User avatar
nico_gh2
Member
Member
Posts: 133
Joined: Wed Apr 06, 2011 12:24 pm
Location: Betuwe, Netherlands
Contact:

Re: Raspberry PI and Rain sensor

Post by nico_gh2 »

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.
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: Raspberry PI and Rain sensor

Post by b_weijenberg »

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.
Post Reply

Return to “Questions & Discussions Forum”