HATs and add-on boards for Raspberry Pi. Add AI acceleration, NVMe storage, audio, sensors and more.
Shop HATs by function
- AI acceleration AI vision and on-device models.
- NVMe storage M.2 SSD storage for Raspberry Pi 5.
- Displays LCD, OLED and e-paper screens.
- Audio DACs, amplifiers and microphones.
- Motors & robotics DC, stepper and servo motor drivers.
- Sensors Environmental sensors and sensor adapters.
- PoE & networking Ethernet power, mobile data and extra ports.
- LEDs & lighting RGB matrices and addressable light boards.
- Prototyping GPIO breakouts, headers and mounting hardware.
- Power & UPS Battery and UPS boards, wide-input power and on/off switches.
HATs & electronics for Raspberry Pi 4
2 products
Filter (2 on)
Mini HAT / pHAT
Pirate Audio Speaker for Raspberry Pi
Listed for Pi 4, not yet checked. The listing names this board. We haven't checked it against the maker's documentation.
SKU: PR-PIM485 | Brand: Pimoroni
Pump out mini beats with Pirate Audio Speaker for Raspberry Pi. This compact sound system combines an I2S DAC, amplifier, mono speaker, high-resolution display, and playback control buttons in one fully-assembled HAT....
Out of stock
Mini HAT / pHAT
Pirate Audio: Dual Mic for Raspberry Pi
Listed for Pi 4, not yet checked. The listing names this board. We haven't checked it against the maker's documentation.
SKU: PR-PIM524 | Brand: Pimoroni
Capture sounds in stereo with Pirate Audio: Dual Mic for Raspberry Pi. This mini HAT features a matched pair of I2S microphones, a vibrant high-resolution colour display, and four tactile control buttons for a complet...
Out of stock
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 on a Raspberry Pi 4. We haven't tested stacks ourselves, so anything we can't confirm is marked as unknown.
Guides & code
From our blog
- Exploring Raspberry Pi's New PCIe FFC Connector and HAT+ Standard: Key Updates and Features News
- Raspberry Pi AI HAT+ 2 Arrives in Australia: Generative AI on Raspberry Pi 5 News
- Enhancing Raspberry Pi 5 Performance with NVMe Boot Drive Getting Started with Raspberry Pi
- Navigating GPIO Pins Using Python Getting Started with Raspberry Pi
- Selecting the Right Raspberry Pi Case for HAT Compatibility: Spotlight on the HighPi Raspberry Pi 4 Model B Case News
Documentation & code
- What makes a HAT The HAT and HAT+ rules in plain terms (board size, mounting holes, the ID EEPROM, power and stacking), how pHATs and Bonnets fit in, and what to check before you buy a HAT for your Pi.
- The Raspberry Pi GPIO header What each of the 40 GPIO pins does, which pins carry I2C, SPI and UART, how much the pins can safely handle, and how to look the layout up on the Pi itself.
- Controlling GPIO from Python with gpiozero Light an LED, read a button, fade with PWM and react to a motion sensor in a few lines of Python, and why gpiozero works on a Raspberry Pi 5 when older libraries don't.