

Esp32 rgb controller
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
3SN74AHCT1G125DBVR(UMW)
SOT-23-5-40℃~+125℃ 1 1 10uA 12ns@5V,50pF 2V 3.8V、4.4V 4.5V~5.5V 440mV 74AHCT 800mV 8mA 8mA SOT-23-5 Logic Gates ROHSUMWLogic GatesUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)RFANT3216120A1T
12061.2mm 1.55mm 1.6mm 100MHz 2.45GHz 2dBi 3.2mm Ceramic Antenna 1206 Antennas ROHSWalsin TechnologyAntennas
README
hardware/README.mdESP32-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
| Item | Design |
|---|---|
| MCU | Bare ESP32-C3FH4, QFN-32 plus exposed ground pad, 4 MB in-package flash |
| Wireless | 2.4 GHz Wi-Fi / BLE; Walsin RFANT3216120A1T ceramic chip antenna |
| Clock | Epson 40 MHz crystal, CL = 10 pF; initial 15 pF load capacitors and 24 nH series inductor |
| Main supply | USB-C 5 V; separate 5.1 kOhm CC1 and CC2 pull-downs; 1.5 A hold PTC fuse |
| Regulation | AP7361C-33E-13, 3.3 V LDO; local decoupling and filtered RF supply |
| Programming | ESP32-C3 native USB Serial/JTAG, GPIO18 = D-, GPIO19 = D+; USBLC6-2SC6 ESD array |
| Strip data | GPIO4, SN74AHCT1G125 TTL-compatible 3.3 V to 5 V buffer, 330 Ohm series resistor |
| Output socket | CJT A2541HWR-3P, 3-position, 2.54 mm pitch, right-angle female, through-hole |
| Controls | SMD RESET and BOOT buttons, explicit GPIO2/GPIO8/GPIO9 boot pull-ups |
| Test LED | Red 0603 LED on GPIO3, active high, 1 kOhm series resistor |
| Board | 20 x 50 mm, two copper layers, 0.8 mm nominal FR-4, 1 oz copper |
| Mechanics | Radius 2 mm board corners; four exact diameter 2.0 mm NPTH mounting holes |
| Placement | All electronic parts on the top side; USB-C and output socket at opposite 20 mm edges |
| Passives | 27 component positions use 0402. Larger packages are used for bulk capacitors, fuse, LED, crystal, antenna, ICs and connectors |
| Copper | GND pours on both layers, 5 V power polygons on both layers, 3.3 V and RF-supply polygons on top |
| Routing | Horizontal/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:
- +5 V
- DATA OUT
- 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.csvuses 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
- Inspect QFN soldering, USB pins and regulator orientation. Check that 5 V and 3.3 V are not shorted to GND.
- 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.
- 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.
- Toggle GPIO3 to test the red LED.
- Use GPIO4 and an appropriate WS2812/RMT driver to test one pixel, then increase the strip load gradually while measuring supply droop and temperature.
- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 100n | RGB:C_0402_1005Metric | C3, C4, C5, C7, C10 |
| 4 | 10k | RGB:R_0402_1005Metric | R5, R6, R7, R8 |
| 4 | 2mm NPTH | RGB:MountingHole_2mm | H1, H2, H3, H4 |
| 3 | 10u / 25V | RGB:C_0603_1608Metric | C1, C2, C8 |
| 2 | 1.5p RF initial | RGB:C_0402_1005Metric | C12, C13 |
| 2 | 15p / tune | RGB:C_0402_1005Metric | C15, C16 |
| 2 | 1u / 25V | RGB:C_0402_1005Metric | C6, C9 |
| 2 | 22R | RGB:R_0402_1005Metric | R3, R4 |
| 2 | 5.1k | RGB:R_0402_1005Metric | R1, R2 |
| 1 | 1.5A hold / 16V | RGB:Fuse_1812_4532Metric | F1 |
| 1 | 1.5p / DNP tune | RGB:C_0402_1005Metric | C14 |
| 1 | 100k | RGB:R_0402_1005Metric | R9 |
| 1 | 1k | RGB:R_0402_1005Metric | R11 |
| 1 | 2.7nH / 800mA | RGB:L_0402_1005Metric | L1 |
| 1 | 2.7nH ANT initial | RGB:L_0402_1005Metric | L3 |
| 1 | 2.7nH RF initial | RGB:L_0402_1005Metric | L2 |
| 1 | 22u / 25V | RGB:C_0805_2012Metric | C11 |
| 1 | 24nH XTAL | RGB:L_0402_1005Metric | L4 |
| 1 | 330R | RGB:R_0402_1005Metric | R10 |
| 1 | 40MHz / CL10p / 10ppm | RGB:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | AP7361C-33E-13 / 1A | RGB:SOT-223-3_TabPin2 | U2 |
| 1 | BOOT / GPIO9 | RGB:SW_Push_1P1T_XKB_TS-1187A | SW2 |
| 1 | ESP32-C3FH4 / 4MB | RGB:QFN-32-1EP_5x5mm_P0.5mm_EP3.7x3.7mm | U1 |
| 1 | RED test / GPIO3 | RGB:LED_0603_1608Metric | D1 |
| 1 | RESET | RGB:SW_Push_1P1T_XKB_TS-1187A | SW1 |
| 1 | RFANT3216120A1T | RGB:RFANT3216120A1T | AE1 |
| 1 | SN74AHCT1G125DBVR | RGB:SOT-23-5 | U3 |
| 1 | USB-C / power + programming | RGB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | USBLC6-2SC6 | RGB:SOT-23-6 | U4 |
| 1 | WS2812 / 5V-DATA-GND | RGB:A2541HWR_3P | J2 |
Similar boards
- 4 layers16.9 × 119.4 mm

- 2 layers178 × 711 mm

- 6 layers90 × 90 mm

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 mm

- 4 layers210.9 × 127 mm

- 4 layers130 × 105 mm

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 mm

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 mm

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.