
Led bage sample
caesarakalaeii/rgb-badge
The badge to end all badges, cutomizable functions, crazy tight led matrix

The badge to end all badges, cutomizable functions, crazy tight led matrix
Led bage is an open-source printed circuit board by caesarakalaeii, from the caesarakalaeii/rgb-badge repository on GitHub, published under the AGPL-3.0 licence. It is a 6-layer board of 71.1 × 150.1 mm with 3,235 parts on 2,588 nets, routed with 12,970 tracks and 5,252 vias.
It is built around the 74AHCT1G125SE, SI7145DP-T1-GE3-HXY and XL-1010RGBC-WS2812B-DZ, with the CL21A106KAYNNNE, RCT02100KFLF and RCT0210KFLF among its other parts. Its parts include 651 capacitors, 10 resistors, 9 ICs and 2 connectors. It belongs with the lEDs and displays boards of this library.
A wearable RGB matrix badge featuring 2560 individually addressable LEDs on a 71 × 150 mm board with a 62.5 × 104 mm portrait display area.
This project implements an ultra-dense LED matrix badge designed for human viewing (not camera-optimized) with parallel data lanes to achieve smooth 60+ FPS refresh rates. The design uses a two-board architecture separating the dense LED matrix from controller/power electronics for improved manufacturability and maintainability.
| Parameter | Value |
|---|---|
| Display Area | 62.5 mm × 104 mm (portrait) |
| Resolution | 40 × 64 pixels (2560 total) |
| Board Size | 71 mm × 150 mm, 5 mm corner radius |
| Pixel Pitch | 1.5625 mm (X) × 1.625 mm (Y) |
| Target Refresh Rate | 60+ FPS |
| Power Source | USB-C PD Powerbank |
| Quantity | ~10 boards |
| PCB Tool | KiCad |
A quick browser-based mockup of the 40 × 64 LED grid lives in mockup/. It cycles through 11 test animations (rainbow, plasma, sparkle, scrolling text, rings, matrix rain, A* snake, thumbs-up, pride flag, a multi-scene cat, and a video-driven Bad Apple) so you can sanity-check what 2560 LEDs at this pitch can actually display before writing firmware.
Run from the repo root:
python3 -m http.server -d mockup 8000
# then open http://localhost:8000/Cycle with ← / → arrow keys or the on-screen buttons; space pauses.
nix develop provides KiCad (with import pcbnew working from plain Python), PlatformIO, ffmpeg and the linters. nix flake show lists the available commands.
Board layout changes are scripted in cad/ and checked end to end (outline, lanyard holes, power-entry wiring, silkscreen art, fab minimums, fab outputs, JLCPCB assembly files, DRC with schematic parity) by:
python3 cad/test_board.pyFab outputs (6-layer Gerbers + drill and their zip, BOM, centroid, and the JLCPCB BOM/CPL with LCSC parts and placement corrections, ADR 0004) are regenerated into cad/fab/ by:
python3 cad/export_fab.pyDesign decisions are recorded in docs/adr/.
cad/led_bage.*)
DA1..DH320)cad/art/front.png / back.png (1-bit exports of the artist's PSD layers, canvas = board outline) by cad/add_silkscreen_art.pyData netclass (ADR 0003)A 100-LED sample board (cad/led_bage_sample/) has been fabricated as a reference.
Rationale: Separating control from display allows safe iteration on USB/PD/MCU without risking the expensive, dense LED field.
Why this LED:
Electrical Characteristics:
Footprint Details:
Selection criteria:
USB-C PD Powerbank (25000mAh, 145W class)
↓ (negotiated at 9V baseline, 12V/15V/20V optional)
Buck Converter
↓ (5V rail for LEDs)
LED Matrix (capped brightness in firmware)
+
↓ (3.3V regulator)
ESP32-S3 + LogicPD Voltage Selection:
Rationale:
Mapping:
Refresh Math (per lane):
1 pixel = 24 bits × 1.2 µs ≈ 28.8 µs
320 pixels ≈ 9.22 ms
+ Reset time (>200 µs) ≈ 9.4–9.8 ms total
→ Max refresh ≈ 100+ FPS per laneActual target: 60 FPS with comfortable headroom
At level shifter output:
Optional at matrix connector:
Pads: 4× corner pads, 0.40mm × 0.40mm
Courtyard: Minimal (allow overlap for dense packing)
Soldermask: Conservative expansion per fab limits
Pitch: 1.5625mm (X) × 1.625mm (Y)Datasheet requirement: "Decoupling capacitance between each LED is essential"
Implemented:
Primary concern: Transients and current steps, not just average power
Design for:
Enforcement: Global brightness limiting in firmware to prevent exceeding powerbank capability
Recommendation: Order LEDs in moisture-barrier bags, open only when ready for assembly, and complete assembly quickly.
Matrix PCB Finish
cad/fab/)Controller/Power PCB
Firmware Architecture
Prototype & Test
| Component | Quantity | Unit Cost | Total |
|---|---|---|---|
| XL-1010RGBC-2812B LED | 2560 | €0.03 | €76.80 |
| ESP32-S3 Module | 1 | ~€5 | €5 |
| Buck Converter IC + passives | 1 | ~€2-5 | €3.50 |
| Level Shifters (8ch) | 1-2 | ~€1 | €2 |
| PCBs (Matrix + Controller) | 2 | ~€30-50 | €40 |
| Connectors, passives, misc | - | - | €10-20 |
| Total per badge (estimate) | ~€140-150 |
Note: Costs are rough estimates and will vary with supplier, quantity, and shipping.
Key Principles:
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSE file for details.
Project Status: Active Development Last Updated: 2026-10-17
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2560 | XL-1010RGBC-WS2812B | LED_SMD:LED_WS2812B-1010_PLCC4_1.0x1.0mm | DA1, DA10, DA11, DA100, DA101, DA102, DA103, DA104, DA105, DA106, DA107, DA108, DA109, DA110, DA111, DA112 +2544 |
| 632 | CL10B105KA8NNNC | Capacitor_SMD:C_0603_1608Metric | C1, C10, C11, C100, C101, C102, C103, C104, C105, C106, C107, C108, C109, C110, C111, C112 +616 |
| 10 | CSH0605-101M1CT | Capacitor_SMD:C_Elec_6.3x5.4 | C650, C651, C652, C653, C654, C655, C656, C657, C658, C659 |
| 8 | 0.1uF_0603_16V | Capacitor_SMD:C_0603_1608Metric | C26, C27, C29, C30, C31, C32, C33, C34 |
| 8 | 74AHCT1G125 | JLCPCB:SOT-23-5_L3.0-W1.7-P0.95-LS2.8-BL | U2, U3, U4, U5, U6, U7, U8, U9 |
| 8 | RCT02330RFLF | Resistor_SMD:R_0402_1005Metric | R1, R2, R5, R6, R7, R8, R9, R10 |
| 2 | Lanyard_Eyelet_5mm | H1, H2 | |
| 1 | CL21A106KAYNNNE | Capacitor_SMD:C_0805_2012Metric | C28 |
| 1 | Conn_01x08_Socket | Connector_Molex:Molex_CLIK-Mate_502443-0870_1x08-1MP_P2.00mm_Vertical | J1 |
| 1 | Conn_01x10_MountingPin | Connector_JST:JST_VH_B10PS-VH_1x10_P3.96mm_Horizontal | J2 |
| 1 | RCT02100KFLF | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | RCT0210KFLF | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | SI7145DP-T1-GE3 | footprints:SON8_SI7135DP-T1-GE3_VIS-L | U1 |
| 1 | SMBJ6.0CA | JLCPCB:D_SMB | TVS1 |

caesarakalaeii/rgb-badge
The badge to end all badges, cutomizable functions, crazy tight led matrix

thebenedict/seattletransit-hardware
Schematic and PCB for a circuit board map of Seattle area public transit.


Phil-CIA/Development-Station-Power-Supply
3 channel bench supply with current and voltage plotting


stanleyondrus/ILDAWaveX16
ILDAWaveX16 is an open-source, high-resolution, wireless laser DAC with SD-card playback, network control, and ILDA output.


develmusa/Thermomine
Thermomine is a 3D-printed naval mine that sits on the gravel of your tank. A sealed LED inside glows blue when the water is too cold, green when it's just right, and red when it's too warm.

It measures 71.1 × 150.1 mm and has 6 copper layers, 1.6 mm thick.
3,235 parts, built around the 74AHCT1G125SE, SI7145DP-T1-GE3-HXY, XL-1010RGBC-WS2812B-DZ and CL21A106KAYNNNE. 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 caesarakalaeii/rgb-badge repository on GitHub, at the commit this page was made from: the board is cad/led_bage.kicad_pcb and its schematic cad/led_bage.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the AGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).