

Countdown
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
4STM32L031G6U6
UFQFPN-28(4x4)-40℃~+85℃ 1.8V~3.6V 12bit 1KB 21 32 Bit 32KB 32MHz 8KB ARM Cortex-M0+ Built-in FLASH UFQFPN-28(4x4) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)BS-08-B2AA001
--25~85℃ Battery base CR2032 Phosphor bronze - ROHSMYOUNGButton And Strip Battery ConnectorTS-1187A-B-A-B
SMD-4P,5.1x5.1mm-30℃~+85℃ 1.5mm 1.6N 100,000 cycles 12V 5.1mm 5.1mm 50mA Gold No Round Button SPST Surface Mount,Vertical Without Bracket SMD-4P,5.1x5.1mm Tactile Switches ROHSXKB ConnectionTactile SwitchesXL-SA2401SRWC
SMDSMD LED Segment Displays ROHSXINGLIGHTLED Segment Displays
README
README.mdT-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.

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 flashright aftermakeand 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
| Path | What |
|---|---|
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.md | Full engineering narrative, decisions and reviews |
prompts.md | Prompt 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):
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 330R | R_0603_1608Metric | R1, R2, R3, R4, R5, R6, R7, R8 |
| 3 | 100nF | C_0603_1608Metric | C1, C2, C3 |
| 2 | 10uF | C_0603_1608Metric | C5, C6 |
| 2 | 15pF | C_0603_1608Metric | C7, C8 |
| 1 | 10k | R_0603_1608Metric | R9 |
| 1 | 1uF | C_0603_1608Metric | C4 |
| 1 | 32.768kHz | Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | BS-08-B2AA001 | BS-08-B2AA001 | BT1 |
| 1 | KeyringHole | KeyringHole_4mm | H1 |
| 1 | STM32L031G6U6 | QFN-28_4x4mm_P0.5mm | U1 |
| 1 | TC2030-SWD | Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_Vertical | J1 |
| 1 | TS-1187A-B-A-B | SW_TS-1187A | SW1 |
| 1 | XL-SA2401SRWC | XL-SA2401SRWC | DS1 |
Similar boards
- 2 layers30 × 26 mm

- 4 layers100 × 50 mm

Chronolog
slemanz/chronolog
STM32-based temperature data logger with RTC, NOR flash storage, LCD and Wi-Fi. Hardware and firmware.
95 parts5 - 4 layers

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 mm

BaroAxel Brain
mohamedyanis/BaroAxel-Brain
STM32L0 MCU based PCB for Industrial Instrumentation Applications designed using KiCad.
50 parts1BSD-3-Clause - 2 layers

Ferris
rappet/ferris-badge
Small badge running on a coin cell using a STM32L031G6U with embassy.
23 parts1 - 4 layers35.9 × 43.1 mm

- 4 layers55 × 100 mm

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 mm

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.