Skip to the content
4 layers46 × 23 mmCountdown, the printed circuit board in 3D

A 46 × 23 mm, 4-layer keyring PCB that counts down the hours to 10 October 2026, midday on a red 4-digit 7-segment display.

Size
46 × 23 mm
Copper layers
4
Thickness
1.6 mm
Parts
24
Nets
36
Pads
97
Tracks, vias
280, 37
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Jul 2026
Updated
22 Jul 2026

Overview

Countdown is an open-source printed circuit board by tsmiltonAgents, from the tsmiltonAgents/20260721_countdown repository on GitHub. It is a 4-layer board of 46 × 23 mm with 24 parts on 36 nets, routed with 280 tracks and 37 vias.

It is built around the STM32L031G6U6, BS-08-B2AA001 and TS-1187A-B-A-B, with the XL-SA2401SRWC among its other parts. Its parts include 9 resistors, 8 capacitors, 1 IC, 1 connector and 1 switch. It belongs with the STM32 boards of this library.

Main components

4

README

README.md

T-MINUS — keyring countdown to 2026-10-10 12:00

A 46 × 23 mm, 4-layer keyring PCB that counts down the hours to 10 October 2026, midday on a red 4-digit 7-segment display. Powered by a CR2032, it keeps time for years in deep sleep; press the button and the hours remaining glow for 8 seconds. Under 100 hours to go it switches to minutes (decimal point lit as the marker). At T-0 it shows 0.0.0.0.

render

How it works

  • STM32L031G6U6 (QFN28) runs the show: RTC on a 32.768 kHz crystal, Stop-mode sleep at ~1 µA with full RAM retention.
  • XINGLIGHT XL-SA2401SRWC 0.2" 4-digit red display, common cathode, multiplexed directly from GPIO (segments through 330 Ω on PA0–PA7, digit cathodes on PB0/PB1/PA8/PA9). Red Vf ≈ 1.8 V runs straight off the coin cell — no boost, no driver IC.
  • Battery life: ~1 µA sleeping + ~10 mA for 8 s per press. At ten presses/day that's ≈ 2 years on one CR2032; the countdown itself survives until the cell is truly dead.
  • Programming: Tag-Connect TC2030-IDC-NL footprint (zero BOM cost). Flash with any SWD probe; the RTC is seeded from the firmware build timestamp, so make flash right after make and the clock is correct to seconds.
  • Front: display, button, segment resistors. Back: CR2032 holder, MCU, crystal, TC2030. Keyring hole (Ø4) at the left end, clear of everything.

Repo layout

PathWhat
hw/countdown/KiCad 10 project (schematic, PCB, DRC/ERC reports)
hw/lib/Custom symbols + footprints (display, holder, switch, hole)
hw/scripts/The full generation pipeline (see below)
fab/JLCPCB order files: gerbers.zip, bom.csv, cpl.csv
fw/Firmware (bare-metal C, no HAL; make && make flash)
docs/renders/Verification renders (incl. 3D-model views)
hw/mech/build123d part models (via earthtojake/text-to-cad CAD skill) → STEP
designlog.mdFull engineering narrative, decisions and reviews
prompts.mdPrompt log

Reproducing the board from scratch

Everything is generated — schematic, footprints, placement, routing, fab files — by scripts (KiCad 10 CLI + pcbnew Python + a custom A* router):

sh
python3 hw/scripts/gen_footprints.py     # custom footprints from datasheet dims
python3 hw/scripts/gen_sch_countdown.py  # schematic + intended netlist
# ERC + netlist verification, then:
./hw/scripts/route_own.sh                # place, fanout power, planes, route, DRC
./hw/scripts/render_views.sh             # eyeball it
# fab outputs:
<kicad-python> hw/scripts/export_fab.py hw/countdown/countdown.kicad_pcb fab/

Ordering (JLCPCB)

See fab/ORDERING.md for the click-by-click instructions, including the one thing you MUST eyeball in their UI: part rotations in the placement preview (especially U1) before paying.

Parts

24
QtyValueFootprintReferences
8330RR_0603_1608MetricR1, R2, R3, R4, R5, R6, R7, R8
3100nFC_0603_1608MetricC1, C2, C3
210uFC_0603_1608MetricC5, C6
215pFC_0603_1608MetricC7, C8
110kR_0603_1608MetricR9
11uFC_0603_1608MetricC4
132.768kHzCrystal_SMD_3215-2Pin_3.2x1.5mmY1
1BS-08-B2AA001BS-08-B2AA001BT1
1KeyringHoleKeyringHole_4mmH1
1STM32L031G6U6QFN-28_4x4mm_P0.5mmU1
1TC2030-SWDTag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ1
1TS-1187A-B-A-BSW_TS-1187ASW1
1XL-SA2401SRWCXL-SA2401SRWCDS1

Similar boards

  • 2 layers30 × 26 mmDbfob, the printed circuit board in 3D

    Dbfob

    mkovero/dbfob

    Dirt-cheap keyfob noise-level indicator

    24 parts
  • 4 layers100 × 50 mmChronolog, the printed circuit board in 3D

    Chronolog

    slemanz/chronolog

    STM32-based temperature data logger with RTC, NOR flash storage, LCD and Wi-Fi. Hardware and firmware.

    95 parts5
  • 4 layersEigentime32, the printed circuit board in 3D

    Eigentime32

    captainchapster/Eigentime32

    A self-contained pocket watch that keeps its own time for a decade. No GPS, one coin cell, one PCB.

    53 parts1
  • 4 layers50 × 50 mmBaroAxel Brain, the printed circuit board in 3D

    BaroAxel Brain

    mohamedyanis/BaroAxel-Brain

    STM32L0 MCU based PCB for Industrial Instrumentation Applications designed using KiCad.

    50 parts1BSD-3-Clause
  • 2 layersFerris, the printed circuit board in 3D

    Ferris

    rappet/ferris-badge

    Small badge running on a coin cell using a STM32L031G6U with embassy.

    23 parts1
  • 4 layers35.9 × 43.1 mmProx sensor, the printed circuit board in 3D

    Prox sensor

    cornway/vanity_mirror_pcb

    41 parts
  • 4 layers55 × 100 mmCANSAT M2-2026, the printed circuit board in 3D

    CANSAT M2-2026

    Engineer162/CANSAT-M2-2026

    This repository contains all the sources for a highly advanced CANSAT based on an STM32 MCU and featuring a rechargeable lithium polymer battery.

    160 parts
  • 2 layers36.2 × 63.1 mmPicoMemcard pico, the printed circuit board in 3D

    PicoMemcard pico

    dangiu/PicoMemcard

    Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico

    8 parts694GPL-3.0

Questions

How big is the Countdown PCB?

It measures 46 × 23 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Countdown use?

24 parts, built around the STM32L031G6U6, BS-08-B2AA001, TS-1187A-B-A-B and XL-SA2401SRWC. 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 Countdown KiCad files?

From the tsmiltonAgents/20260721_countdown repository on GitHub, at the commit this page was made from: the board is hw/countdown/countdown.kicad_pcb and its schematic hw/countdown/countdown.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Countdown design in my own project?

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