OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) What is the status of zone/programming in OSPI comparable to the Arduino version Reply To: What is the status of zone/programming in OSPI comparable to the Arduino version

#35150

Ray
Keymaster

I’ve recently started working on a common source for both the microcontroller and Linux-based (i.e. Pi and Beagle) OpenSprinklers. This is inspired by Rich Zimmerman’s sprinklers_pi program, which can be cross-compiled between AVR and RPi. The code is written in C/C++, and can compile in both avr-gcc and the standard gcc. In Linux it uses the standard socket programming to handle web requests. So in a sense it can run on any Linux system (other than the GPIO stuff which doesn’t exist in standard Linux).

Note that this will be a depature from Dan’s Python-based program. On the plus side, the common source will allow Arduino, Pi, and Beagle to run exactly the same code; on the down side, it’s less easy to extend and does not have the nice plug-in architecture that Dan and other users developed. I will try to make this available as soon as I can.