Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Wi-Fi Controlled Relay System with ESP32 and LED Indicators

View and Edit Project In Cirkit DesignerImage of Wi-Fi Controlled Relay System with ESP32 and LED Indicators

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a 4-channel relay module, multiple rocker switches, LEDs of various colors, an ESP32 microcontroller, an AC circuit breaker, a fuse, an HLK-PM12 power module, and an electrolytic capacitor. The circuit is designed to control the relays using the ESP32, with the relays in turn controlling the LEDs. The rocker switches are used to provide manual control inputs to the ESP32.

Component List

  1. Relay 4 Channel 5v

    • Description: A relay module with 4 channels, each capable of switching high voltage devices.
    • Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
  2. Rocker Switch (SPST)

    • Description: Single Pole Single Throw (SPST) rocker switch.
    • Pins: 1, 2
  3. LED: Two Pin (blue)

    • Description: Blue LED with two pins.
    • Pins: cathode, anode
  4. LED: Two Pin (green)

    • Description: Green LED with two pins.
    • Pins: cathode, anode
  5. LED: Two Pin (red)

    • Description: Red LED with two pins.
    • Pins: cathode, anode
  6. LED: Two Pin (yellow)

    • Description: Yellow LED with two pins.
    • Pins: cathode, anode
  7. ESP32 (30 pin)

    • Description: ESP32 microcontroller with 30 pins.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  8. AC Circuit Breaker

    • Description: AC circuit breaker for overcurrent protection.
    • Pins: GND, VOUT, VIN
  9. Fuse

    • Description: Fuse for overcurrent protection.
    • Pins: Terminal 1, Terminal 2
  10. HLK-PM12

    • Description: Power module for converting AC to DC.
    • Pins: +V0, -V0, AC
  11. Electrolytic Capacitor

    • Description: Capacitor with a capacitance of 0.0001 Farads.
    • Pins: -, +

Wiring Details

Relay 4 Channel 5v

Rocker Switch (SPST)

LED: Two Pin (blue)

LED: Two Pin (green)

LED: Two Pin (red)

LED: Two Pin (yellow)

ESP32 (30 pin)

AC Circuit Breaker

Fuse

HLK-PM12

Electrolytic Capacitor

Code

No code is provided for this circuit.