Skip to datasheet
16-channel 12-bit PWM controller

PCA9685 Working Principle

Learn how PCA9685 works with an illustrated explanation and practical readings.

Package view

PCA9685 at a glance

Follow the labeled connections and functional stages

PCA9685 working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

4 stages · Explore one step at a time

Step 1 / 4

Address and initialize

Tie A5–A0 to defined levels. With all LOW, use 7-bit 0x40. Power-on leaves SLEEP set, so initialization must enable the clock.

Step 2 / 4

Choose one frequency

Set SLEEP, write PRE_SCALE, clear SLEEP and allow at least 500 µs for the internal oscillator to stabilize. Use the documented RESTART sequence when resuming active channels.

Step 3 / 4

Set each pulse window

Write the 12-bit ON and OFF counts for each channel. Separate phase offsets can stagger switching and reduce simultaneous load transients.

Step 4 / 4

Match the electrical load

Select open-drain or totem-pole for all outputs together. LEDs need resistors; motors and high-power loads need separate drivers and power supplies.

Component view