User Manual
2
4
6
6
7
7
8
10
10
11
12
12
12
14
14
14
14
15
16
16
17
17
19
19
19
19
19
19
19
19
19
19
21
21
23
25
25
25
25
26
26
26
26
Guide Contents
Guide Contents
Overview
Powering Servos
Powering Servos / PWM
OR
Current Draw Requirements
Adding a Capacitor to the thru-hole capacitor slot
Connecting Servos
Connecting a Servo
Adding More Servos
Attach & Test HAT/Bonnet
Step 1 - Plug in HAT
Step 2. Configure your Pi to use I2C devices
Python Usage
Python Wiring
Python Installation of ServoKit Library
Python Usage
Dimming LEDs
Controlling Servos
Standard Servos
Continuous Rotation Servos
Full Example Code
Library Reference
Initialize Object
setPWMFreq(self, freq)
Description
Arguments
Example
setPWM(self, channel, on, off)
Description
Arguments
Example
Stacking HATs
Extra Parts
Addressing the HATs
FAQ
Can this HAT be used for LEDs or just servos?
I am having strange problems when combining this shield with the Adafruit LED Matrix/7Seg Backpacks
If I'm using it with LEDs I cant quite get the PWM to be totally off?
Downloads
Files & Downloads
Schematics
Fabrication Print
© Adafruit Industries https://learn.adafruit.com/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi Page 2 of 28










