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

ESP32-Controlled DC Motor with Dual Relay System

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled DC Motor with Dual Relay System

Circuit Documentation

Summary

This circuit involves the use of two 12V relays, a DC motor, a 2.1mm barrel jack with a terminal block, and various other components. The relays control the DC motor, and the power is supplied through the barrel jack. The circuit is designed to manage the operation of the DC motor using the relays.

Component List

  1. 12V Relay

    • Pins: NO, COM, NC, DC+, DC-, IN
    • Description: A relay that operates at 12V to control high-power devices.
  2. DC Motor

    • Pins: pin 1, pin 2
    • Description: A motor that runs on direct current.
  3. WS2812 RGB LED Matrix 8x8

    • Pins: DIN, VCC, GND, DOUT
    • Description: An 8x8 matrix of WS2812 RGB LEDs.
  4. ESP32 (30 pin)

    • 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
    • Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
  5. 2.1mm Barrel Jack with Terminal Block

    • Pins: POS, NEG
    • Description: A barrel jack for power input with a terminal block for easy connections.
  6. HC-SR04 Ultrasonic Sensor

    • Pins: VCC, TRIG, ECHO, GND
    • Description: An ultrasonic sensor for distance measurement.
  7. 9V Battery

    • Pins: -, +
    • Description: A 9V battery for power supply.

Wiring Details

12V Relay 1

12V Relay 2

DC Motor

WS2812 RGB LED Matrix 8x8

ESP32 (30 pin)

2.1mm Barrel Jack with Terminal Block

HC-SR04 Ultrasonic Sensor

9V Battery

Code

No code is provided for this circuit.