check in
Completed

ESP32 C3 Super Mini: 8-Channel Relay Control for Home Automation

PROESP32 C3 Super Mini: 8-Channel Relay Control for Home Automation

tag

89
0
0
0
Mode:OSHWLab Stars
OSHWLab Stars
Reproduction cost: $30

License

MIT License

Creation time:2025-08-17 17:07:59Update time:2025-08-18 05:40:14

Description

This project is an 8-channel relay controller based on the ESP32-C3 SuperMini.
It provides multi-platform IoT support out of the box for:

  • 🌐 Blynk IoT Cloud
  • 🛰️ Arduino IoT Cloud
  • 🖥️ Home Assistant (via MQTT)
  • 🗣️ Amazon Alexa voice control
  • 🎤 Google Home voice control
  • 🏠 Tasmota Firmware (for power users)
  • 🔥 Google Firebase integration

✨ Features:

  • ✅ 8 relays (up to 250VAC / 10A each)
  • ✅ Works with Wi-Fi, Cloud, Voice Assistants
  • ✅ Physical switches with independent sync (hotel-light style)
  • ✅ EEPROM save (state remembered after reboot)
  • ✅ Multi-firmware support (Arduino, Tasmota, etc.)
  • ✅ Compact PCB design with onboard PSU

🖥️ Hardware

🔹 Schematic

🔹 PCB Layout

🔹 3D View


📦 Bill of Materials (BOM)

Main components (see BOM.xlsx for full list):

Component Part Qty
MCU ESP32-C3 SuperMini 1
Relay G5NB-1A-E-DC5V (5V, 10A) 8
Driver ULN2803 1
Power HLK-PM01 (AC-DC 230V → 5V) 1
DC Reg LM2596 Buck Converter 1
LEDs + Resistors Status indicators 8
Misc. Diodes, Caps, Connectors Various

⚡ Pin Mapping (ESP32-C3 → Relays)

Relay ESP32-C3 GPIO
RLY1 D0
RLY2 D1
RLY3 D2
RLY4 D3
RLY5 D4
RLY6 D5
RLY7 D6
RLY8 D7

(Adjust firmware if using different pins.)


🔧 Firmware Options

You can flash any firmware depending on your ecosystem:

1️⃣ Blynk IoT

  • Supports mobile + web dashboard
  • Auto reconnect & sync
  • EEPROM save

👉 Example sketch: Find Here


2️⃣ Arduino IoT Cloud

  • Works with Arduino Cloud dashboards
  • Control relays from app & web
  • OTA firmware updates

👉 Example sketch: Find Here


3️⃣ Tasmota Firmware

  • Flash Tasmota & use MQTT/Home Assistant
  • Auto-discovery in Home Assistant
  • Web dashboard built-in

👉 Use template in Tasmota:

{"NAME":"ESP32C3-8CH","GPIO":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":18}
 

(Edit GPIO mapping for relays D0–D7)


4️⃣ Google Firebase

  • Store relay states in cloud
  • Sync between multiple devices

👉 Example: Find Here


5️⃣ Alexa + Google Home

  • Works via Sinric Pro or ESP Alexa library
  • Voice control of each relay: “Alexa, turn on Relay 1”

👉 Example: Find Here


6️⃣ Home Assistant

  • Connect via MQTT
  • Supports two-way sync
  • YAML auto-discovery

👉 Example config in configuration.yaml:

switch:
  - platform: mqtt
    name: "Relay 1"
    state_topic: "esp32c3/relay1/state"
    command_topic: "esp32c3/relay1/set"
    payload_on: "ON"
    payload_off: "OFF"
    retain: true
Example  Find Here

🚀 How to Flash

  1. Connect ESP32-C3 SuperMini via USB
  2. Select ESP32-C3 Dev Module in Arduino IDE
  3. Upload chosen firmware
  4. Open Serial Monitor @ 115200 baud
  5. Control relays from Blynk / Arduino Cloud / Alexa / Google Home / Home Assistant 🎉

🌍 Applications

  • Smart home automation
  • Appliance control
  • IoT-based remote switching
  • Voice-enabled devices
  • Industrial automation

🛠️ Future Roadmap

  • Energy monitoring add-on
  • OTA updates across all firmware versions
  • Matter protocol support (for full Google/Alexa native integration)

    Thanks TO EasyEDA And OSHWLab 

Design Drawing

The preview image was not generated, please save it again in the editor.

BOM

Bom empty

Attachments

OrderFile nameDownload times
No data
Clone
Add to Album
0
0
Share
Report

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation