view README.txt @ 3:e75ecd162da3

Add watering logic ressurected from 2013. Handles basic "water all regions for X minutes in X minutes time" Tolerates power failures.
author Daniel O'Connor <darius@dons.net.au>
date Tue, 27 Jan 2015 23:40:01 +1030
parents 93d4ddff7dd0
children e591c74304a2
line wrap: on
line source

4 output relay board is connected to PB4:7.
1 wire bus is connected to PB0.
MaxStream ZigBee module is connected to USART0 (in transparent mode) PD0:1.
A DS1307 is connected via I2C to PC0:1

Relay board drives solenoids through a PTC and the voltage is monitored by a 910k/100k resistor divider with Zener diode protection to PA0.