

- OPENSPRINKLER PARTSLIST INSTALL
- OPENSPRINKLER PARTSLIST UPDATE
- OPENSPRINKLER PARTSLIST CODE
- OPENSPRINKLER PARTSLIST DOWNLOAD
- OPENSPRINKLER PARTSLIST WINDOWS
The way it works is that normally the shift register outputs low. The remaining step is to connect the station wires to the corresponding relay control pins. The only modification I needed to do is to replace the triacs (used to drive AC solenoids) by NPN transistors. Even if you connect the power supply in the wrong direction, it shouldn’t cause any damage because there is a protecting diode D1 that prevents reverse polarity. As long as you keep in mind the polarity, it should work right away. OpenSprinkler can run on 12V DC power supply without any modification. So before you go ahead and make changes, make sure to find out the type of your relay board. This means normally the relay control pin is pulled high when the control pin is set low by the microcontroller, the relay will be activated. This particular relay board I received is an active low type. It is designed to work directly with microcontroller pins. First of all, the relay board has built-in opto-couplers and flyback diodes. Since it may be useful for other folks, I am writing a post here to briefly describe the modifications. It turns out to be relatively easy to do. Recently I received a request to customize OpenSprinkler for a 12V DC external relay board.
OPENSPRINKLER PARTSLIST UPDATE
OPENSPRINKLER PARTSLIST CODE
The program will be compiled into the build-1284 subfolder under the firmware code folder, as a. If your mightcore version is not 2.0.5, modify the path in the make file accordingly.
OPENSPRINKLER PARTSLIST DOWNLOAD
OPENSPRINKLER PARTSLIST INSTALL
Follow Might圜ore instructions to install the atmega1284 core (basically, copy a link to the Additional Board Manager URLs, then install the board in Board Manager).Sketch->Include Libraries->Manage Libraries, search and install pubsubclient (2.8), EthernetENC(master branch), and SdFat (1.0.7) libraries.Run Arduino, and install the following libraries and atmega1284 core:.Download Arduino Software(we have only tested version 1.8.15, but more recent versions should also work).įirmware Compilation Instructions for OpenSprinkler 2.3 (ATmega1284p) Now you can upload the firmware using the OTA firmware update instructions.The makefile will compile the program into your system's temporary folder, as a bin file (e.g. Similarly, if you installed the additional libraries in a different path, modify the makefile accordingly. In case you installed esp8266 core into a different folder, or in case the library folder names don't match what's in the makefile, open make.lin32 and modify ESP_ROOT variable and/or library folder names accordingly. This makefile assumes the ESP8266 core and the additional libraries are in the path as described above. The easiest way to compile is to use the makefile provided in the firmware code folder:.For example, the capitalization of folder names may be different, and in Linux folder names are case sensitive.


Depending on whether you downloaded or git cloned them, you may have to change the folder names to match the directory names in the makefile below. Download and unzip or git clone these into ~/Arduino/libraries folder. Install necessary libraries, including SSD1306(4.2.1), RCSwitch (2.6.4), pubsubclient (2.8), and EthernetENC(master branch) (note that the latest firmware 2.1.9(9) no longer uses UIPEthernet, instead, it uses the newer EthernetENC library which has several major bug fixes).Specifically, in Linux, open terminal and run (the current firmware is compiled with ESP8266 core 2.7.4): Download or git clone OpenSprinkler Firmware Code.

Instructions are provided as is, we will not be able to help you with compilation issues, nor can we help you with modifying the code.įirmware Compilation Instructions for OpenSprinkler 3.x (ESP8266-based) Compiling the firmware code requires technical skills.
OPENSPRINKLER PARTSLIST WINDOWS
If you use Windows or Mac, we strongly recommend you to install VirtualBox so you can run Linux. NOTE: instructions are provided for Linux only. If your controller is OpenSprinkler Pi (OSPi), please follow the OSPi firmware instructions to compile and run the firmware code. The instructions on this page are for the Arduino-based OpenSprinkler (OS 2.3, 3.x) only. OpenSprinkler firmware is unified and can compiled under both Arduino environment and any Linux-based system.
