
PROJECT6 30A Home Automation with ESP32
adarshnarwariya12/PCB_Design
A collection of PCB design projects developed using KiCad.

ESP32-WROOM-32 mains relay controller for lighting and a pump: HLK-PM01 supply, opto-isolated relay drivers. 2-layer KiCad design, 5 A trace rating.
5A Home Automation is an open-source printed circuit board by VikramR3, from the VikramR3/5A_Home_Automation repository on GitHub, published under the MIT licence. It is a 2-layer board of 89.5 × 75.4 mm with 34 parts on 52 nets, routed with 388 tracks and 29 vias.
It is built around the ESP32-WROOM-32, HLK-PM01 and AMS1117-3.3, with the S8050 and PR13-5V-450-1C among its other parts. Its parts include 8 resistors, 4 capacitors, 4 ICs, 4 diodes and 4 switches. It belongs with the home automation and IoT and lEDs and displays boards and the ESP32 boards of this library.
A 2-layer board that switches two mains loads from an ESP32-WROOM-32 over Wi-Fi — intended for a lighting circuit and a water pump on a timer or app command. An HLK-PM01 module derives 5 V directly from the AC line, and each channel drives its relay coil through a PC817 optocoupler and an S8050 transistor with a flyback diode. Designed in KiCad.

The supply module and relay contacts sit at line potential and there is no isolation transformer. Do not probe this board while it is connected to the mains.
Current rating. The relay contacts themselves are rated 30 A, but the mains traces on this board are 2.0 mm on 1 oz copper — about 5 A at a 20 °C rise. That trace width, not the relay, is what limits the board, so it is rated 5 A as built. Switching more would need heavier copper, bus bars over the mains traces, or the load path kept off the PCB entirely.
This design has not been fabricated or tested.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole_Pad | MountingHole:MountingHole_2.7mm_M2.5_Pad_Via | H1, H2, H3, H4 |
| 2 | 10k | Resistor_SMD:R_0805_2012Metric | R7, R8 |
| 2 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D2, D3 |
| 2 | 2.2k | Resistor_SMD:R_0805_2012Metric | R3, R4 |
| 2 | 220 | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 2 | 330 | Resistor_SMD:R_0805_2012Metric | R5, R6 |
| 2 | LED | LED_SMD:LED_0805_2012Metric | D1, D4 |
| 2 | PC817 | Package_DIP:DIP-4_W7.62mm | U2, U3 |
| 2 | S8050 | Package_TO_SOT_THT:TO-92_Inline | Q1, Q2 |
| 2 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | SW1, SW2 |
| 1 | 100nF | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | 100uF | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 1uF | Capacitor_SMD:C_0805_2012Metric | C4 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U4 |
| 1 | Conn_01x04_Pin | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | ESP32-WROOM-32 | RF_Module:ESP32-WROOM-32 | U1 |
| 1 | HLK-PM01 | Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxx | PS1 |
| 1 | PR13-5V-450-1C | PR13-5V-450-1C:RELAY_PR13-5V-450-1C | K2 |
| 1 | RAYEX-L90AS | Relay_THT:Relay_SPST_RAYEX-L90AS | K1 |
| 1 | Screw_Terminal_01x03 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mm | J3 |
| 1 | Screw_Terminal_01x04 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-04P_1x04_P5.00mm | J2 |

adarshnarwariya12/PCB_Design
A collection of PCB design projects developed using KiCad.

dibyashreesahu/Kicad-Projects
This repository contains a PCB designed using KiCad, an open-source electronic design automation (EDA) software.


Manideep136/Home-Automation-pcb-with-ESP32
A custom PCB-based home automation system designed around the ESP32 microcontroller. The project is designed to control high-current AC loads using relay switching while providing a compact and organized PCB for the…



brandmaharaj12-cmyk/ESP32-Home-Automation-PCB
ESP32 based 30A Home Automation PCB designed using KiCad.

hammadurrehman2006/kicad_lab
A collection of KiCad PCB designs developed during my Electronic Engineering degree (2024-28). Includes university projects, personal experiments, and custom components—featuring schematics, layouts, Gerber files, and…
It measures 89.5 × 75.4 mm and has 2 copper layers, 1.6 mm thick.
34 parts, built around the ESP32-WROOM-32, HLK-PM01, AMS1117-3.3 and S8050. 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.
From the VikramR3/5A_Home_Automation repository on GitHub, at the commit this page was made from: the board is 5A_Home_Automation.kicad_pcb and its schematic 5A_Home_Automation.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).