![]() It is pre-flashed with a full-featured firmware and works out of the box. OpenSprinkler, on the other hand, is based on an AVR microcontroller. So OSPi is currently targeted towards users who have an RPi, and have prior experience with it. Note that we do not sell RPi directly - you need to purchase it separately (due to its popularity, it’s often out of stock). In addition, the full-featured Interval Program firmware that runs on standard OpenSprinklers has now been ported to OSPi, thanks to the generous contributions by Dan Kimberling. There are three proof-of-concept demo programs as shown in the video above. In order to use it, you must have an existing RPi and install the necessary software. You may be choosing between OSPi and OpenSprinkler, and curious about their differences. For instructions on how to connect OSPi to zone expansion boards, please check the online user manual. 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. 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. The RPi’s SD card will stick out of the case, but everything else (including the WiFi USB dongle) will be fully enclosed. 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. OSPi uses the same enclosure as OpenSprinkler. Connection from RPi to OSPi is done through a 3-pin cable (providing 5V to RPi) and a 8-pin cable (connecting GPIO pins and 3.3V power from RPi).Įnclosure. It can provide regulated 5V power to RPi with up to 800mA output current, which is sufficient to drive RPi with an USB WiFi dongle. 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 and ADC converter. 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, and PCF8591T A/D D/A converter. In other words, it is a circuit board that allows an RPi to directly interface with sprinkler valves. OSPi is designed as an extension board that makes use of RPi’s GPIO pins to directly control sprinkler valves, without an additional layer of microcontorller and Ethernet controller. There are good reasons to do so, for example, to enable logging, to customize the default Javascript files, and to allow more advanced features such as weather-based and learning-based control. ![]() The idea of OSPi first came when I noticed that many users were setting up RPi to work with OpenSprinkler. It is based on the design of OpenSprinkler, but its ‘brain’ is an RPi instead of an AVR microcontroller. OpenSprinkler Pi (OSPi) is an open-source sprinkler / irrigation extension board for Raspberry Pi (RPi).
0 Comments
Leave a Reply. |