I’ve started work on a new version of my alarm clock. I wanted to add a couple of improvements to the first version which was based on an ATMega328pu processor and NRF24 radio. This version would use an ESP-1 for both communication and standalone configuration. This became the first version of my DIY clock projects. Later versions are based on Raspberry Pis.
- ESP8266 ESP-1 Wi-Fi web server
- ATMega328pu 8 Mhz Real-time processor
- DS1307 real time clock
- OLED display user interface (status and controls)
- 7-segment LED digital time display
- Piezo buzzer and flashing LED for alarm
- Photo-resistor to measure room light
- I2C bus for communication
- 3.3 volt for all components
- Sync time from NTP at power up
- Web form to manually set time
- Web form to control alarm clock settings
- Star Wars Imperial March alarm sound
- ATMega328 handles analog and digital devices
The OLED can be hidden and only needed at startup to determine the status of the system and to show the IP address of the device.
A simple web form is used to (a) manually set date and time; (b) set the alarm time; (c) enable the alarm clock and (d) sound a system alarm.
The video below demonstrates the basic features using the breadboard design.
The next step is to complete the software development and move everything to a protoboard and antique box.