Battery-Powered Dual Servo Control System with ESP32 and Potentiometers
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of two servos, two potentiometers, a 3.7V battery, and an ESP32-WROOM-32UE microcontroller. The servos are controlled by the ESP32, which receives input from the potentiometers. The entire circuit is powered by the 3.7V battery.
Component List
Servo
- Description: A servo motor used for precise control of angular position.
- Pins: GND, VCC, PWM
3.7V Battery
- Description: A battery providing 3.7V power supply.
- Pins: +, -
ESP32-WROOM-32UE
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: 3v3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, GND, 13, D2, D3, 5V, 23, 22, TX, RX, 21, 19, 18, 5, 17, 16, 4, 0, 2, 15, D1, D0, CKL
Potentiometer
- Description: A variable resistor used to adjust voltage levels.
- Pins: GND, Output, VCC
Wiring Details
Servo 1
- GND: Connected to GND of the 3.7V battery, GND of the ESP32, and GND of both potentiometers.
- VCC: Connected to + of the 3.7V battery, 3v3 of the ESP32, and VCC of both potentiometers.
- PWM: Connected to pin 12 of the ESP32.
Servo 2
- GND: Connected to GND of the 3.7V battery, GND of the ESP32, and GND of both potentiometers.
- VCC: Connected to + of the 3.7V battery, 3v3 of the ESP32, and VCC of both potentiometers.
- PWM: Connected to pin 14 of the ESP32.
3.7V Battery
- -: Connected to GND of both servos, GND of the ESP32, and GND of both potentiometers.
- +: Connected to VCC of both servos, 3v3 of the ESP32, and VCC of both potentiometers.
ESP32-WROOM-32UE
- GND: Connected to GND of both servos, GND of the 3.7V battery, and GND of both potentiometers.
- 3v3: Connected to VCC of both servos, + of the 3.7V battery, and VCC of both potentiometers.
- Pin 12: Connected to PWM of Servo 1.
- Pin 14: Connected to PWM of Servo 2.
- Pin 26: Connected to Output of Potentiometer 2.
- Pin 27: Connected to Output of Potentiometer 1.
Potentiometer 1
- GND: Connected to GND of both servos, GND of the 3.7V battery, and GND of the ESP32.
- VCC: Connected to VCC of both servos, + of the 3.7V battery, and 3v3 of the ESP32.
- Output: Connected to pin 27 of the ESP32.
Potentiometer 2
- GND: Connected to GND of both servos, GND of the 3.7V battery, and GND of the ESP32.
- VCC: Connected to VCC of both servos, + of the 3.7V battery, and 3v3 of the ESP32.
- Output: Connected to pin 26 of the ESP32.
Code
No code is provided for this circuit.