Automatic timer for sprinkler

This ATtiny25-based automatic timer project is built to control a water sprinkler. The timeout delay is adjusted using a potentiometer, while the on/off operation of the timer is controlled through a tact switch. On the software side, upon power up, the timer flashes the status light to count out the delay in minutes. 10 flashes correlates to 10 minutes. The ADC reads the potentiometer just during the power up and calculates the delay for further use. So to change the delay, you first unplug the timer, set the delay, then plug it back in. This way it will hopefully prevent accidental
Read more