Setting up a Raspberry Pi to work with OpenSprinkler #piday #raspberrypi @Raspberry_Pi
While the above is the core example video from the original OpenSprinkler project to orient you, check out the tutorial below for Pi-specific instructions for getting your RasPi in the home automation gardening game, from Xperimentia, via the OpenSprinkler site Rayshobby.net:
After becoming somewhat familiar with Linux and trying out many of the Pi’s capabilities I thought the Pi might be useful for managing an automated irrigation system. The question was, how to interface the Pi to the irrigation system. Then through some googling I discovered OpenSprinkler.
OpenSprinkler is an Arduino based, open source, network connected irrigation controller with a web enabled user interface. One user (David B. Gustovson) wrote a couple of php scripts which can log the activity of OpenSprinkler — a very useful feature. However, the logging scripts need to be hosted on a separate computer that is running a web server and connected to the network. This is a perfect job for the Raspberry Pi. It’s small size, silent operation low power consumption, network interface, and low cost make it ideal for this purpose. In addition there are some files used in the OpenSprinkler web interface that need to to be loaded from a web server. The Pi can be that web server! This also allows OpenSprinkler’s web interface to work even if an internet connection is unavailable.
Following is a set of instructions based on the steps I used to get the Raspberry Pi and OpenSprinkler working together….
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.