PCA9685 16-channel servo driver
Drives 16 servos or LEDs over I2C.
What is the PCA9685 16-channel servo driver and what is it used for?
Drives 16 servos or LEDs over I2C. Makers use it for robot arms, hexapods.
A PCA9685 makes 16 PWM outputs in hardware, so the board only sends I2C updates.
Key specifications
| Interface module spec | Value |
|---|---|
| Function | 16-channel 12-bit PWM |
| Supply voltage | Logic 2.3 to 5.5 V, servo power on a separate terminal |
| Interface | I2C |
| Rating | Servo current comes from your supply |
| Logic level | 3.3 or 5 V |
Pinout
How to use it
Use Adafruit_PWMServoDriver with setPWMFreq(50); servo pulses are roughly 110 to 500 counts of 4096. Feed servos from a separate 5 to 6 V supply on the terminal, never from VCC, and add a large capacitor.
Applications
Builds that use it
Six-axis robotic arm with servo driver
Pan-tilt camera tracker
Snake robot
Mirror-hand robotic hand
Tic-tac-toe playing arm
Two-axis camera gimbal
Delta robot model
Palletising arm model
Alternatives
- SG90 Micro ServoServo to drive
- MCP23017 I/O expander moduleMore I/O pins, no PWM
Common questions
What is the PCA9685 16-channel servo driver used for?
In maker projects: robot arms, hexapods.
How does the PCA9685 16-channel servo driver work?
A PCA9685 makes 16 PWM outputs in hardware, so the board only sends I2C updates.
What voltage does the PCA9685 16-channel servo driver need?
Logic 2.3 to 5.5 V, servo power on a separate terminal.
How do I connect the PCA9685 16-channel servo driver to an Arduino or ESP32?
I2C. Pins: GND (Ground), OE (Low to enable outputs), SCL SDA (I2C), VCC (3.3 to 5 V logic), V+ (Servo power (also on the terminal block)), 0 to 15 (Servo headers (PWM V+ GND)).
What can I use instead of the PCA9685 16-channel servo driver?
SG90 Micro Servo and MCP23017 I/O expander module.
