Ws28xx led driver
Knifa·ws28xx-led-driver·hardware/LedGateController.kicad_pcb
About the Ws28xx led driver PCB
Ws28xx led driver is an open source STM32 PCB design by Knifa, published on GitHub. It is a 2-layer board measuring 80 × 25 mm, with 66 components from 35 distinct parts.
Its main chip is the STM32F103C8Tx, from the STM32 family. Other key parts include the MT3608, DW01, XC6206P332MR and PI4ULS5V201. By type, the board carries 24 resistors, 19 capacitors, 6 transistors, 5 ICs, 5 connectors and 5 diodes.
It belongs with the displays & leds designs in this gallery.
From the project
A straightforward DIY WS28xx LED driver.
This is a straightforward DIY WS28xx LED driver. It's got these features:
- STM32F103C8T6 used as the microcontroller. - Intended to be powered by a single-cell Li-ion battery, with USB charging and cell protection. - 5V 1.5Aish step-up for LED power. - Single button for soft-power and settings. - 0805 SMD components or thereabouts.
- Firmware under MIT License. - Hardware under CC-BY-SA-4.0.

Main components on the Ws28xx led driver
Ws28xx led driver bill of materials (BOM)
66 components, 35 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F103C8Tx | LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | MT3608 | SOT-23-6 | U2 |
| 1 | DW01 | SOT-23-6 | U3 |
| 1 | XC6206P332MR | SOT-23 | U4 |
| 1 | PI4ULS5V201 | SOT-23-6 | U5 |
| 1 | FS8205A | TSSOP-8_4.4x3mm_P0.65mm | Q1 |
| 4 | AO3401A | SOT-23 | Q2, Q3, Q4, Q6 |
| 1 | AO3400A | SOT-23 | Q5 |
| 1 | SWD | PinHeader_1x05_P2.54mm_Vertical | J2 |
| 1 | LED_OUT | PinHeader_1x03_P2.54mm_Horizontal | J3 |
| 1 | USB_B_Micro | U254051T4BHJ25S2S | J4 |
| 1 | TP4056 | SOIC127P600X175-9N | J5 |
| 1 | -BATT | Battery Pad | J7 |
| 1 | BUTTON | TS-1009B-04326 | SW1 |
| 1 | SS22 | D_SMA_Handsoldering | D1 |
| 1 | PWR_LED | LED_0805_2012Metric | D2 |
| 2 | D_x2_KCom_AAK | SOT-23 | D3, D4 |
| 1 | CHARGE_LED | LED_0805_2012Metric | D5 |
| 1 | 22u | YT1040-220M | L1 |
| 9 | 100n | C_0805_2012Metric | C1, C3, C4, C5, C7, C12, C14, C16 +1 |
Show 15 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | 22u | C_0805_2012Metric | C2, C9 |
| 3 | 4u7 | C_0805_2012Metric | C6, C18, C19 |
| 1 | 10n | C_0805_2012Metric | C8 |
| 3 | 1u | C_0805_2012Metric | C10, C11, C15 |
| 1 | 470u | CP_Elec_10x7.7 | C13 |
| 4 | 100 | R_0805_2012Metric | R1, R2, R6, R17 |
| 1 | 15K | R_0805_2012Metric | R3 |
| 1 | 110K | R_0805_2012Metric | R4 |
| 3 | 1K | R_0805_2012Metric | R5, R13, R14 |
| 8 | 100K | R_0805_2012Metric | R7, R11, R12, R16, R18, R19, R20, R23 |
| 2 | 250 | R_0805_2012Metric | R8, R24 |
| 1 | 50K | R_0805_2012Metric | R9 |
| 1 | 150K | R_0805_2012Metric | R10 |
| 1 | 1K5 | R_0805_2012Metric | R15 |
| 2 | 1.5K | R_0805_2012Metric | R21, R22 |
Ws28xx led driver design files
The KiCad project lives in the Knifa/ws28xx-led-driver repository on GitHub; these links point at the commit this page was built from.
Ws28xx led driver: common questions
What microcontroller does the Ws28xx led driver use?
The Ws28xx led driver is built around the STM32F103C8Tx, from the STM32 family.
How big is the Ws28xx led driver PCB?
The Ws28xx led driver measures 80 × 25 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Ws28xx led driver?
66 components, from 35 distinct parts. The full bill of materials is listed on this page.
Where can I download the Ws28xx led driver design files?
From the Knifa/ws28xx-led-driver repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the Ws28xx led driver design in my own project?
The repository has no license, so all rights stay with Knifa. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Ws28xx led driver without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k