Store

SparkFun

$82.34 |
In stock at supplier
No reviews yet

The SparkFun Auto pHAT is an all-in-one robotics add-on for the Raspberry Pi. It drives up to two DC motors (with optional encoder support) and four servo mo...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The SparkFun Auto pHAT is an all-in-one robotics add-on for the Raspberry Pi. It drives up to two DC motors (with optional encoder support) and four servo motors, all controlled over I2C — leaving your Pi's GPIO pins free for other uses. A Qwiic connector is included for easy expansion.

The board also features an on-board ICM-20948 9DoF IMU (accelerometer, gyroscope, and magnetometer) for motion sensing. Power is supplied via USB-C, which can power the motors alone or both the motors and the connected Pi. The USB-C port also provides serial access for headless Pi setup.

Key Features

  • 2-Channel DC Motor Driver – 1.2A steady-state per channel (1.5A peak), 127 drive levels
  • 4-Channel Servo Control – PCA9685-based PWM via I2C (default address 0x40)
  • Dual Encoder Support – ATTINY84A on-board for precise motor feedback
  • ICM-20948 9DoF IMU – 3-axis accelerometer, gyroscope, and magnetometer (±4900 µT FSR)
  • USB-C Power – Powers motors and optionally the Pi; also provides serial access
  • Qwiic Connector – Expand with additional I2C sensors and devices
  • Power Protection – Built-in circuits to protect power sources

Compatibility

  • Raspberry Pi (all models with 2×20 GPIO header)
  • NVIDIA Jetson Nano
  • Google Coral
  • Other SBCs with 2×20 GPIO

Ideal For

  • Raspberry Pi robotics projects
  • Autonomous vehicles and rovers
  • Motion-controlled platforms with IMU feedback
  • Multi-servo robot arms and mechanisms

Package Contents

  • 1× SparkFun Auto pHAT

Resources

Jargon buster

Plain-language definitions for the technical terms used above.

encoder
A device attached to a motor or shaft that reports movement, such as rotation steps or position. In a pump system, an encoder can help measure or control how much the motor has turned, which affects how repeatable the watering amount can be.
FSR
Full-scale range is the span between the lowest and highest output a converter can produce. Error specifications given as a percentage of FSR depend on the selected output range, such as 2.5 V or 5 V.
GPIO
General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
Gyroscope
A gyroscope measures rotation, such as how fast a board is turning around its X, Y, and Z axes. This matters for projects like gesture controls, balancing robots, and motion tracking where tilt or rotation changes need to be detected.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
ICM-20948
A motion-sensing chip that combines accelerometer, gyroscope, and magnetometer measurements. The part number matters because it tells you the board can provide 9-axis orientation and movement data, and which software libraries or drivers are likely to work.
IMU
An Inertial Measurement Unit combines motion sensors to measure movement and orientation. It matters for asset tracking because it can detect movement, tilt, vibration, or changes in direction.
magnetometer
A sensor that measures magnetic fields, often used to work out compass direction. It matters because nearby magnets, motors, or metal objects can affect readings and may require calibration.
motor driver
An electronic circuit that lets a low-power controller switch and control a motor that needs more current than the controller pins can safely provide. Checking motor driver support matters because pumps and motors usually cannot be connected directly to a microcontroller output.
NVIDIA Jetson Nano
A compact NVIDIA computing module used for camera, robotics and machine-learning projects at the edge. Compatibility with Jetson Nano tells you this carrier board can host that module, but the module itself is not included.
pHAT
A smaller add-on board format for Raspberry Pi, similar in idea to a HAT but usually not full-sized. It matters because pHAT compatibility can affect how neatly a board stacks or fits into a Raspberry Pi project.
PWM
Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
Qwiic
Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
servo
A servo is a motor with built-in position control, usually told to move to a specific angle by a control signal. It matters when you need repeatable movement, such as steering, arms, flaps, or linkages, rather than continuous spinning.
USB-C
A modern reversible USB connector used for power and data connections. On this product it matters because it can connect directly to a computer as well as to a microcontroller project.

SparkFun Auto pHAT Schematic

Schematic · 226.8 KB · Click any page to view full size

Download PDF

Supplier page — sparkfun.com

Supplier Description · 735.3 KB · Click any page to view full size

Download PDF
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.