AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

HATs and add-on boards for Raspberry Pi. Add AI acceleration, NVMe storage, audio, sensors and more.

Raspberry Pi AI HAT+ 2 Raspberry Pi AI HAT+ 2

Shop HATs by function

Official Raspberry Pi HATs

Shop the collection
Check HAT compatibilityForm factors, GPIO interfaces and stacking advice. Compatibility guide

HAT+, HAT or pHAT — what fits your Pi?

An add-on board has to suit your Pi three ways: the connector it plugs into, the software it needs, and the space it takes up. Each card below says whether we've checked its fit with your board, and the stack checker compares boards side by side.

HAT+

Current standard

Raspberry Pi's current specification for add-on boards. A HAT+ has an ID EEPROM that tells the Pi which settings to load, and at least one mounting hole that lines up with the Pi's. HAT+ boards work electrically with older Pis, but ones that use the PCIe connector (M.2 HAT+, AI HAT+) need a Raspberry Pi 5.

HAT

Original standard · now deprecated

The original spec: 65 × 56.5 mm (65 × 56 mm with a through-hole header), mounting holes that match the Pi's, at least 8 mm above it, and an ID EEPROM. Not every board sold as a HAT has the EEPROM, so check the listing.

pHAT & micro HATs

Zero-sized · 65 × 30 mm

Raspberry Pi's micro-HAT outline matches the Pi Zero, and the TV HAT is one. "pHAT" and "bonnet" are makers' names for boards this size, so check each listing for an EEPROM and which pins it uses.

Which pins does it use?

GPIO
Plain on/off pins for buttons, relays and LEDs. 3.3 V logic — never feed a pin 5 V.
I²C
Two wires (GPIO 2 and 3) shared by many devices, each at its own address. Most sensors use it.
SPI
A faster bus for displays and ADCs on GPIO 8–11, with a chip-select line (CE0 or CE1) per device.
UART
Serial on GPIO 14 and 15 for GPS modules, modems and the Build HAT.
I²S
Digital audio on GPIO 18–21, used by DAC and microphone HATs.
PCIe
Raspberry Pi 5 only, through its single PCIe ribbon connector — NVMe SSDs and AI accelerators.
ID pins
GPIO 0 and 1 are kept for the HAT's ID EEPROM. The HAT+ spec allows nothing else on them.
  • Stacking: the HAT+ spec allows one board of each class at a time — one standard HAT+ or original HAT, one stackable HAT+ and one power HAT+. Boards without an EEPROM, like the PoE+ HAT, may or may not combine; check first.
  • Raspberry Pi 5 has one PCIe connector, and the M.2 HAT+ and AI HAT+ each plug a ribbon cable into it.
  • Check the operating system: the AI HAT+ and AI HAT+ 2 need 64-bit Raspberry Pi OS Trixie (with packages that can't be installed together), while the Build HAT isn't supported on Trixie yet and needs Bookworm.
  • Raspberry Pi 5 moved its PoE header, so it doesn't take the PoE+ HAT, which fits Raspberry Pi 4 and 3B+.
  • Raspberry Pi 500 and 400 have the GPIO header on the back edge, so a HAT connects by ribbon cable, and the Build HAT can't power them.
  • For Raspberry Pi 5, Raspberry Pi recommends the 27W USB-C supply. The Build HAT and PoE+ HAT power the Pi themselves (from an 8 V supply, or from the network); then don't add USB power as well.
  • For Python, Raspberry Pi recommends the GPIO Zero library, installed by default in Raspberry Pi OS.

All HATs & add-ons

106 products

Filter

Compare boards and check a stack

Pick up to 3 boards to see what we've checked about each side by side, and whether they'd fight over the same pins or connectors. We haven't tested stacks ourselves, so anything we can't confirm is marked as unknown.

Maddy from the Pi Australia team

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.