Skip to the content
2 layers123.8 × 45.2 mmLed board, the printed circuit board in 3D

A 6-digit 7-segment clock (HH:MM:SS) built around an ATmega328P, an external RTC, and a constant-current LED driver — split across two custom PCBs I designed in KiCad.

Size
123.8 × 45.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
21
Pads
138
Tracks, vias
372, 71
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
29 Jul 2026
Updated
29 Jul 2026

Overview

Led board is an open-source printed circuit board by chrisgian05, from the chrisgian05/Digital_LED_clock repository on GitHub. It is a 2-layer board of 123.8 × 45.2 mm with 11 parts on 21 nets, routed with 372 tracks and 71 vias.

It is built around the TLC5916IN and DA56-11CGKWA. Its parts include 4 ICs, 3 connectors, 1 capacitor and 1 resistor.

Main components

2

README

README.md

Digital LED Clock

A 6-digit 7-segment clock (HH:MM:SS) built around an ATmega328P, an external RTC, and a constant-current LED driver — split across two custom PCBs I designed in KiCad. This was mostly an excuse to actually use everything I've learned so far about digital electronics and embedded C in one project I could see and touch, instead of another breadboard that gets torn down at the end of the semester.

What it does

  • Shows time as HH:MM:SS across 6 seven-segment digits
  • Keeps time with a DS3231 RTC (accurate even when the board is powered off, thanks to a coin cell)
  • 4 buttons: set hour, set minute, reset seconds, and toggle to show the DS3231's built-in temperature reading instead of the time
  • Multiplexed display — only one digit is physically powered at a time, cycled fast enough (~166Hz) that it looks fully lit

Hardware

Two boards, connected by a short ribbon cable:

  • clock_board — the "brains." ATmega328P, DS3231 RTC, a 74HC595 shift register + 6 transistors for digit selection, an ISP header for programming, and the 4 push buttons.
  • led_board — the "face." A TLC5916 constant-current LED driver feeding three 2-digit common-anode 7-segment modules (6 digits total), plus the transistor-switched power lines coming in from the clock board.

Full schematics and PCB layouts are in hardware/, one subfolder per board. Both were designed from scratch in KiCad — no dev-board shields, no premade modules other than the RTC/driver ICs themselves.

Firmware

Bare-metal AVR C — no Arduino core, straight avr-libc and direct register access. I wanted to actually deal with I2C, timers, and interrupts myself instead of hiding behind Wire.h and digitalWrite.

  • twi.c — hardware I2C driver for talking to the DS3231
  • ds3231.c — RTC register access (BCD conversion, get/set time, temperature)
  • display.c — 7-segment font table + the Timer1 interrupt that handles digit multiplexing (bit-banging both the 74HC595 and TLC5916 shift chains)
  • buttons.c — debounced button reads with auto-repeat on hold
  • main.c — main loop tying it all together

All of it lives in firmware/, buildable with either the included Makefile or platformio.ini.

Status

Schematics and PCBs are designed; firmware is written and reviewed but not yet validated on the assembled board (still waiting on boards/soldering as of writing this). A couple of polarity assumptions (digit-select active-high/low, segment driver active-high/low) are flagged with #defines in firmware/src/config.h specifically because they're easier to confirm with a multimeter on the real board than to guess from a schematic.

Parts

11
QtyValueFootprintReferences
3DA56-11CGKWADisplay_7Segment:DA56-11CGKWAU2, U3, U5
2MountingHoleMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2
10.1uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
11kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
1DATA_INConnector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalP1
1DIGIT_POWERConnector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalP2
1LEDB_POWERConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalP3
1TLC5916Package_SO:SO-20-1EP_7.52x12.825mm_P1.27mm_EP6.045x12.09mm_Mask3.56x4.47mm_ThermalViasU1

More from chrisgian05/Digital_LED_clock

1
  • 2 layers123.8 × 74.3 mmClock board, the printed circuit board in 3D

    Clock board

    chrisgian05/Digital_LED_clock

    A 6-digit 7-segment clock (HH:MM:SS) built around an ATmega328P, an external RTC, and a constant-current LED driver — split across two custom PCBs I designed in KiCad.

    43 parts

Similar boards

  • 2 layers320 × 81.3 mmDisplay and controls board, the printed circuit board in 3D

    Display and controls board

    411568/Atmega8_FM_radio

    Simple FM radio based on Atmega8 and TEA5767 module

    103 parts3MIT
  • 2 layers62 × 92 mmLedhexdisp, the printed circuit board in 3D

    Ledhexdisp

    anachrocomputer/LedHex

    Programs and CAD files for the LED hex display PCB.

    39 partsGPL-3.0
  • 4 layers100 × 100 mmPdb, the printed circuit board in 3D

    Pdb

    javierveras/projectav-telemetry-pdb-2026

    Our power distribution and telemetry system's hardware, firmware, and technical documentation.

    104 parts
  • 2 layers150 × 100 mmPcb big clock, the printed circuit board in 3D

    Pcb big clock

    kuon/pcb-big-clock

    Big clock PCB

    47 parts
  • 2 layers160 × 149 mmButton vu, the printed circuit board in 3D

    Button vu

    maxsterl666/MLSMK1

    Moonlit Surface MK1

    76 parts
  • 2 layers133.3 × 39 mmNumitron clock, the printed circuit board in 3D

    Numitron clock

    mtlevine0/numitron-clock

    IV-9 & ESP32 based clock firmware and EDA

    64 parts
  • 2 layers81.3 × 48.3 mmSw63 mk4 displaytestboard, the printed circuit board in 3D

    Sw63 mk4 displaytestboard

    xx0x/sw63

    Sci-fi inspired electronic watch. MK4 currently in the development (out in 2026).

    51 parts2MIT
  • 2 layers88.9 × 92.5 mmAntenna board, the printed circuit board in 3D

    Antenna board

    Olin-Rocketry/sensing

    Sensing hardware and software

    31 parts

Questions

How big is the Led board PCB?

It measures 123.8 × 45.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Led board use?

11 parts, built around the TLC5916IN and DA56-11CGKWA. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Led board KiCad files?

From the chrisgian05/Digital_LED_clock repository on GitHub, at the commit this page was made from: the board is hardware/led_board/led_board.kicad_pcb and its schematic hardware/clock_board/clock_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Led board design in my own project?

Its repository states no licence, so its author keeps all rights: ask chrisgian05 before reusing the design.