Skip to content
A project ofgwark.dev

NXP · Integrated circuit

PCA9685 16-Channel 12-Bit PWM Driver

Sixteen independent 12-bit PWM channels over I2C, each with its own start and stop point. The chip under every servo and LED driver breakout.

Cheat sheet (SVG)
Logic level
2.3-5.5 V
Package
TSSOP-28 / HVQFN-28

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-14

PCA9685

Pins 15-28

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
2.3-5.5 V
Package
TSSOP-28 / HVQFN-28

Fig. 1. PCA9685 16-Channel 12-Bit PWM Driver, TSSOP-28. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit

What has to go around the chip before it will run.

VCCGNDPCA96850.1 uF ceramic between VDD (28) and GND0.1 uFceramicEnable link between OE (23) and GNDEnablelinkClock link between EXTCLK (25) and GNDClocklink4.7 kOhm between SDA (27) and VCC4.7 kOhm4.7 kOhm between SCL (26) and VCC4.7 kOhmAddress link between A0 (1) and GNDAddresslinkAddress link between A1 (2) and GNDAddresslinkAddress link between A2 (3) and GNDAddresslinkAddress link between A3 (4) and GNDAddresslinkAddress link between A4 (5) and GNDAddresslinkAddress link between A5 (24) and GNDAddresslinkVSS (14) to GNDVDD (28) to VCCA0 1A1 2A2 3A3 4A4 5VSS 14OE 23A5 24EXTCLK 25SCL 26SDA 27VDD 28VDD 28
Fig. 2. Minimum circuit, drawn from Table 1. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
0.1 uF ceramicVDD (28) to GND
Enable linkOE (23) to GND
Clock linkEXTCLK (25) to GND
4.7 kOhmSDA (27) to VCC
4.7 kOhmSCL (26) to VCC
Address linkA0 (1) to GND
Address linkA1 (2) to GND
Address linkA2 (3) to GND
Address linkA3 (4) to GND
Address linkA4 (5) to GND
Address linkA5 (24) to GND

Tie each address pin to VDD instead of ground to move the chip up from 0x40. The load supply is separate: an LED needs its own series resistor, and a servo takes its power from a rail the chip never touches.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for PCA9685 16-Channel 12-Bit PWM Driver
PinNameFunctions

Found a wrong pin? The whole board is one file, data/boards/pca9685.json.

Edit this file on GitHubReport it instead