Skip to the content
2 layers20 × 50 mmEsp32 rgb controller, the printed circuit board in 3D

Open esp32rgbcontroller.kicadpro in KiCad 7 or later. The symbol library, footprint library and library tables are bundled. The schematic and PCB are editable native KiCad files.

Size
20 × 50 mm
Copper layers
2
Thickness
0.8 mm
Parts
47
Nets
27
Pads
161
Tracks, vias
230, 69
Pours
11
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
13 Oct 2026
Updated
13 Oct 2026

Overview

Esp32 rgb controller is an open-source printed circuit board by theonlyakhil, from the theonlyakhil/ESP32_RGB_LED_CONTROLLER repository on GitHub. It is a 2-layer board of 20 × 50 mm with 47 parts on 27 nets, routed with 230 tracks and 69 vias.

It is built around the SN74AHCT1G125DBVR(UMW), USBLC6-2SC6 and RFANT3216120A1T. Its parts include 16 capacitors, 11 resistors, 4 ICs, 4 inductors and 2 connectors. It belongs with the lEDs and displays boards and the ESP32 and RISC-V boards of this library.

Main components

3

README

hardware/README.md

ESP32-C3 WS2812 controller - Revision A prototype

Open esp32_rgb_controller.kicad_pro in KiCad 7 or later. The symbol library, footprint library and library tables are bundled. The schematic and PCB are editable native KiCad files.

Implemented hardware

ItemDesign
MCUBare ESP32-C3FH4, QFN-32 plus exposed ground pad, 4 MB in-package flash
Wireless2.4 GHz Wi-Fi / BLE; Walsin RFANT3216120A1T ceramic chip antenna
ClockEpson 40 MHz crystal, CL = 10 pF; initial 15 pF load capacitors and 24 nH series inductor
Main supplyUSB-C 5 V; separate 5.1 kOhm CC1 and CC2 pull-downs; 1.5 A hold PTC fuse
RegulationAP7361C-33E-13, 3.3 V LDO; local decoupling and filtered RF supply
ProgrammingESP32-C3 native USB Serial/JTAG, GPIO18 = D-, GPIO19 = D+; USBLC6-2SC6 ESD array
Strip dataGPIO4, SN74AHCT1G125 TTL-compatible 3.3 V to 5 V buffer, 330 Ohm series resistor
Output socketCJT A2541HWR-3P, 3-position, 2.54 mm pitch, right-angle female, through-hole
ControlsSMD RESET and BOOT buttons, explicit GPIO2/GPIO8/GPIO9 boot pull-ups
Test LEDRed 0603 LED on GPIO3, active high, 1 kOhm series resistor
Board20 x 50 mm, two copper layers, 0.8 mm nominal FR-4, 1 oz copper
MechanicsRadius 2 mm board corners; four exact diameter 2.0 mm NPTH mounting holes
PlacementAll electronic parts on the top side; USB-C and output socket at opposite 20 mm edges
Passives27 component positions use 0402. Larger packages are used for bulk capacitors, fuse, LED, crystal, antenna, ICs and connectors
CopperGND pours on both layers, 5 V power polygons on both layers, 3.3 V and RF-supply polygons on top
RoutingHorizontal/vertical straight segments and 45-degree connections; no 90-degree trace corners

Strip connection and power budget

J2 pin numbering is given in the schematic, footprint and assembly placement file. The top silk reads 5V D G:

  1. +5 V
  2. DATA OUT
  3. GND

The connector is not keyed. Check the mating cable's pin order before plugging it in. This board drives 5 V WS2812-compatible strips, not analog RGB, 12 V or 24 V strips.

The design target is at most 1.0 A strip current, in addition to controller consumption. Use a suitable dedicated 5 V USB-C supply rated at least 1.5 A; a 2 A supply gives useful margin. This is a design target, not a measured load rating. Confirm fuse behavior and regulator temperature in the intended ambient temperature before continuous operation.

There is no USB PD negotiation or automatic CC-current sensing. Do not assume a computer's USB port can power a full strip. Start programming/testing with the strip disconnected. Firmware should enforce a brightness/current budget suitable for the actual source.

For a longer strip, use a separate regulated 5 V supply and power injection directly at the strip. Connect the controller's DATA and GND, and leave J2's +5 V pin disconnected to avoid feeding external power back into USB. Use the strip manufacturer's bulk-capacitor recommendation; the board's local 22 uF capacitor is not a substitute for bulk capacitance on a long strip.

Fabrication and assembly

  • Two layers; nominal board thickness 0.8 mm; 35 um / 1 oz copper.
  • Minimum track width: 0.10 mm. Most signal traces are 0.15 mm; a local RF-supply escape is 0.14 mm.
  • Minimum copper clearance: 0.10 mm. Copper-pour clearance is 0.127 mm.
  • Most vias: 0.60 mm copper diameter / 0.30 mm drill. Two local connections use 0.45 mm / 0.20 mm. Two vias use 0.59 mm / 0.30 mm for clearance.
  • The QFN has a nine-via exposed-pad ground pattern. Via-in-pad connections are present: use filled and copper-capped vias for reliable automated assembly, including affected small SMD pads. Have the fabricator review the supplied native board and drill files when quoting this process.
  • The bundled QFN footprint has 0.75 mm land lengths on pins 1 and 32 and a compact courtyard to accommodate the ground escape. Check the assembly house's QFN stencil/process requirements.
  • Exact 2.0 mm mounting holes were retained as requested; check the fit of the intended screws and enclosure.
  • The female connector housing projects past the board edge by approximately 7.1 mm. Reserve this space in the enclosure. The PCB itself remains 20 x 50 mm.
  • C14 is DNP initially. Its footprint is reserved for antenna matching experiments. It is excluded from the fitted SMD placement file; its pads are present in the PCB/stencil data.
  • The origin for manufacturing coordinates is the PCB's lower-left corner. CPL_SMD.csv uses X right, Y up, millimetres, and KiCad rotation conventions. Verify pin-1 orientation against the assembly service's library preview.

RF and clock validation

This is an unbuilt prototype, not a characterized RF product. The chip matching network starts with 1.5 pF / 2.7 nH / 1.5 pF. The antenna series inductor starts at 2.7 nH. These values must be tuned for this board, connector/cable arrangement and final enclosure.

A 6 x 6 mm antenna area excludes copper pours and vias on both layers. The antenna feed and its necessary pads remain in that area. The short RF transmission-line section targets 50 Ohms using nominal 0.80 mm grounded-coplanar trace width, 0.127 mm top-ground gap and the 0.8 mm stackup. Confirm this geometry with the chosen fabricator's dielectric data; it was not field-solver characterized.

The matching parts are 0402 to suit the requested package preference. Espressif's reference guidance prefers smaller RF-matching packages; the parasitics of this implementation must be included in tuning. Verify antenna S11, radiated performance, TX spectrum/EVM and Wi-Fi behavior. Check the RF ground return on the two-layer board. Crystal loading is also an initial estimate and should be checked for startup and frequency offset.

Bring-up

  1. Inspect QFN soldering, USB pins and regulator orientation. Check that 5 V and 3.3 V are not shorted to GND.
  2. Power without a strip. Confirm the regulated 3.3 V rail and reset/enable behavior; a current-limited 5 V bench supply is useful for the first test.
  3. Hold BOOT, tap RESET, then release BOOT to enter download mode. Use the native USB interface to load firmware built for ESP32-C3 with 4 MB flash.
  4. Toggle GPIO3 to test the red LED.
  5. Use GPIO4 and an appropriate WS2812/RMT driver to test one pixel, then increase the strip load gradually while measuring supply droop and temperature.
  6. Complete RF and clock tuning before committing to a production order.

Firmware is not included in this hardware deliverable.

Validation supplied

  • KiCad 7.0.11 native PCB DRC: zero violations, zero unconnected pads, zero footprint errors.
  • Geometric routing audit: all 230 track segments are straight horizontal/vertical or 45 degrees, with zero 90-degree trace corners.
  • Schematic netlist comparison: 47 physical component positions checked, zero pin/net mismatches against the final PCB assignments. Four nonphysical power flags are included.
  • Full schematic ERC was not available through the installed KiCad 7 CLI. Run ERC in the GUI before manufacture; a matching netlist and PCB DRC are not substitutes for all ERC checks.
  • The board has not been fabricated, powered, thermally tested or RF tested. Gerbers are supplied for prototype review and fabrication after the process checks above.

The LCSC BOM identifies each purchasable component and links to its distributor page. Availability and ordering minimums should be checked when placing an order.

Parts

47
QtyValueFootprintReferences
5100nRGB:C_0402_1005MetricC3, C4, C5, C7, C10
410kRGB:R_0402_1005MetricR5, R6, R7, R8
42mm NPTHRGB:MountingHole_2mmH1, H2, H3, H4
310u / 25VRGB:C_0603_1608MetricC1, C2, C8
21.5p RF initialRGB:C_0402_1005MetricC12, C13
215p / tuneRGB:C_0402_1005MetricC15, C16
21u / 25VRGB:C_0402_1005MetricC6, C9
222RRGB:R_0402_1005MetricR3, R4
25.1kRGB:R_0402_1005MetricR1, R2
11.5A hold / 16VRGB:Fuse_1812_4532MetricF1
11.5p / DNP tuneRGB:C_0402_1005MetricC14
1100kRGB:R_0402_1005MetricR9
11kRGB:R_0402_1005MetricR11
12.7nH / 800mARGB:L_0402_1005MetricL1
12.7nH ANT initialRGB:L_0402_1005MetricL3
12.7nH RF initialRGB:L_0402_1005MetricL2
122u / 25VRGB:C_0805_2012MetricC11
124nH XTALRGB:L_0402_1005MetricL4
1330RRGB:R_0402_1005MetricR10
140MHz / CL10p / 10ppmRGB:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1AP7361C-33E-13 / 1ARGB:SOT-223-3_TabPin2U2
1BOOT / GPIO9RGB:SW_Push_1P1T_XKB_TS-1187ASW2
1ESP32-C3FH4 / 4MBRGB:QFN-32-1EP_5x5mm_P0.5mm_EP3.7x3.7mmU1
1RED test / GPIO3RGB:LED_0603_1608MetricD1
1RESETRGB:SW_Push_1P1T_XKB_TS-1187ASW1
1RFANT3216120A1TRGB:RFANT3216120A1TAE1
1SN74AHCT1G125DBVRRGB:SOT-23-5U3
1USB-C / power + programmingRGB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1USBLC6-2SC6RGB:SOT-23-6U4
1WS2812 / 5V-DATA-GNDRGB:A2541HWR_3PJ2

Similar boards

  • 4 layers16.9 × 119.4 mmOrbit, the printed circuit board in 3D

    Orbit

    earthtojake/text-to-cad

    Design physical products with AI

    182 parts26kMIT
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 6 layers90 × 90 mmCodex micro wired revA route nognd, the printed circuit board in 3D

    Codex micro wired revA route nognd

    slopus/codex-keybored

    A 100% vibe-coded hardware build: Fusion 360, six-layer KiCad PCB, STM32 firmware, and live JLC factory handoff.

    97 parts10
  • 4 layers369.6 × 158.7 mmChunkyXiao, the printed circuit board in 3D

    ChunkyXiao

    freznel10/Zia

    Secret Project

    279 parts4
  • 4 layers210.9 × 127 mmDual panel, the printed circuit board in 3D

    Dual panel

    fchorney/krakenpad-poc

    proof of concept and research into making kraken pad

    174 parts1
  • 4 layers130 × 105 mmHomeDeck, the printed circuit board in 3D

    HomeDeck

    Kilan777/HomeDeck

    Jarvis HomeDeck: a Raspberry Pi CM4 carrier board and voice-assistant software for a 7-inch smart display (KiCad hardware, generated from Python, plus the Python/JS assistant)

    228 parts1
  • 2 layers89 × 55.5 mmMintypcb, the printed circuit board in 3D

    Mintypcb

    SophBG/pi-tin-mod

    Personal build of jackw01's Pi Tin (3D-printed clamshell version, KiCad 10). It adds 10 RGB LEDs under the buttons, a centred speaker, a USB-drive mode for the ROMs, and ESD protection on USB, and runs on an Orange Pi…

    158 parts1
  • 4 layers50 × 60 mmEPICS Connect4, the printed circuit board in 3D

    EPICS Connect4

    williamlin108/Klondike-Connect-4---2026

    Electronics Repo for Purdue EPICs Klondike Team, DL: William Lin

    84 parts1

Questions

How big is the Esp32 rgb controller PCB?

It measures 20 × 50 mm and has 2 copper layers, 0.8 mm thick.

What parts does the Esp32 rgb controller use?

47 parts, built around the SN74AHCT1G125DBVR(UMW), USBLC6-2SC6 and RFANT3216120A1T. 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 Esp32 rgb controller KiCad files?

From the theonlyakhil/ESP32_RGB_LED_CONTROLLER repository on GitHub, at the commit this page was made from: the board is hardware/esp32_rgb_controller.kicad_pcb and its schematic hardware/esp32_rgb_controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp32 rgb controller design in my own project?

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