NXP Servo PCA9685 (I2C)

From Visuino
Revision as of 06:16, 25 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoPCA9685Servo.png == Summary == Provides 16-channel PWM control via I2C using the NXP PCA9685 chip. == Description == The **NXP PCA9685 Servo (I2C)** component allows independent PWM/servo control over 16 channels. Each channel can be individually enabled, assigned an initial value, and reversed if necessary. It supports external clock input and open-drain mode. <b>Diagram:</b> Image:TArduinoPCA9685Servo.Preview.png == Properties...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoPCA9685Servo.png

Summary

Provides 16-channel PWM control via I2C using the NXP PCA9685 chip.

Description

The **NXP PCA9685 Servo (I2C)** component allows independent PWM/servo control over 16 channels. Each channel can be individually enabled, assigned an initial value, and reversed if necessary. It supports external clock input and open-drain mode.

Diagram:


Properties

  • Address (i2c) – I2C address of the PCA9685.
  • Enabled – Enables/disables the driver.
  • External Clock (boolean) – Use external clock source.
  • Open Drain (boolean) – Set outputs to open-drain mode.
  • Oscillator Frequency (Hz, default 25 000 000) – Base oscillator frequency.
  • Output Logic Mode (olmZero, olmOne, olmHighImpedance) – Output driver mode.
  • Sleep (boolean) – Low-power sleep mode.
  • Update On Ack (boolean) – Update outputs on I2C ACK.

Per-Channel Properties (Channel[0]–Channel[15])

Property Type Description
Enabled boolean Enables/disables this PWM channel
Initial Value boolean Initial output value
Reversed boolean Invert/reverse output polarity

Pins

Channel Pins

Channel In (analog)
Channel[0]
Channel[1]
Channel[2]
Channel[3]
Channel[4]
Channel[5]
Channel[6]
Channel[7]
Channel[8]
Channel[9]
Channel[10]
Channel[11]
Channel[12]
Channel[13]
Channel[14]
Channel[15]

Control Pins

Pin Direction Type Description
Clock In digital Clock input
Control I/O i2c I2C communication control

Categories