Skip to the content
2 layers89.5 × 75.4 mm5A Home Automation, the printed circuit board in 3D

5A Home Automation

VikramR3/5A_Home_Automation

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.

Size
89.5 × 75.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
52
Pads
178
Tracks, vias
388, 29
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
24 Sep 2026
Updated
24 Sep 2026

Overview

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.

Main components

5

README

README.md

5 A Home Automation Controller

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.

5 A home automation board

Warning — mains voltage

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.

Parts

34
QtyValueFootprintReferences
4MountingHole_PadMountingHole:MountingHole_2.7mm_M2.5_Pad_ViaH1, H2, H3, H4
210kResistor_SMD:R_0805_2012MetricR7, R8
21N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD2, D3
22.2kResistor_SMD:R_0805_2012MetricR3, R4
2220Resistor_SMD:R_0805_2012MetricR1, R2
2330Resistor_SMD:R_0805_2012MetricR5, R6
2LEDLED_SMD:LED_0805_2012MetricD1, D4
2PC817Package_DIP:DIP-4_W7.62mmU2, U3
2S8050Package_TO_SOT_THT:TO-92_InlineQ1, Q2
2SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2
1100nFCapacitor_SMD:C_0805_2012MetricC3
1100uFCapacitor_SMD:C_0805_2012MetricC1
11uFCapacitor_SMD:C_0805_2012MetricC4
122uFCapacitor_SMD:C_0805_2012MetricC2
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U1
1HLK-PM01Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxxPS1
1PR13-5V-450-1CPR13-5V-450-1C:RELAY_PR13-5V-450-1CK2
1RAYEX-L90ASRelay_THT:Relay_SPST_RAYEX-L90ASK1
1Screw_Terminal_01x03TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mmJ3
1Screw_Terminal_01x04TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-04P_1x04_P5.00mmJ2

Similar boards

  • 2 layers80.5 × 75.5 mm30A HOME AUTOMATION WITH ESP32, the printed circuit board in 3D

    30A HOME AUTOMATION WITH ESP32

    dibyashreesahu/Kicad-Projects

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

    33 parts
  • 2 layers114 × 83 mm30 amp home automation, the printed circuit board in 3D

    30 amp home automation

    Dip-Halder/ESP32_based_30amo_home_automation_pcb_in_ki-cad

    33 parts
  • 2 layers85 × 77 mmHome automation with ESP32, the printed circuit board in 3D

    Home automation with ESP32

    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…

    32 parts
  • 2 layers95.2 × 80 mmBOM 30AHA, the printed circuit board in 3D

    BOM 30AHA

    sandraseenulalk11d-gif/KiCad_PCB_designs

    32 parts
  • 2 layers88.5 × 74.5 mmHomeAutomation, the printed circuit board in 3D

    HomeAutomation

    the-adeel/home-automation-esp32

    32 parts
  • 2 layers85.7 × 78.8 mmESP32-Home Automation PCB, the printed circuit board in 3D

    ESP32-Home Automation PCB

    brandmaharaj12-cmyk/ESP32-Home-Automation-PCB

    ESP32 based 30A Home Automation PCB designed using KiCad.

    33 parts
  • 2 layers80.8 × 73.1 mm30A home automation using esp32, the printed circuit board in 3D

    30A home automation using esp32

    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…

    33 parts1

Questions

How big is the 5A Home Automation PCB?

It measures 89.5 × 75.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the 5A Home Automation use?

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.

Where can I download the 5A Home Automation KiCad files?

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.

Can I use the 5A Home Automation design in my own project?

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).