PCA9685 Servo Controller

PCA9685 Servo Controller by Adafruit

Control PCA9685 servo breakout with Arduino Uno using Synthiam ARC and EZB firmware; servo shield support and programming tutorial.
Connection Type
USB
Number of Servos
16
Audio Support
No
Camera Support
No
UARTs
None
I2C Support
No
ADC Ports
None
Digital Ports
None

If you’re building a robot or project with lots of servos (hexapods, animatronics, kinetic art, pan/tilt arrays, etc.), the PCA9685 makes it much easier. Instead of trying to plug many servos directly into an Arduino’s limited pins, the PCA9685 provides up to 16 servo outputs using a simple two‑wire connection (I2C) to the Arduino.

This setup is commonly used with Arduino boards that accept shields such as the Uno, Leonardo, Mega, or ADK. We recommend the Arduino Uno for beginners because it’s compact, inexpensive, and works great with ARC when loaded with the correct EZB firmware.

Beginner overview: How it works
  1. You load EZB firmware onto the Arduino.
    This turns the Arduino into a controller that ARC can talk to.
  2. The Arduino talks to the PCA9685 board.
    The Arduino sends I2C commands (usually over pins SDA/SCL). The PCA9685 generates stable servo pulses for up to 16 channels.
  3. ARC controls the servos.
    In ARC you add servo controls/scripts and ARC sends commands through the Arduino (EZB firmware) to the PCA9685 outputs.
Before you start (important for beginners)
  • Servo power: Servos often need more power than USB can provide. In most builds you will use a separate 5–6V power supply for servos.
    Tip: Many servo issues (jittering, resetting, random movement) are power-related.
  • Common ground: If you use a separate servo power supply, make sure the GND (ground) of the servo power supply is connected to the GND of the Arduino/PCA9685 system.
  • Servo count: The PCA9685 provides 16 channels. You can often stack or chain boards in some setups, but start with one board until everything works.
  • Firmware choice matters: Different firmware builds exist for different Arduino + PCA9685 configurations. If one firmware does not match your hardware layout, ARC may connect but servo channels may not respond as expected.
Download EZB Firmware Source Code

Choose one of the firmware packages below. If you’re unsure which one to use, start with the newest official-looking option first, then try the others if needed.

Programming (Flashing) the Firmware

After downloading the firmware, follow the step-by-step tutorial to install it on your Arduino: https://synthiam.com/Tutorial/17526

What you will do in the tutorial:

  1. Install and open the Arduino IDE.
  2. Open the firmware project you downloaded (ZIP file).
  3. Select your Arduino board type (ex: Uno) and correct COM port.
  4. Upload the firmware to the Arduino.
  5. Connect ARC to the Arduino running EZB firmware.
Next steps in ARC
  • Add servo controls in ARC and test a single servo first (one channel) before connecting all servos.
  • If a servo moves the wrong direction or doesn’t reach the expected range, use ARC servo configuration options (such as reverse and limits) to fine-tune motion.
  • If servos jitter or ARC disconnects, re-check your power supply and ensure all grounds are connected together.

ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

#9  

Hey EzAng,

Yes they are on their dedicated power supply. When flashed with stock Arduino firmware and adafruit lib, all servos work 100%. Not changing anything but to the ARC firmware, etc. Zero functionality with any servo functions...

#11  

Yup, tested too many times to count. Precisely modified as you posted. No servo Control W/ ARC/No I2C activity... Works 100% of the time manually in arduino.ide! May shelf this project until I can source a different controller. Appreciate all the ideas though! - Tom

#12  

I am having the same issues servos not working in ARC

Author Avatar
PRO
USA
#13   — Edited

Hi Tom,

I went through the steps that used to stop ARC for me:

1 - the wrong baud rate, need 57600 in ARC for the Arduino 2- missing a separate 5v or 6v power supply for the PCA9685

The last thing that usually stops ARC for me was my Anti-Virus program I was using.  You can add it to your Anti-Virus program or just shut it off and check to see if that is the problem.

That is all I can come up with at this time, sorry.

#14   — Edited

Comment removed

Author Avatar
PRO
USA
#16   — Edited

I just tried DJ code above, using the PCA9685 with 8 servos, a Arduino uno for this test, also works well