OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Rain sensor on raspberry

Tagged: ,

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #50447

    wifi75
    Participant

    Hello, how it is possible insert rain sensor in my raspberry?
    in which gpio pin?

    #50495

    Ray
    Keymaster

    Please take a look at the OSPi user manual:
    https://rayshobby.net/docs/ospi143+_manual.pdf
    page 5 — Rain Sensor.

    #50507

    wifi75
    Participant

    do 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:
    #50553

    wifi75
    Participant

    it is correct?

    #50556

    dsmoot
    Participant

    No, 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.

    #50560

    wifi75
    Participant

    same thing for the raspberry pi3?

    #50576

    Ray
    Keymaster

    Does not matter which RPi you have: they all have the same pin definitions so yes it works for RPi 3 too.

    #50586

    wifi75
    Participant

    thanks a lot sir

    #50632

    wifi75
    Participant

    Sorry 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

    #50695

    Ray
    Keymaster

    Yes 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.

    #50830

    wifi75
    Participant

    hello, 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??

    #51218

    calanish
    Participant

    I 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.

    #61682

    Kunstflieger
    Participant

    Is 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.

    #61702

    Ray
    Keymaster

    Yes, 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.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Rain sensor on raspberry