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.

IMG_1153

IOT Digital Alarm Clock Breadboard

Hardware features:

  1. ESP8266 ESP-1 Wi-Fi web server
  2. ATMega328pu 8 Mhz Real-time processor
  3. DS1307 real time clock
  4. OLED display user interface (status and controls)
  5. 7-segment LED digital time display
  6. Piezo buzzer and flashing LED for alarm
  7. Photo-resistor to measure room light
  8. I2C bus for communication
  9. 3.3 volt for all components

Software features:

  1. Sync time from NTP at power up
  2. Web form to manually set time
  3. Web form to control alarm clock settings
  4. Star Wars Imperial March alarm sound
  5. ATMega328 handles analog and digital devices
ESP-1 uses I2C to control all components

ESP-1 uses I2C to control all components

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.

ATMega328 handles all analog and digital devices.

ATMega328 handles all analog and digital devices.

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.

Simple web for served by the ESP-1

Simple web for served by the ESP-1

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.