

Digital clock
Digital RGB LED Clock with engraved acrylic display showing the time and day of the week. Based on Atmega328, addressable LEDs and real time clock (RTC).
- Size
- 220 × 70 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 111
- Nets
- 108
- Pads
- 414
- Tracks, vias
- 1,163, 142
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 25 Jul 2026
- Updated
- 25 Jul 2026
Overview
Digital clock is an open-source printed circuit board by deqnaleksandrov-dot, from the deqnaleksandrov-dot/RGB_LED_Clock repository on GitHub. It is a 2-layer board of 220 × 70 mm with 111 parts on 108 nets, routed with 1,163 tracks and 142 vias.
It is built around the ATMEGA328PB-AU, MCP7940N-I/P and WS2812B-4020. Its parts include 73 diodes, 18 capacitors, 4 switches, 3 resistors and 3 connectors. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.
Main components
3ATMEGA328PB-AU
TQFP-32(7x7)-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 27 2KB 32KB 8 Bit AVR Built-in FLASH Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Watchdog reset、External pin reset (NRST)、Built-in general-purpose timer、Programmable watchdog、Touch function TQFP-32(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)MCP7940N-I/P
DIP-8-40℃~+85℃ 1.2uA 1.2uA 1.8V~5.5V External I2C Temperature compensation、Backup power management and battery charging、InsideSRAM/NVRAM、Timestamp function、Programmable clock output、Alarm function、Power-off retention of registers、ESD/Overvoltage protection、Periodic interrupt output Yes DIP-8 Real Time Clocks ROHSMicrochip TechnologyReal Time ClocksWS2812B-4020
SMD,4x2mm-20℃~+70℃ 0.6mA 1.7mm 2mm 3.7V~5.3V 3.98mm 800Kbit/s B:465nm~475nm、R:620nm~625nm、G:515nm~525nm Built-in power-on reset circuit、Built-in power-on reset circuit、Integrated intelligent reverse connection protection function G:600mcd~1000mcd、B:200mcd~300mcd、R:300mcd~500mcd SMD,4x2mm RGB LEDs(Built-in IC) ROHSWorldsemiRGB LEDs(Built-In IC)
Parts
111| Qty | Value | Footprint | References |
|---|---|---|---|
| 73 | WS2812B-4020 | led4020:LED_WS2812B-4020 | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +57 |
| 13 | 100nF | Capacitor_SMD:C_0805_2012Metric | C3, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18 |
| 4 | MountingHole | MountingHole:MountingHole_4.3mm_M4 | H1, H2, H3, H4 |
| 4 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1, SW2, SW3, SW4 |
| 3 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3 |
| 2 | 8.2pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5, C6 |
| 1 | 10u | Capacitor_Tantalum_SMD:CP_EIA-3216-10_Kemet-I_Pad1.58x1.35mm_HandSolder | C4 |
| 1 | 16MHz | Crystal:Crystal_HC49-4H_Vertical | Y1 |
| 1 | 20pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1 |
| 1 | 20pF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 32768 | Crystal:Crystal_AT310_D3.0mm_L10.0mm_Horizontal | Y2 |
| 1 | ATmega328PB-A | Package_QFP:TQFP-32_7x7mm_P0.8mm | U2 |
| 1 | Battery_Cell | Battery:Battery_Panasonic_CR2032-HFN_Horizontal_CircularHoles | BT1 |
| 1 | LOGO | clock silkscreen:clock.demo | G*** |
| 1 | MCP7940N | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | SPI | Connector_Molex:Molex_KK-254_AE-6410-06A_1x06_P2.54mm_Vertical | J1 |
| 1 | power | Connector:JWT_A3963_1x02_P3.96mm_Vertical | J3 |
| 1 | ttl | Connector_Molex:Molex_KK-254_AE-6410-06A_1x06_P2.54mm_Vertical | J2 |
Similar boards
- 2 layers100 × 71.8 mm

- 2 layers127 × 114.3 mm

- 2 layers

Rtc
feichtinger/LEGACY-fingerprint-doorlock
A simple firmware and GUI for an electronic doorlock using a fingerprint sensor.
8 parts5GPL-3.0 - 4 layers324.3 × 185.6 mm

- 2 layers87 × 66 mm

- 2 layers113 × 48 mm

Omega3mod zoned
gerbaud-design/KiCAD-gerbaud-design
all the KiCAD files for gerbaud design products and libraries
120 parts - 2 layers100 × 50 mm

- 2 layers100 × 50 mm

Questions
How big is the Digital clock PCB?
It measures 220 × 70 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Digital clock use?
111 parts, built around the ATMEGA328PB-AU, MCP7940N-I/P and WS2812B-4020. 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 Digital clock KiCad files?
From the deqnaleksandrov-dot/RGB_LED_Clock repository on GitHub, at the commit this page was made from: the board is hardware/KiCad/digital clock.kicad_pcb and its schematic hardware/KiCad/digital clock.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Digital clock design in my own project?
Its repository states no licence, so its author keeps all rights: ask deqnaleksandrov-dot before reusing the design.