Skip to content

gtaubman/clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital LED Clock

Pixel Clock

This project contains KiCad board schematics, PCB layouts, and firmware for my digital clock.

The clock features buttons to set the time, a hold button to aid in syncing the clock to another time source, and a switch to toggle the right-most display between showing seconds and the current temperature as reported by the real-time clock.

Clock In Case Clock Inside

The clock is divided into two PCBs:

The LED Board

LED Board Populated

Schematic:

LED Board Schematic

PCB Layout:

LED Board PCB

PCB fabricated by OSH Park:

LED Board

This board contains:

  1. Three 2-digit 7-segment displays (Lite-On LTG-5612AG).
  2. A TLC5916 constant-current LED driver to drive the LEDs.
  3. A 0.1 uF decoupling capacitor for the TLC5916.
  4. A 1000 Ohm resistor to set the current allowed through the TLC5916.
  5. 6 power pins to drive the individual digits.
  6. 3 serial data pins to drive the TLC5916 (serial data, serial clock, latch).
  7. 2 pins for power and ground for the TLC5916.

The Clock Board

Clock Board Populated

Schematic:

Clock Board Schematic

PCB Layout:

Clock Board PCB

PCB fabricated by OSH Park:

Clock Board

The clock board is responsible for driving the entire clock logic, as well as interfacing with the real-time clock chip, and allowing user control over the clock functionality. It consists of:

  1. One Atmega 328pu running the show.
  2. One DS3231 real-time clock, communicating with the AVR over i2c.
  3. One 74HC595 shift register to control which digit is powered on.
  4. 6 transistors to power on digits.
  5. 6 1k, 2 4.7k, and 2 10k resistors.
  6. 4 push buttons for setting the time and temperature display modes.
  7. 3 decoupling capacitors.
  8. 2 10uF capacitors and a 7805 voltage regulator for supplying power.
  9. Pins to send power, data, and chip power to the LED board.
  10. An optional LED to indicate when the board is powered on.

About

Home made digital clock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published