OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Rain sensor on raspberry
Tagged: GPIO, rain sensor
- This topic has 13 replies, 5 voices, and was last updated 6 years, 10 months ago by
Ray.
-
AuthorPosts
-
June 3, 2018 at 10:16 am #50447
wifi75ParticipantHello, how it is possible insert rain sensor in my raspberry?
in which gpio pin?June 4, 2018 at 10:35 am #50495
RayKeymasterPlease take a look at the OSPi user manual:
https://rayshobby.net/docs/ospi143+_manual.pdf
page 5 — Rain Sensor.June 5, 2018 at 1:49 am #50507
wifi75Participantdo you mean that I connect the rain sensor to the GPIO 14 + gnd on my raspberry PI3 it could work?
if it were so I would be so happy!
Attachments:
June 8, 2018 at 8:49 am #50553
wifi75Participantit is correct?
June 8, 2018 at 2:46 pm #50556
dsmootParticipantNo, he is talking about connecting it to the rain sensor port on the OSPi board (far right connector next to stations). That connector is connected (internally) to the GPIO 14 that you show on your picture.
June 8, 2018 at 5:02 pm #50560
wifi75Participantsame thing for the raspberry pi3?
June 9, 2018 at 1:04 pm #50576
RayKeymasterDoes not matter which RPi you have: they all have the same pin definitions so yes it works for RPi 3 too.
June 10, 2018 at 6:03 am #50586
wifi75Participantthanks a lot sir
June 12, 2018 at 4:51 am #50632
wifi75ParticipantSorry sir only another question,
it is possible connect all type of rain sensor?
for example this:
https://www.amazon.com/Hunter-Industries-MINICLIK-Mini-Click-Sensor/dp/B001400LTU
or this:
https://www.amazon.com/Orbit-Sprinkler-System-Freeze-Sensor/dp/B000A7SPPU
June 15, 2018 at 10:03 am #50695
RayKeymasterYes I think both of them would work with OpenSprinkler / OpenSprinkler Pi. Most rain sensors are simply rain-activated switch — some are normally open (i.e. switch is disconnected when there is no rain) but most common ones are normally closed (i.e. switch is on when there is no rain). OpenSprinkler software allows you to choose between the two types of sensors.
June 25, 2018 at 10:51 am #50830
wifi75Participanthello, I try to enable rain senso without connection the sensor.
if normal open it is checked or not I have in both case rain detect message, why??July 19, 2018 at 2:09 pm #51218
calanishParticipantI use the Hunter Industries sensor – you may need to adjust the polarity inside the config for it to work correctly but once that is done it just works.
July 16, 2019 at 3:15 am #61682
KunstfliegerParticipantIs it also possible to connect the rain sensor direct on GPIO 14? Is a Pull-UP or Pull-Down required? I didn´t found documents for this.
July 16, 2019 at 5:00 pm #61702
RayKeymasterYes, pull-up is required because the firmware itself doesn’t enable pull-up, so it assumes there is external pull up. You can modify the firmware yourself to enable the internal pull-up.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Rain sensor on raspberry
