Waveshare Servo Driver HAT User Manual

This manual explains the features, wiring, I2C setup and Python examples for controlling up to 16 servos with the Waveshare Servo Driver HAT on a Raspberry Pi.


Waveshare Servo Driver HAT User Manual - cover page
Brand
Waveshare
Category
Servo motor
Document type
User Manual
Language
Chinese
Pages
10
File format
PDF
File size
662 KB
Published
29 September, 2026
Updated
29 September, 2026
MD5 checksum
2FAF7BDEBBB6857DFB733E985A610CEC

About this manual

The Servo Driver HAT is a Raspberry Pi‑compatible expansion board that uses a PCA9685 chip to provide 16‑channel 12‑bit PWM/servo control via the I2C bus. It includes an on‑board 5 V regulator, supports 6‑12 V input, and can supply up to 3 A to the servos.

The guide covers hardware connections, enabling I2C on the Pi, and provides Python 2/3 example programs for direct PWM control, Wi‑Fi remote control, and Bluetooth remote control. It also details the PCA9685 library functions and required parameters for proper servo operation. This manual is written in Chinese.

What's inside

  • Product Features
  • Hardware Description
  • I2C Interface Setup
  • Running Example Programs
  • Wi‑Fi Remote Control
  • Bluetooth Remote Control
  • PCA9685 Library Usage
  • Parameter Reference

Specifications

Input Voltage (VIN)6 V~12 V
Servo Voltage5 V
Logic Voltage3.3 V
Driver ChipPCA9685
Control InterfaceI2C
Board Size65 mm × 30 mm
Mounting Hole Diameter3.0 mm
Maximum Output Current3 A
Number of Channels16
PWM Resolution12 bit

Frequently asked questions

How do I enable the I2C interface on the Raspberry Pi?

Run sudo raspi-config, select Interfacing Options → I2C and choose Yes.

What PWM frequency should be set for servo control?

Set the PWM frequency to 50 Hz using the setPWMFreq(50) function.

How many servos can be controlled simultaneously with the HAT?

The board provides 16 PWM channels, allowing up to 16 servos to be controlled at once.

What is the acceptable input voltage range for the board?

The board accepts an input voltage between 6 V and 12 V.

Download PDF (662 KB)