This project is to build a "modern" landscape light timer from an ATX power supply.
The purpose/features that make this "better" than common setup using a wall timer are:
Easier ownership - user never has to change the timer to a new time between seasons.
Efficient - power for ESP8266 chip is less than that consumed by mechanical timer.
Cost effective - ATX power supplies are readily available, and effecient ones are far more inexpensive than professional 12v lighting equipment power supplies.
Unique - features ability to turn on/off from webpage (IOT friendly). you can even expose port 80 to internet to control from internet (how many times have you wanted to run your landscape lights from other location (cough, cough)? )
Fun - for those like me, ability to write code to solve a problem is fun.... (answering critics who say too complex).
Flexible - ESP Web IDE is still accessible when deployed, so new code can be added easily.
Software design:
The application is written to pull sunset info from wunderground for my location. It then determines how long until sunset, and sleeps. It then runs for predetermined number of hours, turns off, and repeats again the following day.
A webserver is also run on port 80 that allows review of system status, turning on the lights, etc.
The latest version of the software can be found at https://github.com/wga22/esp8266/blob/master/espurino/landscape.js
Hardware design:
Simple. The ESP8266 is running off of the 5V standby line (via buck converter down to 3.3). The "green" signal line, on the ATX, is pulled to ground via "D4" digital line on the ESP8266, across a 10k resistor to turn on the ATX supply.
Pardon the "in progress" look. Still doing testing.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This project is to build a "modern" landscape light timer from an ATX power supply.
The purpose/features that make this "better" than common setup using a wall timer are:
Software design:
The application is written to pull sunset info from wunderground for my location. It then determines how long until sunset, and sleeps. It then runs for predetermined number of hours, turns off, and repeats again the following day.
A webserver is also run on port 80 that allows review of system status, turning on the lights, etc.
The latest version of the software can be found at
https://github.com/wga22/esp8266/blob/master/espurino/landscape.js
Hardware design:
Simple. The ESP8266 is running off of the 5V standby line (via buck converter down to 3.3). The "green" signal line, on the ATX, is pulled to ground via "D4" digital line on the ESP8266, across a 10k resistor to turn on the ATX supply.
Pardon the "in progress" look. Still doing testing.