top of page

Alarm Clock

IMG_3955.jpg
This project involved assembling a digital alarm clock with a 4-digit RGB LED display that shows the time, date, weekday, and ambient temperature. The device features customizable RGB lighting (27 colors, 4 display modes), 3 independent alarms, and automatic brightness adjustment based on ambient light. All components were manually soldered onto a labeled PCB and housed in a compact enclosure powered via USB.

Components Used

  • Display: 4-digit 7-segment RGB LED (Common Anode)

  • Microcontroller: STC8G1K17-38I

  • Clock IC: DS1302

  • Temperature Sensor: Thermistor

  • Light Sensor: GL5539 Photoresistor

  • Alarm Output: Passive buzzer

  • Crystal Oscillator: 32.768 kHz

  • Buttons: 2x tactile push buttons (SW1, SW2) + caps

  • Capacitors: 8050 SMD capacitor

  • 1µF ceramic capacitors (x2)

  • 22pF ceramic capacitors (x2)

  • Resistors: 10kΩ metal film resistors (x3)

  • IC Sockets: DIP-8, DIP-16, SSOP-28

  • Battery: CR1220 with socket (for timekeeping memory)

  • Power Input: Micro USB (5V)

  • Enclosure: 165×50×21 mm plastic case

IMG_5131.JPG

My Role

  • Manually soldered all components onto the PCB using through-hole and SMD techniques

  • Calibrated the time and temperature settings using onboard buttons

  • Verified microcontroller installation and tested RGB display cycling

  • Assembled the housing, integrated USB power, and completed functional testing

IMG_3953.jpg
IMG_3954.jpg
bottom of page