SIP
Rain Sensor - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Plugin questions (https://nosack.com/sipforum/forumdisplay.php?fid=6)
+--- Thread: Rain Sensor (/showthread.php?tid=31)



Rain Sensor - psekinho - 2016 May 03

I have this rain sensor: https://www.hellasdigital.gr/electronics/sensors/raindrops-detection-and-humidity-sensor-for-arduino/
As far as i understand i connect it on 3,3v and gnd. And then what about GPIO for D0? I just use whatever GPIO i have free or there is a specific one so the SIP can read it?
Also does it need any programming or connecting the cables and enabling it in SIP is enough?


RE: Rain Sensor - dan - 2016 May 03

The SIP rain sensor code is for a simple on-off type device.

It may not be easy to use your sensor with the Raspberry Pi directly. It should be possible to connect the sensor to an Arduino and have the Arduino send a signal to the Pi but it will probably require some changes to the SIP code or a pligin.

Dan


RE: Rain Sensor - psekinho - 2016 May 03

OK i understand... Do you have any  "plug'n'play" rain sensor to recommend me?


RE: Rain Sensor - dan - 2016 May 04

Something like the Orbit rain sensor would work.
http://www.amazon.com/Orbit-Sprinkler-System-Freeze-Sensor/dp/B000A7SPPU/ref=sr_1_1?ie=UTF8&qid=1462373394&sr=8-1&keywords=orbit+wireless+rain+sensor


RE: Rain Sensor - psekinho - 2016 May 05

OK, but as far as i can understand this has nothing to do with SIP app right? I mean this goes directly to the valves and opens the circuit if there is rain. Or i am wrong? Does it integrate with the raspberry so you know the status?


RE: Rain Sensor - dan - 2016 May 05

You can use it two ways.
1. It can be connected to disable the valves as you describe.

2. It can be connected between Pin 8 on the Pi and ground. This allows The SIP interface to interact with the sensor.


RE: Rain Sensor - psekinho - 2016 May 05

Nice, so i guess similar 2-wire sensors i have found in my country will do.
Thank you.