
Defcon badge
LastZactionHero/defcon-silent-disco
RP2040-based DEF CON silent disco badge — KiCad project + tooling

RP2040-based DEF CON silent disco badge — KiCad project + tooling
Defcon badge is an open-source printed circuit board by LastZactionHero, from the LastZactionHero/defcon-silent-disco repository on GitHub. It is a 4-layer board of 88 × 54 mm with 82 parts on 85 nets, routed with 586 tracks and 125 vias.
It is built around the RP2040, TDA1308A and TM8211, with the SK9822, ME6211C33M5G-N and TP4056 among its other parts. Its parts include 31 capacitors, 23 resistors, 7 ICs, 5 diodes and 4 connectors. It belongs with the lEDs and displays boards and the RP2040 boards of this library.
A wearable silent disco. Every badge plays DJ mixes from its own memory card to your headphones, runs a light show that matches the music, and can sync to a friend's badge over infrared — same song, same moment, lights flashing together.

| Button | Does |
|---|---|
| CHANNEL | Next channel. Each channel is one DJ mix that loops forever. |
| VOL + / − | Volume, 8 steps. Hold to ramp. Bottom step is mute. |
| SYNC | Join a friend — see below. |
| CHANNEL, held 10 s | Reset the badge. |
Syncing: press SYNC — your music pauses and the badge listens for up to ~25 seconds. Touch your badge's jagged edge into your friend's (they interlock — that's what the teeth are for) and it will pick up their broadcast, jump to their channel at their exact spot, and both badges shimmer to confirm. Every badge announces itself over IR every ~10 seconds, so there's nothing to press on the other badge.
The light show is picked by the music: each track gets its own color theme and animation, and every ~10 seconds the badge plays a short glitter burst. Synced badges glitter at the same instant.
Red blinking LEDs are an error code — count which LEDs are lit (leftmost = 1):
| Code | Meaning | Try |
|---|---|---|
| 1 | No SD card | Reseat the card, power cycle |
| 2 | Card is empty | Put MP3s on it (see below) |
| 3 | Card unreadable | Re-format / re-copy the card |
| 4 | Playback keeps failing | Power cycle; check the battery |
Sounds distorted, buzzy, or "like a modem"? Swap the battery. A dying battery warps the audio and confuses the SD card before anything else — it looks like a bug, and it never is.
Just MP3 files in the root of the card — nothing else needed:
/ElAndEu_Duis.mp3 ← channel 1
/InYourEyes.mp3 ← channel 2
/Sepultura.mp3 ← channel 3 (alphabetical order = channel order)firmware/tools/prepare_card.sh
does this for you (and matches loudness across mixes).
Everything a badge runs is in this repo — firmware/ —
including the prebuilt firmware image
firmware-mp3-universal.uf2
(one image works on every badge in the run).
The easy way (macOS/Linux, needs Python 3 and
mpremote):
git clone https://github.com/LastZactionHero/defcon-silent-disco.git
cd defcon-silent-disco/firmware
tools/flash_badge.sh # follow the prompts: plug in, wait for DONEThe script does the whole thing — flashes the UF2, installs the badge software, verifies it, reboots into the disco.
By hand: hold BOOTSEL while plugging in USB → a drive called
RPI-RP2 appears → copy the .uf2 onto it → the badge reboots → then copy
the .py files from firmware/ onto it with mpremote. (macOS quirk: use
the script or dd — a plain Finder/cp copy of a UF2 can silently fail.
The drive disappearing is how you know the flash worked.)
Full details, including rebuilding the firmware from source:
firmware/README.md.
RP2040 · MicroPython + native MP3 decoder · 4× addressable RGB LEDs ·
IR sync · sawtooth interlocking edges · USB-C. The full technical story —
firmware architecture, the test suite, build-your-own instructions, and
the bring-up war stories — lives in firmware/README.md.
KiCad sources are in defcon_badge/, fab files in
defcon_badge/fab_rev2.zip.
Designed and built by Pikkolo Assembly.
Demo mixes are Creative Commons (attribution in CREDITS.txt on each
card). MP3 decoding by the Helix decoder via
picomp3lib.
MIT licensed — see LICENSE. Go make a dance floor.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 100n | Capacitor_SMD:C_0402_1005Metric | C9, C10, C11, C13, C15, C16, C17, C18, C20, C30 |
| 7 | 10k | Resistor_SMD:R_0402_1005Metric | R7, R8, R9, R15, R20, R21, R23 |
| 5 | 100k | Resistor_SMD:R_0402_1005Metric | R4, R5, R6, R18, R19 |
| 5 | 1u | Capacitor_SMD:C_0402_1005Metric | C1, C3, C4, C12, C14 |
| 4 | 10n | Capacitor_SMD:C_0402_1005Metric | C27, C28, C29, C32 |
| 4 | 10u | Capacitor_SMD:C_0603_1608Metric | C2, C22, C23, C31 |
| 4 | MountingHole | MountingHole:MountingHole_2.7mm_M2.5 | H1, H2, H3, H4 |
| 4 | SK9822 | badge:LED_SK9822_5050 | LED1, LED2, LED3, LED4 |
| 4 | TS-1187A | Button_Switch_SMD:SW_SPST_TL3342 | CHANNEL1, SYNC1, VOL-1, VOL+1 |
| 2 | 10u | Capacitor_SMD:C_0402_1005Metric | C21, C24 |
| 2 | 15p | Capacitor_SMD:C_0402_1005Metric | C5, C6 |
| 2 | 1k | Resistor_SMD:R_0402_1005Metric | R10, R12 |
| 2 | 220u | Capacitor_SMD:CP_Elec_6.3x5.4 | C25, C26 |
| 2 | 27 | Resistor_SMD:R_0402_1005Metric | R13, R14 |
| 2 | 47k | Resistor_SMD:R_0402_1005Metric | R16, R17 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 1 | 100nF | Capacitor_SMD:C_0402_1005Metric | C8 |
| 1 | 150 | Resistor_SMD:R_0402_1005Metric | R22 |
| 1 | 1u | Capacitor_SMD:C_0805_2012Metric | C7 |
| 1 | 2.4k | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | ABM8-272-T3 | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | BOOTSEL | TestPoint:TestPoint_Pad_D1.5mm | TP1 |
| 1 | DNF | Resistor_SMD:R_0402_1005Metric | R11 |
| 1 | GND | TestPoint:TestPoint_Pad_D1.5mm | TP2 |
| 1 | IR LED 940 nm | badge:LED_IR_1206_3216Metric | D1 |
| 1 | JST-PH 2P | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J2 |
| 1 | ME6211C33M5G | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | RP2040 | RP2040_minimal:RP2040-QFN-56 | U4 |
| 1 | SJ1-3523N | Connector_Audio:Jack_3.5mm_CUI_SJ1-3523N_Horizontal | J5 |
| 1 | SS-12D00 | Button_Switch_SMD:SW_SPDT_PCM12 | SW1 |
| 1 | TDA1308 | Package_SO:TSSOP-8_3x3mm_P0.65mm | U6 |
| 1 | TM8211 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | TP4056 | Package_SO:HSOP-8-1EP_3.9x4.9mm_P1.27mm_EP2.3x2.3mm_ThermalVias | U1 |
| 1 | TSOP4838 | OptoDevice:Vishay_MINICAST-3Pin | U7 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_GCT_USB4085 | J1 |
| 1 | WM2606220057 | Package_SO:SOIC-8_5.3x5.3mm_P1.27mm | U3 |
| 1 | microSD | Connector_Card:microSD_HC_Hirose_DM3D-SF | J3 |

LastZactionHero/defcon-silent-disco
RP2040-based DEF CON silent disco badge — KiCad project + tooling

jgrano/Nx-PCBA
Install all of these before opening the project:

RADARC/Scout-Radio
Si4732 and Raspberry Pi Pico Radio device for Scouts to build and use to gain badges

abzman/arduino-controlled-tv-tuner
controlling a salvaged fm1236 tv tuner

Fihdi/ATS-20-Eurorack
A clone of the ATS 20 from PU2CLR in Eurorack Format (3U height). The circuit contains jumpers to switch between standalone mode and Eurorack.


TENNLab-UTK/NWRIST
Code and KiCAD PCB design for the NWRIST: Neuromorphic Wearable for Real-Time Intelligent Sensing Technology paper


ayuusweetfish/Canta-Cart
Low-cost card-sized musical instrument with touch keys
It measures 88 × 54 mm and has 4 copper layers, 1.6 mm thick.
82 parts, built around the RP2040, TDA1308A, TM8211 and SK9822. 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 LastZactionHero/defcon-silent-disco repository on GitHub, at the commit this page was made from: the board is defcon_badge/defcon_badge.kicad_pcb and its schematic .review_backup_20260616/LEDs_IR.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask LastZactionHero before reusing the design.