OpenSprinkler Pi (OSPi) is an open-source sprinkler / irrigation extension board for Raspberry Pi (RPi). It is based on the design of OpenSprinkler, but its ‘brain’ is an RPi instead of an AVR microcontroller.
Circuit Design. The circuit of OSPi is a subset of the OpenSprinkler and consists of a 24VAC to 5VDC switching converter, a shift register, triacs, DS1307 RTC and backup battery. OSPi makes use of four of RPi’s GPIO pins to control the shift register, and two I2C pins (SDA, SCL) to interface with the built-in RTC. It can provide regulated 5V power to RPi with up to 600mA output current, which is sufficient to drive Raspi with an USB WiFi dongle. Connection from Raspi to OSPi is done through a 3-pin cable (providing 5V to Raspi) and a 8-pin cable (connecting GPIO pins and 3.3V power from Raspi).
Enclosure. OSPi uses the same enclosure as OpenSprinkler. To do so, you first secure the RPi to OSPi by leveraging the onboard copper separation pillars and screws, then fit the two of them together into an existing OpenSprinkler enclosure. The RPi’s SD card will stick out of the case, but everything else (including the WiFi USB dongle) will be fully enclosed.
Zone Expansion. Similar to OpenSprinkler, a single OSPi controls 8 stations, but there is a built-in shift register connector which allows it to be linked to zone expansion boards to enable more stations. Unlike OpenSprinkler (which has a limited amount of non-volatile memory), OSPi does not limit the number of stations — you can go up to a large number of stations, limited only by your SD card size. For instructions on how to connect OSPi to zone expansion boards, please check the online user manual.
Difference with OpenSprinkler
You may be trying to choose between OSPi and OpenSprinkler, and curious about their differences. Here is a detailed comparison. OSPi is based on Raspberry Pi (RPi). In order to use it, you must have an existing RPi and install the necessary software. There are three proof-of-concept demo programs as shown in the video above. Full-featured program is not available yet, but will become available soon. Note that we do not sell RPi directly — you need to purchase it separately (due to its popularity, it’s often out of stock). So OSPi is currently targeted towards users who have RPi, and have some prior experience with it.
OpenSprinkler, on the other hand, is based on the AVR microcontroller. It comes with a full-featured firmware and works out of the box. It does not require any additional hardware or controller board. It has a built-in LCD display and push-buttons. We also provide a DIY version of OpenSprinkler, allowing you to build the controller from scratch.
If you are interested in modifying the programs yourself, OSPi would give a lot more flexibility. Since OSPi is based on RPi, so you can use any of your favorite programming language, be it Python, PHP, C++, Java, etc.; OpenSprinkler, on the other hand, is based on Arduino, or you can directly use avr-gcc too.
The other features are pretty much similar: both have a 24VAC to 5VDC conversion circuit, RTC and backup battery, Ethernet jack, zone expansion board connection, and both use the same OpenSprinkler enclosure. To enable WiFi, on OSPi you can use a WiFi USB dongle, on OpenSprinkler, you can use a portable WiFi adapter / repeater….
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.
We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — How Intel Makes a Chip
Wearables — FOSSHAPE familiarity
Electronics — Stay disciplined with ERC
Biohacking — Itch Tracker for Apple Watch
No comments yet.
Sorry, the comment form is closed at this time.