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 another 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 and 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 onboard 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 a 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.
- 4245 PSOC and 2-channel motor ports programmable using Qwiic library
- On board ATTINY84A supports up to two DC motor encoders
- 5v pass-through from RPi
- On board ICM-20948 9DOF IMU for motion sensing accessible via Qwiic library
- PWM control for up to four servos
- Qwiic connector for expansion to full SparkFun Qwiic ecosystem
- Designed for stacking, full header support & can use additional pHATs on top of it
- Uninhibited access to the RPi camera connector & display connector.
- USB-C for powering 5V rail (Motors/Servos/backpowering Pi)
- External power inputs broken out to PTH headers
- Eagle Files
- Board Dimensions (PNG)
- Hookup Guide
- Python Packages:
- SparkFun HATs and pHATs
- GitHub Hardware Repo
- GitHub Firmware Repo (Qwiic Dual Encoder Reader)
- GitHub Firmware Repo (Qwiic Motor Driver)
- Raspberry Pi Resource Page
Payment & Accreditations
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.