Feed on
Posts
Comments

osbo_header

OpenSprinkler Beagle (OSBo)

An Open-Source Sprinkler Extension Board for BeagleBone Black


Order

OpenSprinkler Beagle v1.1 is now available at Rayshobby Shop.


Updates

  • Please check the OSBo v1.1 User Manual for instructions.
  • OpenSprinkler new mobile app is now available on all platforms. Search ‘opensprinkler’ in iOS App Store, Android Play Store, or Windows Phone Store, then install the app.
  • OSBo software setup is easy: download the pre-configured SD card image for OSBo, burn it to a microSD card, pop it in to your BeagleBone Black, and you are ready to go! The microSD card image contains Dan’s interval_program, Samer’s mobile web app, and the Google Calendar-based scheduling program.
  • To receive updates, you can sign up to the Rayshobby RSS Feed, Google+, Twitter, or OpenSprinkler Email List, .

Overview

OpenSprinkler Beagle (OSBo) is an open-source sprinkler / irrigation extension board for the BeagleBone Black. It is based on the design of OpenSprinkler, but its ‘brain’ is a BeagleBone instead of an AVR microcontroller. OSBo makes use of BeagleBone’s GPIO pins to directly control sprinkler valves. By stacking a BeagleBone Black on top of OSBo, you instantly have a low-cost, web-connected sprinkler controller. OSBo is expandable — by linking OpenSprinkler Zone Expansion Boards, you can extend to an unlimited number of stations. You can also make use of the digital/analog pins of the BeagleBone Black to interface with external sensors and actuators.

Design

Circuit Design. The circuit of OSBo consists of a 24VAC to 5VDC switching converter, a shift register, triacs, DS1307 RTC, CR1220 backup battery, and zone expansion connector. In addition, it includes a rain sensor port, per-station bidirectional TVS (transient voltage suppressor), and a 5V mini-relay for general-purpose switching (such as switching garage doors etc. The mini-relay’s contact rating is 120VAC/2A).

OSBo makes use of four GPIO pins to send control signals to the shift register, two I2C pins (SDA, SCL) to interface with the RTC, and two additional pins to interface with rain sensor and the mini-relay. It can provide regulated 5V power to BeagleBone Black with up to 750mA output current, which is sufficient to drive the BeagleBone Black with a USB WiFi dongle. Connection from Beagle to OSBo is done through on-board 2×10 pin headers. The Beagle is directly plugged into the pin headers, and secured via three support pillars and screws.

osbo_1osbo_3

Zone Expansion. The OSBo board itself controls 8 stations. There is a built-in shift register connector which allows it to be linked to zone expansion boards to enable more stations. The number of stations has no software limit — you can go up to a large number of stations, limited only by your SD card size. For instructions on how to connect OSBo to zone expansion boards, please check the online user manual.

Pinouts. The BeagleBone Black has a large number of GPIO pins. They are useful for extending the functionality of OSBo. Because the BeagleBone Black is placed facing down, it’s not easy to directly access these pins. Fortunately we have mapped all available pins to the OSBo’s pinout area. Specifically, close to the top are the P8 pinouts, including all the 46 pins; and close to the bottom are the P9 pinouts. In order to use the pinouts, you need to solder the corresponding male pin headers to the board. Please check the user manual for details.
osbo_v10_diagram_interface


Difference with OpenSprinkler

You may be choosing between OSBo and OpenSprinkler, and curious about their differences. Here is a detailed comparison. OSBo is based on the BeagleBone Black. In order to use it, you must have an existing BeagleBone Black and install the necessary software. There are three proof-of-concept demo programs as shown in the video above. In addition, the full-featured Interval Program firmware that runs on standard OpenSprinklers is also available for OSBo, thanks to the generous contributions by Dan Kimberling.

Note that we do not sell BeagleBone Black directly — you need to purchase it separately. So OSBo is currently targeted towards users who have a BeagleBone Black, and have prior experience with it.

OpenSprinkler, on the other hand, is based on an AVR microcontroller. It is pre-flashed with a full-featured firmware and works out of the box. It does not require any additional board or software setup. 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, OSBo would give a lot more flexibility. In particular, the OSBo demo software is all written in Python, which is easy to learn. OpenSprinkler, on the other hand, is based on the Arduino programming language, or you can directly use avr-gcc to compile the program.

The other features are pretty much similar: both have a 24VAC to 5VDC conversion circuit, RTC and backup battery, Ethernet jack, and zone expansion connector. To enable WiFi, on OSBo you can use a WiFi USB dongle, on OpenSprinkler, you can use a portable WiFi adapter / repeater.


Online User Manual

Please check the Online User Manual for detailed instructions.

Download

OSBo is an open-source product. The design, including schematic, PCB, and parts list can be found in the download section. Content on this site is published under the Creative Commons Attribution-ShareAlike 3.0 license.

Buy OSBo from Rayshobby Shop.