August 4, 2014 at 9:04 pm #27236
You could be right for version 1.2. I only have version 1.4 and I used a pic from Ray’s site of an OSPi 1.4 device to show the only case where I knew the rain sensor input to be. For v1,4 I am certain as that is where I connected my rain sensor and, it is working. I believe version 1.4 to be the currently sold version so whoever buys an OSPi board today should get what is in my picture.August 6, 2014 at 5:14 am #27237
Rain sensor port has been added since OSPi 1.2.
I don’t recall where I said this. Rain sensor is only added since OSPi 1.3. If you saw where I mentioned it in 1.2, let me know and I will correct it.August 6, 2014 at 2:36 pm #27238
Yes you did say it. earlier in this thread, I think. That was why I showed a picture of a v1.4 device. Since you shipped me a v1.4 it is the only version I have ever seen.August 11, 2014 at 3:48 pm #27239
Sorry, that was my mistake — rain sensor is only added after OSPi 1.3.August 13, 2014 at 3:56 pm #27240
Aha ok I understand, then I need invenst in a new ospi board..:(August 19, 2014 at 3:25 pm #27241
Given that the OSPi software now supports weather-based rain delay, you may want to try that out first. If that works for you, you can get away with rain sensor.April 19, 2019 at 4:16 am #59856
I also have OpenSprinkler v 1.2 and want to add a rain sensor. I imagine I can can add a 10k pullup resistor and a 10k current limiting resistor connected to a free IO on the gpio should work if I then advise OSprinkler which pin to use. Is this correct and if so where are OSprinkler port listing?
May 15, 2019 at 11:46 pm #60401
- This reply was modified 3 months, 4 weeks ago by mikcaau.
Did you use OSPi 1.2 or OpenSprinkler DIY 1.2? OpenSprinkler DIY 1.2 already has rain sensor port integrated. OSPi 1.2 does not, and yes you can add a rain sensor by following the OSPi 1.4 circuit diagram to figure out the GPIO pin. Add a 10K pullup, and a 4.7K current limiting resistor (in series) should suffice. You don’t even need 4.7K resistor — it was added because we’ve occasionally had users who plugged in 24VAC to the rain sensor port. The 4.7K resistor will make sure it won’t damaged the processor even if 24VAC is plugged into a GPIO.July 14, 2019 at 2:13 am #61640
Please help this guy:( Remember the adage “Never trust a programmer with a soldering iron”.
As instructed I made rain sensor link with 12k pull up resistor and 5.5k current limiting resistor and connected it to 5v and GPIO14. I connected a NC rain sensor from Amazon. When I set weather sensor to “Rain” and “Normally closed” Open Sprinkler oscillates between “Rain detected” and “System idle” in approximately 10 second intervals.
For the rain sensor open circuit is 3.5V and connected is 0 volts at the sensor terminals.
I am using Open Sprinkler V22.214.171.124 (2), App 1.8.6, Hardware version OSPI
Raspberry Pi Revision 0002 – Model B Rev 1, Linux, raspbian V9 stretch
Can you tell me what I’ve done wrong please?
Do I need to upgrade OSPI?
tia Mick from Darwin in the NT which is a desert with a wet season.July 16, 2019 at 4:40 pm #61696
Please, the pull up resistor needs to be connected to 3.3V, not 5V! Connecting it to 5V you will risk damaging your GPIO pin. This is basic knowledge of RPi — that is, GPIO pins are only 3.3V tolerant.
You must be logged in to reply to this topic.