Other robots from Synthiam community
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...
Dave's Hello All
Hi all Im very new here and not long had my ez b controller and so far love it. Ive linked a video to what im using my...
DJ's DJ's Omnibot 2000
I just finished a short video with clips of building my Omnibot 2000, you can watch it here. This robot contains all of...
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 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
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 -
I got the Arduino, PCA9685, working with ARC and voice commands, my PC answering back, right, left, up, down moving the servos,
Nothing would move until I added a separate 5 to 7.5 v power supply, I use into the PCA 9685