Circuit Documentation
Summary
This circuit is designed to control multiple servos using a 16-Channel PWM Servo Driver, which is interfaced with an ESP8266 NodeMCU microcontroller. The circuit is powered via a USB power source. The ESP8266 NodeMCU communicates with the PWM Servo Driver over I2C to control the servos.
Component List
16-Channel PWM Servo Driver
- Description: A driver that can control up to 16 PWM devices such as servos.
- Pins: V+, VCC, SDA, SCL, OE, GND, Vin+, Vin-, PWM1 to PWM16
Servo (6 units)
- Description: Standard servo motor.
- Pins: GND, VCC, PWM
USB Power
- Description: Provides power to the circuit.
- Pins: +, -
ESP8266 NodeMCU
- Description: A microcontroller with Wi-Fi capabilities.
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
Wiring Details
16-Channel PWM Servo Driver
- SDA connected to D1 of ESP8266 NodeMCU
- SCL connected to D2 of ESP8266 NodeMCU
- GND connected to:
- GND of ESP8266 NodeMCU
- GND of all Servos
- VCC connected to 3V3 of ESP8266 NodeMCU
- V+ connected to VCC of all Servos
- Vin+ connected to - of USB Power
- Vin- connected to + of USB Power
- PWM1 connected to PWM of Servo 1
- PWM3 connected to PWM of Servo 2
- PWM4 connected to PWM of Servo 3
- PWM5 connected to PWM of Servo 4
- PWM6 connected to PWM of Servo 5
- PWM7 connected to PWM of Servo 6
Servo 1
- GND connected to GND of 16-Channel PWM Servo Driver
- VCC connected to V+ of 16-Channel PWM Servo Driver
- PWM connected to PWM1 of 16-Channel PWM Servo Driver
Servo 2
- GND connected to GND of 16-Channel PWM Servo Driver
- VCC connected to V+ of 16-Channel PWM Servo Driver
- PWM connected to PWM3 of 16-Channel PWM Servo Driver
Servo 3
- GND connected to GND of 16-Channel PWM Servo Driver
- VCC connected to V+ of 16-Channel PWM Servo Driver
- PWM connected to PWM4 of 16-Channel PWM Servo Driver
Servo 4
- GND connected to GND of 16-Channel PWM Servo Driver
- VCC connected to V+ of 16-Channel PWM Servo Driver
- PWM connected to PWM5 of 16-Channel PWM Servo Driver
Servo 5
- GND connected to GND of 16-Channel PWM Servo Driver
- VCC connected to V+ of 16-Channel PWM Servo Driver
- PWM connected to PWM6 of 16-Channel PWM Servo Driver
Servo 6
- GND connected to GND of 16-Channel PWM Servo Driver
- VCC connected to V+ of 16-Channel PWM Servo Driver
- PWM connected to PWM7 of 16-Channel PWM Servo Driver
USB Power
- - connected to Vin+ of 16-Channel PWM Servo Driver
- + connected to Vin- of 16-Channel PWM Servo Driver
ESP8266 NodeMCU
- D1 connected to SDA of 16-Channel PWM Servo Driver
- D2 connected to SCL of 16-Channel PWM Servo Driver
- GND connected to GND of 16-Channel PWM Servo Driver
- 3V3 connected to VCC of 16-Channel PWM Servo Driver
Code
No code provided for this circuit.
