Firmata with PCA9685
Posted: Tue Jan 14, 2025 4:04 pm
by Zoltan
Hi,
I'm trying to use the PCA9685 shield with Arduino Uno and Firmata.
But the code need to be modified. I tried with chat gpt to get the correct version but at this time it's not working
Maybe someone already tried this setup ?
Re: Firmata with PCA9685
Posted: Wed Jan 22, 2025 3:39 pm
by mad-matt
Is your problem relate to MadMapper or just to connect your arduino with your servo motor driver ? MadMapper uses standard Firmata to drive the Arduino. If you use another software to control the Arduino with Firmata, can you get anywhere ?
To use Firmata in MadMapper your have to updload the "Standard Firmata". See
https://www.youtube.com/watch?v=muosra5uIAs
You can test firmata with the firmata_test application:
https://www.pjrc.com/tmp/firmata/readme.html
Re: Firmata with PCA9685
Posted: Thu Jan 30, 2025 11:59 am
by Zoltan
Thx for your answer,
I had some communication issues between a PCA9685 shield and Firmata.
This is now resolved. I have one last issue: when sending a batch of new positions, the servo motors are not in sync; there’s some kind of latency .
Once the code is complete, I’ll post it on GitHub.