Welcome to another exciting DIY project! In this post, Iβll walk you through the design and features of my custom-built ESP32-C3-based 8-Channel Relay Board β a powerful and flexible controller for your smart home automation needs.
π§ Project Overview
This board is built around the ESP32-C3 SuperMini, offering Wi-Fi control for up to 8 electrical appliances like lights, fans, pumps, or sockets. Itβs designed for seamless integration with Home Assistant, Tasmota, ESPHome, or custom Arduino firmware.
With onboard AC-DC power conversion, relay drivers, I2C expansion headers, and extra GPIOs, this is a ready-to-use smart switchboard β ideal for both hobbyists and smart home enthusiasts.
β Key Features
-
π§ Microcontroller: ESP32-C3 SuperMini (Wi-Fi + BLE)
-
π Relay Outputs: 8x channels (10A @ 250V AC each)
-
π‘ Relay Driver: ULN2803A
-
β‘ Power Input: 100β240V AC (HLK-PM01 module)
-
π Onboard Power Regulation: 5V and 3.3V (via LM2596)
-
π I2C Expansion: Connect OLED, DHT, BMP, etc.
-
π GPIO Expansion: 3 extra digital pins available
-
π Firmware Support: ESPHome, Tasmota, Arduino IDE
πΌοΈ PCB Preview
(Insert 3D PCB Image, PCB Layout Image, Schematic Image)
The board was designed using EasyEDA and follows proper layout practices with AC-DC isolation, wide power traces, labeled pins, and a compact silkscreen.
βοΈ How It Works
-
ESP32-C3 controls each relay through GPIOs.
-
ULN2803A handles high-current relay switching.
-
Relays receive 5V DC power from onboard HLK-PM01.
-
ESP32-C3 is powered with regulated 3.3V via LM2596.
-
Extra headers allow connection of sensors or displays (I2C).
-
Works with Home Assistant, voice assistants, or custom code.
π¦ Components Used
Component | Quantity |
---|---|
ESP32-C3 SuperMini | 1 |
5V Relay (10A) | 8 |
ULN2803A | 1 |
HLK-PM01 (AC to 5V) | 1 |
LM2596 Buck Converter | 1 |
LEDs + Resistors | 8 |
Screw Terminals | 8 |
Push Button | 1 |
Custom PCB | 1 |
π Firmware Options
π ESPHome (for Home Assistant)
π» Arduino IDE Example
Use digitalWrite()
on GPIO0 to GPIO7 to control relays.
π Tasmota Template
π οΈ Use Cases
-
Control room lights, fans, and plugs over Wi-Fi
-
Schedule-based automation via Home Assistant
-
Add DHT11 or OLED for temperature display
-
Create voice-controlled switches (Alexa, Google Assistant)
-
Monitor status on your phone or dashboard
π Downloads
-
β Gerber files
-
β Schematic PDF
-
β BOM (Bill of Materials)
-
β ESPHome YAML example
-
β Arduino sketch (Coming soon)
π£ Final Thoughts
This ESP32-C3 relay board is a powerful, clean, and modular solution for home automation. Whether youβre building your first smart controller or upgrading your existing setup, this board gives you full control, expansion flexibility, and firmware freedom.
π¬ Contact & Credits
-
π Website: https://electroiot.in
-
βοΈ Email: electroiot.in@gmail.com
-
πΈ Gerber and source files available on: PCBWay Project Page (insert link)
-
π‘ Design by: Manoranjan Das
GITHUB
https://github.com/ElectroIoT/8ch-ESP32-c3-Relay-Module