16-Channel PWM Module (PCA9865)
A standard 16-channel pwm module (pca9865) used for electronic prototyping.
Component Preview
This is the 16-Channel PWM Module (PCA9865) component available in the OpenHW Studio Simulator.
Logic ComponentsComponent
Pin Reference
| Pin | Type | Description |
|---|---|---|
| GND | power | Ground. |
| OE | input | Output Enable. Active low. Connect to GND to enable outputs. |
| SCL | input | I2C Clock line. |
| SDA | input | I2C Data line. |
| VCC | power | Logic Power Supply (usually 5V). |
| V+ | power | Motor/Servo Power Supply (often 5V to 6V). |
Wiring Diagram

Example Arduino Code
cpp
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();
void setup() {
Serial.begin(9600);
pwm.begin();
pwm.setPWMFreq(50); // Typical for servos
}
void loop() {
// Drive channel 0 to minimum pulse
pwm.setPWM(0, 0, 150);
delay(1000);
// Drive channel 0 to maximum pulse
pwm.setPWM(0, 0, 600);
delay(1000);
}