Legacy OS (v2.0, 2.1, 2.2) Firmware Update Instructions Sudo avrdude -c arduino -p m1284p -P /dev/ttyUSB? -U flash:w:os_219.hex Linux: (below, replace ttyUSB? by the specific serial port number assigned by Linux) nf -c arduino -p m1284p -P /dev/tty.wchusbserial? -U flash:w:os_219.hex Mac: (below, replace wchusbserial? with the specific serial port name assigned by Mac) Windows: (below, replace COM? with the specific COM port name assigned by Windows)Īvrdude.exe -c arduino -p m1284p -P COM? -U flash:w:os_219.hex Then open a terminal, go to the folder that contains avrdude program (for Linux, the folder where you downloaded firmware to). the firmware file should be in the same folder that contains the avrdude program). hex file format, OS 2.3 only)to the folder where you have unzipped the avrdude program to (i.e. You can open a terminal and run ls /dev/ttyUSB* to find out.ĭownload the most recent OpenSprinkler firmware (in. Linux: it will show up as a device in /dev/ttyUSB? where ? is a number, typically 0 (e.g. (Update: on newer OS X, the device shows up as /dev/cu.? You can open a terminal and run In newer OSX systems, it may should up as /dev/cu.xxx You can open a terminal and run Mac: it will show up as a device in the form of /dev/tty.wchusbserial? where ? are numbers assigned by Mac (e.g. You can go to Windows's Device Manger to find out. Windows: it will show up as a COM? port where ? is a number assigned by Windows. Your computer will detect the serial port and create a serial device: Plug in your OpenSprinkler to your computer using the USB cable. Windows: generally no need to install driver, unless if you use Windows XP or 7, in which case, install the CH340 windows driver here. Linux: open a Terminal and run: sudo apt-get install avrdude Mac: there are a number of ways to install avrdude for Mac, such as using brew or ports. Windows: download avrdude_win and unzip it to a local folder Also, we recommend you to export your OpenSprinkler's current configurations to a file so you can import them afterwards.ĭownload the avrdude program corresponding to your operating system, and unzip it to a local directory: Prepare a regular-size A male to B male USB cable (most printers use this cable). If you've already done them during previous firmware updates, you can, you can go directly to step 5. Steps 1 through 4 only need to be done once. OpenSprinkler 2.3 Firmware Update Instructions Export Configurations) before proceeding with firmware update. Please ensure you back up your current configurations (e.g. This includes all settings, programs, and device password (which will be set back to the default: “opendoor”). You can sign up for the RSS feed on the GitHub update history page, in order to track the updates.Warning: firmware update will likely set OS back to factory defaults. Note that the software is now released in GitHub for the purpose of better version control. The program can be downloaded on the following page: If you are interested, feel free to try this program and let me know your comments. This way, you can either manually control the stations, or set a timer for it. Setting the duration to 0:0 means there is no time limit: once on, the station will only be turned off when you manually click on ‘Turn it Off’. You can set an individual time for each station, say 30 minutes for station 3, and 15 minutes for station 5. Meanwhile, the webpage will display the remaining watering time. Once a station is turned on, the program will keep track of the running time and stop that station when the duration time is reached. The duration is specified by the number of hours following by minutes (hh:mm). To make it a bit more useful, you can set a timer (i.e. Clicking a button will turn on the corresponding station, and clicking the same button again will turn it off. The top line shows the current time underneath it is the list of eight sprinkler stations. To start, take a look at the web interface of this program: I’ve written the svc_simple_web program exactly for this purpose. At times you may want a simple web-based interface to directly control each sprinkler valve, without having to set up a complex schedule.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |