Skip to the content
4 layers88 × 54 mmDefcon badge, the printed circuit board in 3D

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

Size
88 × 54 mm
Copper layers
4
Thickness
1.6 mm
Parts
82
Nets
85
Pads
333
Tracks, vias
586, 125
Pours
4
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
14 Jun 2026
Updated
4 Aug 2026

Overview

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.

Main components

12

README

README.md

DEF CON Silent Disco Badge

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.

Front

How to use it

  1. Flip the power switch. Plug headphones into the top jack.
  2. It starts playing where it last left off.
ButtonDoes
CHANNELNext channel. Each channel is one DJ mix that loops forever.
VOL + / −Volume, 8 steps. Hold to ramp. Bottom step is mute.
SYNCJoin a friend — see below.
CHANNEL, held 10 sReset 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.

If something's wrong

Red blinking LEDs are an error code — count which LEDs are lit (leftmost = 1):

CodeMeaningTry
1No SD cardReseat the card, power cycle
2Card is emptyPut MP3s on it (see below)
3Card unreadableRe-format / re-copy the card
4Playback keeps failingPower 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.

The SD card

Just MP3 files in the root of the card — nothing else needed:

text
/ElAndEu_Duis.mp3      ← channel 1
/InYourEyes.mp3        ← channel 2
/Sepultura.mp3         ← channel 3   (alphabetical order = channel order)
  • Encode at 96 kbps CBR, 44.1 kHz stereo — firmware/tools/prepare_card.sh does this for you (and matches loudness across mixes).
  • The filename chooses the light show — rename a file, get new colors.
  • A 128 MB card holds about 2 h 54 m (~29 min × 6 channels).

Back

Coming soon

  • Plain MP3-player firmware — reflash the badge as a normal pocket music player (next/prev/pause instead of channels + sync). The code exists in this repo; a one-step installer is TODO.
  • A phone app that joins the disco by camera — the glitter bursts encode the channel and timecode, so a phone can watch any badge and start playing along. Groundwork is shipped; app is TODO.

Flashing / updating the firmware

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):

sh
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 DONE

The 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.

Under the hood

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.

Credits

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.

Parts

82
QtyValueFootprintReferences
10100nCapacitor_SMD:C_0402_1005MetricC9, C10, C11, C13, C15, C16, C17, C18, C20, C30
710kResistor_SMD:R_0402_1005MetricR7, R8, R9, R15, R20, R21, R23
5100kResistor_SMD:R_0402_1005MetricR4, R5, R6, R18, R19
51uCapacitor_SMD:C_0402_1005MetricC1, C3, C4, C12, C14
410nCapacitor_SMD:C_0402_1005MetricC27, C28, C29, C32
410uCapacitor_SMD:C_0603_1608MetricC2, C22, C23, C31
4MountingHoleMountingHole:MountingHole_2.7mm_M2.5H1, H2, H3, H4
4SK9822badge:LED_SK9822_5050LED1, LED2, LED3, LED4
4TS-1187AButton_Switch_SMD:SW_SPST_TL3342CHANNEL1, SYNC1, VOL-1, VOL+1
210uCapacitor_SMD:C_0402_1005MetricC21, C24
215pCapacitor_SMD:C_0402_1005MetricC5, C6
21kResistor_SMD:R_0402_1005MetricR10, R12
2220uCapacitor_SMD:CP_Elec_6.3x5.4C25, C26
227Resistor_SMD:R_0402_1005MetricR13, R14
247kResistor_SMD:R_0402_1005MetricR16, R17
25.1kResistor_SMD:R_0402_1005MetricR1, R2
1100nFCapacitor_SMD:C_0402_1005MetricC8
1150Resistor_SMD:R_0402_1005MetricR22
11uCapacitor_SMD:C_0805_2012MetricC7
12.4kResistor_SMD:R_0402_1005MetricR3
1ABM8-272-T3Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1BOOTSELTestPoint:TestPoint_Pad_D1.5mmTP1
1DNFResistor_SMD:R_0402_1005MetricR11
1GNDTestPoint:TestPoint_Pad_D1.5mmTP2
1IR LED 940 nmbadge:LED_IR_1206_3216MetricD1
1JST-PH 2PConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ2
1ME6211C33M5GPackage_TO_SOT_SMD:SOT-23-5U2
1RP2040RP2040_minimal:RP2040-QFN-56U4
1SJ1-3523NConnector_Audio:Jack_3.5mm_CUI_SJ1-3523N_HorizontalJ5
1SS-12D00Button_Switch_SMD:SW_SPDT_PCM12SW1
1TDA1308Package_SO:TSSOP-8_3x3mm_P0.65mmU6
1TM8211Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1TP4056Package_SO:HSOP-8-1EP_3.9x4.9mm_P1.27mm_EP2.3x2.3mm_ThermalViasU1
1TSOP4838OptoDevice:Vishay_MINICAST-3PinU7
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4085J1
1WM2606220057Package_SO:SOIC-8_5.3x5.3mm_P1.27mmU3
1microSDConnector_Card:microSD_HC_Hirose_DM3D-SFJ3

More from LastZactionHero/defcon-silent-disco

1
  • 4 layers88 × 54 mmDefcon badge, the printed circuit board in 3D

    Defcon badge

    LastZactionHero/defcon-silent-disco

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

    81 parts

Similar boards

  • 2 layers55 × 100 mmScoutAM, the printed circuit board in 3D

    ScoutAM

    RADARC/Scout-Radio

    Si4732 and Raspberry Pi Pico Radio device for Scouts to build and use to gain badges

    92 parts6GPL-3.0
  • 2 layers183.5 × 74.4 mmNano driven fm1236, the printed circuit board in 3D

    Nano driven fm1236

    abzman/arduino-controlled-tv-tuner

    controlling a salvaged fm1236 tv tuner

    70 parts5Unlicense
  • 2 layers122.1 × 128.5 mmATS-20, the printed circuit board in 3D

    ATS-20

    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.

    81 parts2
  • 2 layers167.6 × 106.8 mmGUSar, the printed circuit board in 3D

    GUSar

    tuutuum/guspnp

    My GUS PnP clone

    149 parts
  • 4 layers50 × 50 mmWatch wearable, the printed circuit board in 3D

    Watch wearable

    TENNLab-UTK/NWRIST

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

    79 parts
  • 2 layers150 × 50 mmEsp32-led smps, the printed circuit board in 3D

    Esp32-led smps

    lucysrausch/esp32-led-smps

    230V main LED smps. 2x30W Constant Current.

    179 parts30
  • 2 layers85.6 × 54 mmCanta, the printed circuit board in 3D

    Canta

    ayuusweetfish/Canta-Cart

    Low-cost card-sized musical instrument with touch keys

    43 parts16CERN-OHL-S-2.0

Questions

How big is the Defcon badge PCB?

It measures 88 × 54 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Defcon badge use?

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.

Where can I download the Defcon badge KiCad files?

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.

Can I use the Defcon badge design in my own project?

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