ESP-32-RELAY-CONTROLLER
pasachan·ESP-32-RELAY-CONTROLLER·hardware/kicad/esp32-relay-controller.kicad_pcb
About the ESP-32-RELAY-CONTROLLER PCB
ESP-32-RELAY-CONTROLLER is an open source ESP32 PCB design by pasachan, published on GitHub under the CERN-OHL-P-2.0 license. It is a 2-layer board measuring 124.8 × 68 mm, with 97 components from 48 distinct parts.
Its main chip is the ESP32-WROOM-32D-N16, from the ESP32 family. Other key parts include the LMR51430XDDCR, USBLC6-2SC6, CH340C, ULN2803A and MAX3485AEASA+T. By type, the board carries 23 capacitors, 23 resistors, 12 connectors, 12 diodes, 8 relays and 7 ICs.
It belongs with the iot & wireless designs in this gallery.
From the project
An 8-channel relay controller with Wi-Fi, an RS-485 field bus, and a 12 V power rail for downstream nodes. Designed as the master board for a small home-automation network: this board switches loads directly, talks to the outside world over Wi-Fi, and powers and polls a chain of low-cost slave boards (ATtiny / STM32 class) over RS-485.
An 8-channel relay controller with Wi-Fi, an RS-485 field bus, and a 12 V power rail for downstream nodes. Designed as the master board for a small home-automation network: this board switches loads directly, talks to the outside world over Wi-Fi, and powers and polls a chain of low-cost slave boards (ATtiny / STM32 class) over RS-485.
Open hardware. KiCad 10 source, fabrication outputs, BOMs with LCSC part numbers, and a pick-and-place file are all in this repository. Rev 1 has been manufactured.

Main components on the ESP-32-RELAY-CONTROLLER
ESP-32-RELAY-CONTROLLER bill of materials (BOM)
97 components, 48 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ESP32-WROOM-32D-N16 ESP32-WROOM-32D Espressif | ESP32-WROOM-32D | U1 |
| 2 | LMR51430XDDCR LMR51430 Texas Instruments | SOT-23-6 | U2, U3 |
| 1 | USBLC6-2SC6 STMicroelectronics | SOT-23-6 | U4 |
| 1 | CH340C WCH | SOIC-16_3.9x9.9mm_P1.27mm | U6 |
| 1 | ULN2803A UMW | SOIC-18W_7.5x11.6mm_P1.27mm | U7 |
| 1 | MAX3485AEASA+T Analog Devices / Maxim | SOIC-8_3.9x4.9mm_P1.27mm | U9 |
| 1 | IRF4905PBF IRF4905 Infineon | TO-220-3_Vertical | Q1 |
| 3 | SS8050(RANGE:200-350) SS8050 Changjiang Microelectronics | SOT-23 | Q2, Q3, Q5 |
| 1 | MX126-5.0-02P-GN01-Cu-S-A Power Input +12V MAX / MaiXu | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J1 |
| 8 | MX126-5.0-03P-GN01-Cu-S-A Screw_Terminal_01x03 MAX / MaiXu | TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mm | J2, J3, J4, J6, J8, J9, J10, J11 |
| 1 | USB4105-GF-A-120 USB_C_Receptacle_USB2.0_16P GCT | USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J5 |
| 1 | MX126-5.0-02P-GN01-Cu-S-A S1 MAX / MaiXu | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J7 |
| 1 | MX126-5.0-04P-GN01-Cu-S-A Screw_Terminal_01x04 MAX / MaiXu | TerminalBlock_MaiXu_MX126-5.0-04P_1x04_P5.00mm | J12 |
| 1 | TMB12A05 Huaneng | Buzzer_12x9.5RM7.6 | Buzzer1 |
| 1 | PZ254V-11-02P Jumper_2_Open XFCN | PinHeader_1x02_P2.54mm_Vertical | JP1 |
| 8 | SRD-S-105D SANYOU | Relay_SPDT_SANYOU_SRD_Series_Form_C | K2, K3, K4, K5, K6, K7, K8, K9 |
| 1 | TS-1102-4316 RESET SOFNG | SW_PUSH_6mm | SW1 |
| 1 | TS-1102-4316 BOOT SOFNG | SW_PUSH_6mm | SW2 |
| 1 | TS-1102-4316 WPS SOFNG | SW_PUSH_6mm | SW3 |
| 2 | 1N4148WT-7 Diodes Incorporated | D_SOD-523 | D1, D13 |
Show 28 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | SMBJ18CA RUILON | D_SMB | D2 |
| 2 | CUS10S30 DOWO | D_SOD-323 | D3, D4 |
| 1 | BZX84-C16,235 BZX84-C16 Nexperia | SOT-23 | D5 |
| 1 | CDSOT23-SM712 Bourns | SOT-23 | D6 |
| 2 | CT-0201URC-P4 BOOT LED CHONGTIAN | LED_0201_0603Metric | D7, D11 |
| 1 | PESD3V3S1UB TECH PUBLIC | D_SOD-523 | D8 |
| 1 | CT-0201URC-P4 5V LED CHONGTIAN | LED_0201_0603Metric | D9 |
| 1 | WS2812B-B/T WS2812B Worldsemi | LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D15 |
| 1 | APH0630T6R8M 6.8 uh APV | L_Changjiang_FXL0630 | L1 |
| 1 | FXL0630-5R6-M 5.6uh Changjiang Microelectronics | L_Changjiang_FXL0630 | L2 |
| 1 | ZEMS0420-220M 10uH 4.5A ZE | L_Changjiang_FXL0630 | L3 |
| 1 | RVT1V471M1010 470UF 35V 470uf 35v DMBJ | CP_Elec_10x10.5 | C1 |
| 1 | JBLM2101M035C070RTM 100UF 35V 100uf 35v DMBJ | CP_Elec_6.3x7.7 | C2 |
| 10 | CL10B104KB8NNNC 100nf 50V Samsung Electro-Mechanics | C_0603_1608Metric | C3, C4, C5, C6, C9, C14, C17, C18 +2 |
| 4 | CL21A226KOQNNNE 22uf 16v Samsung Electro-Mechanics | C_0805_2012Metric | C7, C8, C10, C11 |
| 3 | GRM21BR61H106KE43L 10uf 50V Murata | C_0805_2012Metric | C12, C13, C15 |
| 2 | CL10A105KB8NNNC 1uF 50V Samsung Electro-Mechanics | C_0603_1608Metric | C19, C20 |
| 2 | CL10A106MA8NRNC 10uF 25V Samsung Electro-Mechanics | C_0603_1608Metric | C21, C22 |
| 3 | 0603WAF1003T5E 100k UNI-ROYAL | R_0603_1608Metric | R1, R3, R5 |
| 1 | 0603WAF1372T5E 13.7k UNI-ROYAL | R_0603_1608Metric | R2 |
| 1 | FRC0603F2212TS 22.1k FOJAN | R_0603_1608Metric | R4 |
| 2 | 0603WAF5101T5E 5.1k UNI-ROYAL | R_0603_1608Metric | R6, R7 |
| 7 | 0603WAF1002T5E 10K UNI-ROYAL | R_0603_1608Metric | R8, R9, R10, R15, R22, R24, R25 |
| 3 | 0603WAF4701T5E 4.7k UNI-ROYAL | R_0603_1608Metric | R14, R18, R40 |
| 1 | 0603WAF1200T5E 120 UNI-ROYAL | R_0603_1608Metric | R23 |
| 3 | 0603WAF3300T5E 330 UNI-ROYAL | R_0603_1608Metric | R26, R27, R42 |
| 1 | 0603WAF1001T5E 330 UNI-ROYAL | R_0603_1608Metric | R37 |
| 1 | 0603WAF1001T5E 1k UNI-ROYAL | R_0603_1608Metric | R38 |
ESP-32-RELAY-CONTROLLER design files
The KiCad project lives in the pasachan/ESP-32-RELAY-CONTROLLER repository on GitHub; these links point at the commit this page was built from.
ESP-32-RELAY-CONTROLLER: common questions
What microcontroller does the ESP-32-RELAY-CONTROLLER use?
The ESP-32-RELAY-CONTROLLER is built around the ESP32-WROOM-32D-N16, from the ESP32 family.
How big is the ESP-32-RELAY-CONTROLLER PCB?
The ESP-32-RELAY-CONTROLLER measures 124.8 × 68 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the ESP-32-RELAY-CONTROLLER?
97 components, from 48 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the ESP-32-RELAY-CONTROLLER design files?
From the pasachan/ESP-32-RELAY-CONTROLLER repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the ESP-32-RELAY-CONTROLLER design in my own project?
Yes, under the terms of its CERN-OHL-P-2.0 license, which pasachan chose for the repository.
Can I test firmware for the ESP-32-RELAY-CONTROLLER without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
Open Book Abridged Edition
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Bitaxe
skot
56.5 × 99.8 mm86 parts4LCERN-OHL-S-2.01.4k