ESP32-Controlled Robotics Interface with AC Synchronous Motor and L298N H-Bridge
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question appears to be a control system that integrates various components including motors, a servo, a microcontroller, a motor driver, a relay, and power supply modules. The ESP 32 Wroom Dev Kit acts as the central processing unit, interfacing with the MG996R servo, the UEETEK L298N Dual H Bridge motor driver, and a 1-Channel Relay. The circuit is designed to control both DC motors and an AC load, which includes an AC synchronous motor and an AC bulb. Power is supplied to the circuit through an AC source, a Power Supply unit, and a Mini AC-DC converter module.
Component List
Motors
- MRB Planetary Gearbox Motor: A DC motor with a gearbox for increased torque.
- AC Synchronous Motor (5/6R/min): An AC motor that rotates at a fixed speed synchronized with the frequency of the AC voltage supply.
Power Components
- Power Supply: Provides a stable DC voltage to the circuit.
- Mini AC-DC 110V-230V to 5V 700mA Module: Converts AC voltage to a 5V DC output.
- AC Source: The main AC power source for the circuit.
Control Components
- ESP 32 Wroom Dev Kit: A microcontroller with WiFi capabilities for controlling various components of the circuit.
- UEETEK L298N Dual H Bridge DC Stepper Motor Driver Module: Controls the direction and speed of DC motors.
- 1-Channel Relay (5V 10A): An electromechanical switch used for turning the AC load on and off.
Output Devices
- AC Bulb: An AC-powered light source.
- MG996R: A high-torque metal gear servo for precise movement control.
Miscellaneous
- AC Wire: Used to connect the AC components.
Wiring Details
MRB Planetary Gearbox Motor
- Positive (+): Connected to the motor driver's output.
- Negative (-): Connected to the motor driver's output.
AC Synchronous Motor (5/6R/min)
- Positive: Connected to the common terminal of the relay.
- Negative: Connected to the AC source and AC bulb through the AC wire.
Power Supply
- Positive (+): Supplies power to the motor driver.
- Negative (-): Ground connection for the motor driver.
Mini AC-DC 110V-230V to 5V 700mA Module
- 5v: Provides 5V to the microcontroller, motor driver, servo, and relay.
- GND: Common ground for the circuit.
- Neutral: Connected to the AC source and AC bulb through the AC wire.
- Life: Connected to the AC source phase.
AC Source
- Positive (+): Supplies AC voltage to the AC synchronous motor and AC bulb.
- Negative (-): Connected to the AC wire phase.
ESP 32 Wroom Dev Kit
- V5: Receives 5V from the Mini AC-DC module.
- GND: Common ground for the circuit.
- GPIO Pins: Control signals for the servo, motor driver, and relay.
UEETEK L298N Dual H Bridge DC Stepper Motor Driver Module
- 5V: Receives 5V from the Mini AC-DC module.
- GND: Common ground for the circuit.
- Motor Outputs (A1, A2, B1, B2): Connected to the MRB Planetary Gearbox Motors.
- Control Inputs (ENA, ENB, IN1, IN2, IN3, IN4): Receive control signals from the ESP 32 Wroom Dev Kit.
1-Channel Relay (5V 10A)
- Power: Receives 5V from the Mini AC-DC module.
- Ground: Common ground for the circuit.
- Signal: Receives control signal from the ESP 32 Wroom Dev Kit.
- Common (C): Connected to the AC synchronous motor.
- Normally Open (NO): Connected to the AC source phase.
AC Bulb
- P (Phase): Connected to the AC synchronous motor through the relay.
- N (Neutral): Connected to the AC source neutral.
MG996R Servo
- VCC: Receives 5V from the Mini AC-DC module.
- GND: Common ground for the circuit.
- SIG: Receives control signal from the ESP 32 Wroom Dev Kit.
Documented Code
No code was provided for the microcontroller or any other programmable components in the circuit. Therefore, this section is left blank until the relevant code is supplied.