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
Discover more robots
Jstarne1's Sky Anchor ,Gig Wifi Drone
Hex coaxial drone with 12 props and 15 lb thrust, 3D-printed frame to lift a WiFi antenna and camera for extended robot...
Rich's Ez-Rover Mk I
EZ-Rover MK1 autonomous rover converted with EZ-B, H-Bridge and camera; 6x AA power, IR/ultrasonic sensors for...
Ezang's I Am A. B. - J D's Bigger Brother
Taller humanoid with longer legs and arms, added head servo and rearranged RGB lights for increased movement and...

Nice! I see you are using I2C to connect esp32 to the PCA. How do you connect to ARC? Can you control the servos from ARC?
I only tried the the ARC serial monitor to see the serial output for the 3 servos
I will test

On DJ's Arduino code, I can use servos 3 to 11 on my Arduino shieldhttps://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
proteusy,
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
Thanks EzAng, will need this for my next project.
Can you pls help? I'm using Arduino UNO and PCA9685, changed the code and attached the cables as you said. I'm new to this ARC software so can you pls. tell me on which port we have to use servo like D0, D1 or any other?
pra_nav,
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
Almost forgot about the PCA 9685
Used it tonight with the Arduino code and the PCA 9685 and connected to ARC com5 -