deckle studio
Open the editor
Behavioural mixed-signal modelPCA9685PWpca9685

PCA9685 (16-channel PWM / servo driver, I²C)

16-channel 12-bit PWM controller on I²C (address 40h + A5…A0): every output with its own on and off time in a 4096-step period. Registers, prescaler (24–1526 Hz, 25 MHz internal oscillator), auto-increment, sleep / restart, inverted / open-drain outputs, /OE, LED All Call and software reset as in the NXP data sheet. Use it e.g. with Adafruit_PWMServoDriver (setPWMFreq(50) and setPWM / writeMicroseconds for servos). Outputs push-pull (25 mA sink, 10 mA source) or open drain; servo signals and LEDs directly, bigger loads through a transistor.

VDDVSSSCLSDA/OEEXTCLKA0A1A2A3A4A5LED0LED1LED2LED3LED4LED5LED6LED7LED8LED9LED10LED11LED12LED13LED14LED15PCA9685PW
Schematic symbol

Key data

Category
ICs
Simulation model
Behavioural mixed-signal model
Manufacturer part number
PCA9685PW
Reference prefix
U
Pins
28
Land pattern
TSSOP-28_4.4x9.7mm_P0.65mm

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
pca9685
Supply pins
VDD / VSS

Pins 28

PinNameUse
VDDVDDSupply pinSupply input: decouple with 100 nF close to the pin
VSSVSSGround pinGround
SCLSCLInput pinI²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply
SDASDAI/O pinI²C data: pull-up (about 4.7 kΩ) to the supply
OE/OEInput pinActive-low control input: low = active; tie high when unused
EXTCLKEXTCLKInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
A0A0Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
A1A1Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
A2A2Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
A3A3Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
A4A4Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
A5A5Input pinLogic input: never leave open (tie unused inputs to VCC or GND)
LED0LED0Output pinLogic output: drives the next input; do not tie outputs together
LED1LED1Output pinLogic output: drives the next input; do not tie outputs together
LED2LED2Output pinLogic output: drives the next input; do not tie outputs together
LED3LED3Output pinLogic output: drives the next input; do not tie outputs together
LED4LED4Output pinLogic output: drives the next input; do not tie outputs together
LED5LED5Output pinLogic output: drives the next input; do not tie outputs together
LED6LED6Output pinLogic output: drives the next input; do not tie outputs together
LED7LED7Output pinLogic output: drives the next input; do not tie outputs together
LED8LED8Output pinLogic output: drives the next input; do not tie outputs together
LED9LED9Output pinLogic output: drives the next input; do not tie outputs together
LED10LED10Output pinLogic output: drives the next input; do not tie outputs together
LED11LED11Output pinLogic output: drives the next input; do not tie outputs together
LED12LED12Output pinLogic output: drives the next input; do not tie outputs together
LED13LED13Output pinLogic output: drives the next input; do not tie outputs together
LED14LED14Output pinLogic output: drives the next input; do not tie outputs together
LED15LED15Output pinLogic output: drives the next input; do not tie outputs together

PCB

Verified land patternTSSOP-28_4.4x9.7mm_P0.65mm
PackageLand patternStatusSource
TSSOP-28TSSOP-28_4.4x9.7mm_P0.65mmVerified land patternKiCad 10.0.7: symbol PCA9685PW, footprint Package_SO:TSSOP-28_4.4x9.7mm_P0.65mm; pads by pin name from the KiCad symbol; NXP PCA9685 data sheet
  • A0 To GND or VDD (address bit; no internal pull)
  • OE To GND (outputs on) or a GPIO
  • EXTCLK To GND when unused
  • VDD 2.3–5.5 V with 100 nF