The SparkFun Auto pHAT for Raspberry Pi is an all-in-one robotics package designed to quickly add
robot functionality and support to your Raspberry Pi or other single-board computer. The Auto pHAT
can drive two small DC motors with or without encoders and up to four servo motors via an I2C
connection. The servo control is based on the SparkFun servo pHAT, and thanks to its I2C
capabilities, this PWM add-on saves the Raspberry Pi's GPIO pins for other uses. It also includes a
Qwiic connector for easy interfacing with the I2C bus using the Qwiic system. Whether you use the
Auto pHAT with a Raspberry Pi, NVIDIA Jetson Nano, Google Coral, or another SBC, it provides a
unique robotics addition for any board with a 2x20 GPIO header.
The DC motor control is handled by the same 4245 PSOC and 2-channel motor ports system used on the
SparkFun Qwiic Motor Driver. This system provides 1.2A steady state drive per channel (1.5A peak)
and 127 levels of DC drive strength. The Auto pHAT also supports up to two motor encoders thanks to
the onboard ATTINY84A, offering precise movement control for your creations.
Additionally, the Auto pHAT includes an on-board ICM-20948 9DOF IMU for motion sensing. This enables
access to the 3-Axis Gyroscope with four selectable ranges, a 3-Axis Accelerometer with four
selectable ranges, and a 3-Axis Magnetometer with an FSR of ±4900µT.
Power for the SparkFun Auto pHAT can be supplied through a USB-C connector or external power inputs.
This power supply will either power the motors only or power both the motors and the connected
Raspberry Pi. The design includes power protection circuits to prevent damage to power sources.