Skip to the content
4 layers25.4 × 34.3 mmDriver v2, the printed circuit board in 3D

Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

Size
25.4 × 34.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
35
Nets
80
Pads
182
Tracks, vias
384, 49
Pours
10
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Aug 2020
Updated
30 Oct 2026

Overview

Driver v2 is an open-source printed circuit board by brainsmoke, from the brainsmoke/leddriver3d repository on GitHub. It is a 4-layer board of 25.4 × 34.3 mm with 35 parts on 80 nets, routed with 384 tracks and 49 vias.

It is built around the CP2104EK, ESP32-WROVER and AMS1117-3.3, with the AO3400 among its other parts. Its parts include 12 resistors, 9 capacitors, 4 ICs, 4 connectors and 2 transistors. It belongs with the lEDs and displays boards and the ESP32 and STM32 boards of this library.

Main components

4

README

README.md

LED Driver for 3D sculptures based on an ESP32 with PSRAM + an STM32F0XX

Design:

text
   programming &
  micropython REPL
         ||
     .--------.
     |  usb   |
     |   to   |  unified codebase       project specific firmware
     | serial |    /                            \
     '--------'   /                              \
         ||      /   standardized protocol        \
   .--------------.            |                  _____________.--
   |  ESP32-D0WD  |          (UART)              |             |-- multiple LED strands
   |   8M PSRAM   |-- 16bit/color LED frames --> |  STM32F0XX  |-- (temporal dithered)
   |  16M FLASH   |                              |_____________|--
   '--------------'                                            '--

ESP Code firmware/esp32/

  • Running micropython

  • 60 FPS 16bit/color (48bit) animation with some routines written in C for speed.

  • Animations use 3D-coordinates of the LEDs, as well as the direction they're pointing at

  • Gamma correction & support for multiple LED orderings.

  • Cached animation frames to prevent garbage collection hiccups

  • Web interface (HTTPS capable, but no automatic cert. updates)

STM32 Code firmware/stm32/

Protocol

Sending a frame: ( [16 bit brightness]* [ FF FF FF F0 ] )*

Brightness must be little endian integers in the (inclusive) range [0 .. 0xFF00]

[ FF FF FF F0 ] is an end of frame marker and allows the protocol to synchronize in the event of an uneven number of bytes being written to the serial port

The firmware is completely agnostic about the color ordering.

Some of the following firmwares allow for tuning of the pulse interval:

( [16 bit number]* [ FF FF FF F3 ] )*

The given number is the number of cycles outputting a byte should take. (Useful for increasing the FPS and thus improving temporal dithering.

dither16.bin

Read in 16bit/color data in, drive 8 ws2812 LED strips in parallel

strip4.bin

Read in 16bit/color data in, drive 4 ws2812 LED strips in parallel

strip5.bin

Read in 16bit/color data in, drive 5 ws2812 LED strips in parallel, Supports tuning the pulse interval.

relayball.bin

Read in 16bit/color data in, drive 4 circuit-routed ws2812 LED meshes. Small LED strands are connected through PADAUK based relay-chips (firmware/pdk/relay/) that use in-band messages to build up routing circuits.

uartball16.bin

Drives up-to 8 busses with PADAUK based LED drivers which read 38400 baud uart. firmware/pdk/softpwm/

dither8.bin

Older code using a different input protocol, reads 8bit/color data & transforms this to 16 bit colors after gamma correction

STM32 Tester code

jitter_timer.bin

Tester for PADAUK ws2812 relay chips. firmware/pdk/relay/

Tests for functionality and measures the clock speed deviation (for binning).

timing_experiment.bin

Dynamically adjust the T1H and T1L intervals from the ws2812 protocol to test its limits.

Parts

35
QtyValueFootprintReferences
710kesp32-wrover:R_0603_1608Metric_nolabelR2, R3, R4, R5, R6, R7, R11
3100nFesp32-wrover:C_0603_1608MetricC3, C5, C8
310uFesp32-wrover:C_0603_1608MetricC2, C4, C9
31uFesp32-wrover:C_0603_1608MetricC1, C6, C7
2470 Ohmesp32-wrover:R_0603_1608Metric_nolabelR10, R12
25.1kesp32-wrover:R_0603_1608Metric_nolabelR8, R9
2AO3400Package_TO_SOT_SMD:SOT-23Q1, Q2
2SW_SPSTButton_Switch_SMD:SW_SPST_B3U-1000PSW1, SW2
11kesp32-wrover:R_0603_1608Metric_nolabelR1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1CP2104Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU4
1Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1Conn_01x04_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1Conn_01x08_MaleConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1
1ESP32-WROVEResp32-wrover:XCVR_ESP32-WROVERU1
1STM32F030F4PxPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU2
1USB_C_Receptacle_USB2.0footprints:USB_C_Receptacle_HRO_TYPE-C-31-M-12J2

The 33 most common of 35 parts.

More from brainsmoke/leddriver3d

12
  • 2 layers60 × 50 mmDriver wide, the printed circuit board in 3D

    Driver wide

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    73 parts11
  • 4 layers25.4 × 34.3 mmDriver v3.2, the printed circuit board in 3D

    Driver v3.2

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    36 parts11
  • 4 layers25.4 × 34.3 mmDriver v3, the printed circuit board in 3D

    Driver v3

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    36 parts11
  • 2 layers36.8 × 64.5 mmRelay tester, the printed circuit board in 3D

    Relay tester

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    36 parts11
  • 4 layers25.4 × 30.4 mmDriver v4, the printed circuit board in 3D

    Driver v4

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    33 parts11
  • 4 layers25.4 × 34.3 mmDriver v2.1, the printed circuit board in 3D

    Driver v2.1

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    31 parts11
  • 4 layers25.4 × 34.3 mmDriver v3.1, the printed circuit board in 3D

    Driver v3.1

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    31 parts11
  • 4 layers33 × 38.4 mmDriver v1, the printed circuit board in 3D

    Driver v1

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    30 parts11
  • 2 layers82.8 × 70.7 mmDriver aluball v1, the printed circuit board in 3D

    Driver aluball v1

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    29 parts11
  • 2 layers48 × 50.1 mmDriver penta, the printed circuit board in 3D

    Driver penta

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    27 parts11
  • 4 layers25.4 × 27.7 mmDriver v4.2, the printed circuit board in 3D

    Driver v4.2

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    21 parts11
  • 2 layers47.5 × 20 mmDriver slim v1, the printed circuit board in 3D

    Driver slim v1

    brainsmoke/leddriver3d

    Renamed from esp32leddriver because it also contains code and PCBs for other MCUs

    17 parts11

Similar boards

  • 2 layers97.1 × 97.1 mmESP32 IMU Module V1.1, the printed circuit board in 3D

    ESP32 IMU Module V1.1

    shaun-lloyd/dev-ardupilot-obal

    ArduPi is an open hardware Raspberry Pi hat to run Ardupilot.

    87 parts2CC0-1.0
  • 2 layers139.9 × 85.8 mmPas hw, the printed circuit board in 3D

    Pas hw

    NGOQUOC98/ESP32_MODBUS_PCB_MASTER

    This project was in development phase - we will remove this remark after release

    198 parts1
  • 2 layers89.3 × 55 mmKh gift hw, the printed circuit board in 3D

    Kh gift hw

    phonght32/kh-gift-hw

    69 partsMIT
  • 2 layers128 × 77 mmScale, the printed circuit board in 3D

    Scale

    Jana-Marie/lab-balance

    https://twitter.com/_Jana_Marie/status/1270040286710968321

    59 parts34
  • 4 layers44.2 × 84.5 mmBolt, the printed circuit board in 3D

    Bolt

    tjclement/bolt

    Documentation for the Curious Bolt hardware hacking multi-tool

    78 parts16MIT
  • 2 layers100 × 100 mmLed controller v5, the printed circuit board in 3D

    Led controller v5

    jacob-jarick/esp-solar-contoller

    esp8266 and esp32 based solar controllers targetting fronius inverter users

    119 parts5GPL-3.0
  • 4 layers100 × 100 mmLabathome pcb, the printed circuit board in 3D

    Labathome pcb

    klaus-liebler/labathome

    Der kleine Bruder von lab@home. Ermöglicht das Experimentieren mit PT1...PTn-Gliedern, die intern als RC-Kombination (entkoppelt über Operationsverstärker) ausgeführt sind.

    292 parts5MIT

Questions

How big is the Driver v2 PCB?

It measures 25.4 × 34.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Driver v2 use?

35 parts, built around the CP2104EK, ESP32-WROVER, AMS1117-3.3 and AO3400. 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 Driver v2 KiCad files?

From the brainsmoke/leddriver3d repository on GitHub, at the commit this page was made from: the board is pcb/driver_v2/pcb.kicad_pcb and its schematic pcb/driver_aluball_v1/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Driver v2 design in my own project?

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