Contributors:
QCPete,
santaimpersonator
Favorited
Favorite
6
Introduction
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.
In stock
DEV-15316
The SparkFun Servo pHAT for Raspberry Pi allows your Raspberry Pi to control up to 16 servo motors in a straightforward manne…
5
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?
Required Materials
Note: Below are lists of products that you will need for this hookup guide. You may already have some of these products in your cart or at home; please, feel free to modify your cart as necessary.
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.
Out of stock
DEV-27445
The Raspberry Pi 500 is a complete Raspberry Pi 5-based personal computer, integrated into a keyboard.
Out of stock
WRL-25134
The SparkFun RP2350 Thing Plus is a dynamic and powerful wireless development platform in the Thing Plus form factor.
In stock
DEV-23551
The next iteration of the Raspberry Pi single board computer featuring a 64-bit quad-core Arm Cortex-A76 processor running at…
38
In stock
DEV-24870
The SparkFun RP2350 Pro Micro provides a powerful development platform in our compact Pro Micro form factor built around the…
5
Retired
KIT-14298
The Raspberry Pi Zero W can be a bit tricky to set up with its unique power and cable requirements. That's where this kit com…
5
Retired
Retired
KIT-15302
The SparkFun Basic Autonomous Kit for Sphero RVR provides an expansion set of sensors to the Sphero RVR platform.
Retired
Retired
KIT-15303
The SparkFun Advanced Autonomous Kit for Sphero RVR provides tools for building a smart robotics platform with distance sensi…
4
Retired
Retired
KIT-15361
The Raspberry Pi 3 B+ Starter Kit is a great way to gain a solid introduction to the small, credit-card-sized computer.
2
Retired
(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.
In stock
COM-14832
This is a class 10 32GB microSD memory card, perfect for housing operating systems for single board computers and a multitude…
1
Retired
COM-14833
This is a class 10 64GB microSD memory card, perfect for housing operating systems for single board computers and a multitude…
Retired
Out of stock
COM-15051
This is a class 10 16GB microSD memory card, perfect for housing operating systems for single board computers and a multitude…
Out of stock
COM-15052
This is a class 10, 16GB, micro SDHC card that has been pre-installed with the NOOBS operating system for the Raspberry Pi.
In stock
TOL-13831
This is a high-quality switching 'wall wart' AC to DC 5.1V 2,500mA USB Micro-B wall power supply manufactured specifically fo…
23
In stock
CAB-14743
USB C is fantastic. But until we have converted all our hubs, chargers, and ports over to USB C this is the cable you're goin…
4
Out of stock
COM-13004
This is an awesome little microSD USB reader. Just slide your microSD card into the inside of the USB connector, then stick t…
12
(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.
In stock
ROB-09065
Here is a simple, low-cost, high quality servo for all your mechatronic needs. This servo is very similar in size and specifi…
13
Out of stock
ROB-11965
Here is a powerful, low-cost, reliable servo for all your mechatronic needs. This servo is able to take in 6 volts and delive…
5
In stock
ROB-10189
Here, for all your mechatronic needs, is a simple, high quality continuous rotation servo motor. This servo is able to take i…
3
In stock
ROB-09347
Here, for all your mechatronic needs, is a simple, high quality continuous rotation servo motor. This servo is able to take i…
6
(Any "standard" 5V servo in our catalog should work. Keep in mind when purchasing, the continuous rotation servos behave differently from the normal servos.)
Required Tools
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).
In stock
PRT-00116
A row of headers - break to fit. 40 pins that can be cut to any size. Used with custom PCBs or general custom headers.
20
In stock
TOL-09163
This is your basic tube of unleaded (Pb-free) solder with a no clean, water soluble resin core. 0.031" gauge and 15 grams
4
19 available
TOL-09200
It's like an Xacto knife, only better. We use these extensively when working with PCBs. These small knives work well for cutt…
2
20 available
TOL-09507
This is a very simple fixed temp, quick heating, 30W 110/120 VAC soldering iron. We really enjoy using the more expensive iro…
7
Suggested Reading
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.
I2C
An introduction to I2C, one of the main embedded communications protocols in use today.
Raspberry Pi SPI and I2C Tutorial
Learn how to use serial I2C and SPI buses on your Raspberry Pi using the wiringPi I/O library for C/C++ and spidev/smbus for Python.
Hobby Servo Tutorial
Servos are motors that allow you to accurately control the rotation of the output shaft, opening up all kinds of possibilities for robotics and other projects.
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.