SparkFun Auto pHAT for Raspberry Pi
The SparkFun Auto pHAT for Raspberry Pi is an all-in-one robotics package that focuses on quickly adding 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 in a straightforward manner 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, allowing you to use them for other purposes. We have also provided 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 other SBC, it makes for a unique robotics addition for any board with a 2x20 GPIO.
The DC motor control comes from the same 4245 PSOC and 2-channel motor ports system used on the SparkFun Qwiic Motor Driver. This provides 1.2A steady state drive per channel (1.5A peak) and 127 levels of DC drive strength. The SparkFun Auto pHAT also supports up to two motor encoders thanks to the onboard ATTINY84A to provide more precise movement to your creation!
Additionally, the Auto pHAT has an on-board ICM-20948 9DOF IMU for all your motion sensing needs. This enables your robot to access the 3-Axis Gyroscope with four selectable ranges, 3-Axis Accelerometer, again with four selectable ranges, and 3-axis magnetometer with an FSR of ±4900µT.
Power to the SparkFun Auto pHAT can be supplied through USB-C connector or external power. This will power either the motors only, or power the motors as well as the Raspberry Pi that is connected to the HAT. We've even added power protection circuits to the design, to avoid damage to power sources.