
Daylight Matchstick
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

PCB ping-pong medal: round ATtiny1616 board with an 8-LED ring animation, designed code-first (circuit-synth + headless pcbnew/Freerouting). The board is the medal.
Medalv2 is an open-source printed circuit board by VincentPeters, from the VincentPeters/pingpong-medal repository on GitHub, published under the MIT licence. It is a 2-layer board of 22.5 × 19 mm with 22 parts on 20 nets, routed with 107 tracks and 3 vias.
Its parts include 8 resistors, 8 diodes, 2 capacitors, 1 IC and 1 connector.
A wearable circuit board that lights up, and dares you to reflash it.
Reflash it · How it works · Make your own · Build journey
▶ Watch: all four running · animation demo · first bring-up
A round 45 mm ENIG PCB on a lanyard, built for the KdG Graduaat IoT ping-pong tournament. The board is the medal: an ATtiny1616 plays an 8-LED ring animation when you flip the switch, a CR2032 lives on the back, and reflashing the chip with your own animation is part of the prize.
| Front (gold ENIG, LED comet) | Back (CR2032, switch, rank box) |
|---|---|
![]() | ![]() |
The hardware was designed code-first: the schematic and netlist generated
from Python with circuit-synth, the board placed, routed, and silkscreened
headlessly through the KiCad pcbnew API plus Freerouting, and the animation
core developed test-first on the host. The build journey
walks through it; the design notes cover the rationale.

An ATtiny1616 sits at the center and direct-drives 8 LEDs in a ring, each
through its own 470 Ω resistor (PAx → R → LED → GND). A CR2032 powers it
through a slide switch; two capacitors decouple the rail. Three back pads
(J1: GND / VCC / UPDI) let you reflash it. That is the whole circuit, generated
and verified net-for-net against the netlist
(hardware/cs/medal-sch.pdf).
Reprogramming the medal is the point: it is a wearable dev board. The three pads at the bottom of the back are the programming header J1 (back view, lanyard hole up): GND · VCC · UPDI.
Take the CR2032 out while flashing. The programmer powers the board.
Either of:
BUILD_GUIDE.md.
On Windows, flash.ps1 compiles and uploads in one go:
firmware\flash.ps1 -Port COM7 -BurnFuses -Test # fresh chip: set fuses + run the LED self-test
firmware\flash.ps1 -Port COM7 -Rank 1 # medal firmware; rank = victory pulses (1-4)
firmware\flash.ps1 -Port COM7 -Programmer serialupdi -Rank 2 # USB-serial adapter instead of the UnoOn other platforms, call arduino-cli directly with --programmer jtag2updi
(or serialupdi). The commands are in firmware/README.md.
The firmware is split so the fun part is easy and safe to hack:
firmware/medal/config.h holds the knobs: RANK (victory pulses on
power-up), SHOW_MS (how long the show plays before the chip deep-sleeps),
and BLINK_TEST (wiring self-test mode).
firmware/medal/animations.cpp holds the animations. An animation is just
a function that fills 8 brightness bytes (0 to 255, one per LED) for a given
time t_ms. Edit spin_frame / pulse_frame, or add your own frame function
and call it from medal.ino. No Arduino knowledge needed here: it is pure C++
you can unit-test on your laptop.
sh firmware/test/run-tests.shReflash, flip the switch, admire. Keep only a few LEDs bright at once: the CR2032 sags if you light all 8 at full brightness, and the battery lasts much longer with comet or chase patterns. The medal animates for about 12 seconds after you slide the switch ON, then the MCU drops to power-down sleep (µA range). Cycle the switch to replay.
Order the boards from the gerbers and assembly files in
hardware/cs/medalv2/fab/. JLCPCB assembles the
top-side SMD parts; the battery holder, switch, and header are hand-soldered
(parts list in bom/bom.csv). This is what you are ordering:
| Front render | Back render |
|---|---|
![]() | ![]() |
Assemble and flash. Follow FINISHING.md,
or BUILD_GUIDE.md for the
Arduino-Uno-as-programmer jig.
| Hand-soldering the holders | Flashing via the Uno jig |
|---|---|
![]() | ![]() |
Hang it on a ribbon and lose gracefully at ping pong.
Per-medal cost lands around 5 to 7 EUR including the share of the PCB run.
| Path | What's inside |
|---|---|
firmware/medal/ | megaTinyCore sketch and the pure-C++ animation core |
firmware/test/ | host unit tests for the animation core (no hardware needed) |
firmware/flash.ps1 | compile and flash a medal (jtag2updi or SerialUPDI) |
firmware/jtag2updi/ | vendored jtag2updi (MIT): turns an Arduino Uno into a UPDI programmer |
hardware/cs/ | code-defined hardware: circuit-synth schematic, pcbnew layout and routing scripts, final board in medalv2/ |
hardware/cs/medalv2/fab/ | gerbers, drill, JLCPCB assembly BOM and CPL |
hardware/art/ | medal-face silkscreen SVG |
bom/ | parts list with LCSC numbers and per-medal cost |
docs/ | design and build documentation |
MIT, see LICENSE. The vendored firmware/jtag2updi/ is MIT by
Joao N. Rosa.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | LED_0805_2012Metric | LED_0805_2012Metric | D1, D2, D3, D4, D5, D6, D7, D8 |
| 8 | R_0805_2012Metric | R_0805_2012Metric | R1, R2, R3, R4, R5, R6, R7, R8 |
| 2 | C_0805_2012Metric | C_0805_2012Metric | C1, C2 |
| 1 | BatteryHolder_Keystone_1058_1x2032 | BatteryHolder_Keystone_1058_1x2032 | BT1 |
| 1 | PinHeader_1x03_P2.54mm_Vertical | PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | SOIC-20W_7.5x12.8mm_P1.27mm | SOIC-20W_7.5x12.8mm_P1.27mm | U1 |
| 1 | SW_SPDT_PCM12 | SW_SPDT_PCM12 | SW1 |

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

abhishek-kakkar/BeagleLogic
A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.

Chrismettal/flipper-zero-backpacks
Backpack-style addon boards for the Flipper Zero!



CRImier/MyKiCad
My KiCad boards. Can't be bothered uploading individually anymore, so here you go.
It measures 22.5 × 19 mm and has 2 copper layers, 1.6 mm thick.
22 parts. 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.
From the VincentPeters/pingpong-medal repository on GitHub, at the commit this page was made from: the board is hardware/cs/medalv2/medalv2.kicad_pcb and its schematic hardware/cs/medal/kdg_pingpong_medal.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).