Wiring DetailsESP32
-5V: → VCC of the Ultrasonic Sensor (HC-SR04)
-GND: → GND of all components
-G12 (Trig): → Trig pin of the Ultrasonic Sensor (HC-SR04)
-G14 (Echo): → Echo pin of the Ultrasonic Sensor (HC-SR04)
-G13 (VCC): → VCC of the Circular LED
-SDA: → SDA pin of the Adafruit PCA9685 and MPU6050
-SCL: → SCL pin of the Adafruit PCA9685 and MPU6050
Adafruit PCA9685 PWM Servo Breakout
-5.0V: → VCC of the servos
-GND: → GND of the servos
-SDA: → SDA pin of the ESP32
-SCL: → SCL pin of the ESP32
-PWM0 - PWM15: → Pulse pin of corresponding servo
Servos
-VCC: → 5.0V pin of the Adafruit PCA9685
-GND: → GND pin of the Adafruit PCA9685
-Pulse: → Corresponding PWM pin on the Adafruit PCA9685
18650 Li-ion Batteries
-+: → Rocker switch and other batteries as required for desired voltage and capacity
--: → Ground distribution via terminal PCBs
Rocker Switch
-Input: → Positive terminal of the battery pack
-Output: → Power distribution network and Adafruit PCA9685
Terminal PCB 2 Pin
-Connects the power supply to the Adafruit PCA9685 and servos.
Electrolytic Capacitor
-+: → Positive side of the power supply
--: → Ground side of the power supply