Raspberry Pi HAT Specification Released

Raspberry Pi
Raspberry Pi HAT Specification Released


Arduino has shields. BeagleBone has capes. And now Raspberry Pi has HATs. The Raspberry Pi Foundation officially announced their specification for add-on boards for their new Model B+ single board computer, which just started shipping. HAT stands for “Hardware Attached on Top” and is meant to make it easier for the end user to add hardware to their Pi.

As with BeagleBone capes, the spec includes the physical layout of the boards and on-board I2C EEPROM memory to hold information about the manufacturer, GPIO setup, and device tree fragment, which is a way for Linux to properly configure the pins to use the hardware on the HAT. According to a post by James Adams, Director of Hardware at Raspberry Pi, manufacturers aren’t required to follow the spec, but warns that manufacturers cannot call their add-on board a HAT if it doesn’t follow the spec.

“We want to ensure consistency and compatibility with future add-on boards, and to allow a much better end-user experience, especially for less technically aware users,” said James.

The full specification is available on Github and includes diagrams, a design guide, ciruits for backpowering the Pi, and the structure for the data stored on the EEPROM.

Discuss this article with the rest of the community on our Discord server!

Matt Richardson is a San Francisco-based creative technologist and Contributing Editor at MAKE. He’s the co-author of Getting Started with Raspberry Pi and the author of Getting Started with BeagleBone.

View more articles by Matt Richardson


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).