Skip to comments
ESP32 and PCA 9685 - using 3 servos for now - can add up to 16 servos on one PCA 9685 module - can connect many PCA 9685 together for100s of servos :-)
I modified some code I found
Can display the 3 motors results on the ARC serial monitor
By EzAng
— Last update
Other robots from Synthiam community

Steve's Captain Proton Startrekvoyager Tribute Robot.
I have always loved the StarTrekVoyager Holodeck episodes of Captain Proton. So Retro and Cool. Created a tribute...

Cliffordkoperski's F.K.Q. Robot
21dof 19 servos 7.4 volt 2000ma run time 1h servo brackets $70 servos $200 ezbv4 $100 ezb camera $60 cheap as u can get...

Jim's Project Armadeus
For the last decade or more I've been working on a series of large robots with articulated arms. I just finished the...
I will test
On DJ's Arduino code, I can use servos 3 to 11 on my Arduino shield
https://www.amazon.com/gp/product/B01FDH8SM6/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1
or here
https://www.amazon.com/HiLetgo-Upgraded-Arduino-Sensor-Expansion/dp/B01MXRXCAW/ref=dp_prsubs_1?pd_rd_i=B01MXRXCAW&psc=1
here it is with the Arduino with the PCA9685 - to control each servo individually
Downloaded Mickeys andDJ's firmware from here https://synthiam.com/Support/Hardware/Adafruit-16-Servo-Shield
I modified their code, added: Adafruit_PWMServoDriver pca9685 = Adafruit_PWMServoDriver(0x40);
for one PCA9685, if you want 2 PCA9685 just change the hex to (0x41) or 3 PCA9685 (0x42) and on and on...
in setup I added:
// Initialize PCA9685
pca9685.begin();
// Set PWM Frequency to 50Hz
pca9685.setPWMFreq(50);
If your Arduino does not have a SDA or SCL
use:
Analog 4 -> SDA
Analog 5 -> SCL
GND to GND
VCC to 5v from Laptop computer
make sure you add a separate power supply - 5 - 7.5 V to the PCA9685 for the servos
ARC connect Arduino at 57600 baud n settings
easy connection
works very good
EzAng
just tested it again , works well
separate 5 to 7.5 v power supply, I use into the PCA 9685
Arduino 5v - GND - from laptop - make sure the you use 57600 (in settings) when you connect to the Arduino from ARC
try all D0 to D15
2 pics
Used it tonight with the Arduino code and the PCA 9685 and connected to ARC com5 -
Nothing would move until I added a separate 5 to 7.5 v power supply, I use into the PCA 9685