Pi Servo pHAT (v2) Hookup Guide
The SparkFun Pi Servo pHAT provides your Raspberry Pi with 16 PWM channels that can be controlled over I2C. These channels are broken out in a header combination that is perfect for connecting servo motors. Additionally, the PWM channels can control other PWM devices as well.
SparkFun Servo pHAT for Raspberry PiDEV-15316
Furthermore, the Pi Servo pHAT can be used for a serial terminal connection to remotely control the Raspberry Pi, without the need for a monitor and keyboard (header used by the Sphero RVR). As an added bonus, we have provided a Qwiic connector for users to easily interface with the I2C bus using the Qwiic system. Who says you can't have it all?
To get started with the Pi Servo pHAT, you will need a Raspberry Pi board with headers. There are several options that can be found under the Raspberry Pi Board product category. Additionally, we also offer these boards in various kits.
SparkFun Pro Micro - RP2040DEV-18288
Raspberry Pi 3 B+ Starter KitKIT-15361
(Some, but not all of our Raspberry Pi kits include a Raspberry Pi. Be sure to double check the Includes tab of the associated product page. Additionally, the Sphero RVR kits will include this Pi Servo pHAT.).
There are a few additionally accessories that you will need to use your Raspberry Pi.
You will need an microSD Card, Power Supply, and USB-C Cable (optional) at minimum to run your Raspberry Pi. There are two options for the microSD card, a NOOBS card that comes pre-flashed with the OS need to run your Raspberry Pi or a blank SD card that can be flashed using the files and instructions from the Raspberry Pi Foundation page.
microSD Card - 16GB (Class 10)COM-15051
microSD USB ReaderCOM-13004
USB 3.1 Cable A to C - 3 FootCAB-14743
(To flash your own SD card, you will also want to grab a microSD USB adapter.)
Last of all, to test the functionality of the Pi Servo pHAT you will want a servo motor.
Servo - Generic (Sub-Micro Size)ROB-09065
Servo - Generic Metal Gear (Micro Size)ROB-14760
Actuonix PQ12-100-6-R Micro-ActuatorROB-18591
(Any "standard" 5V servo in our catalog should work. Keep in mind when purchasing, the continuous rotation servos behave differently from the normal servos.)
No tools are required to used this product. However, you may need a soldering iron, solder, and/or general soldering accessories to solder modify the jumpers or solder on headers to your Raspberry Pi board (if it didn't come with them).
Break Away Headers - StraightPRT-00116
Solder Lead Free - 15-gram TubeTOL-09163
Soldering Iron - 30W (US, 110V)TOL-09507
Below are several tutorials and hookup guides covering various topics that we suggest users get familiar with before beginning this hookup guide. As a supplement, the hookup guides for the previous Pi Servo Hat are listed as well.
Pulse Width Modulation
Raspberry Pi SPI and I2C Tutorial
Hobby Servo Tutorial
Setting Up the Pi Zero Wireless Pan-Tilt Camera
Pi Servo Hat Hookup Guide
Getting Started with the Raspberry Pi Zero Wireless
Python Programming Tutorial: Getting Started with the Raspberry Pi
The Pi Servo pHAT also provides a Qwiic connector to take advantage of our new Qwiic system. We recommend familiarizing yourself with the Logic Levels and I2C tutorials before using it. Click on the banner above to learn more about our Qwiic products.