Raspberry Pi Build HAT
Raspberry Pi Build HAT
Connect Raspberry Pi computing power with LEGO® Technic™ motors and sensors
The Raspberry Pi Build HAT fits any Raspberry Pi with a 40-pin GPIO header and lets you control up to four LEGO® Technic™ motors and sensors from the LEGO® Education SPIKE™ Portfolio, a flexible system with unlimited possibilities. Build robust, intelligent machines that combine Raspberry Pi computing power with LEGO components.
Projects that make sense
The LEGO Education SPIKE Portfolio features a wide variety of sensors and motors that you can control with the Build HAT Python library on your Raspberry Pi. Explore the world around you with sensors to detect distance, force, and colour, and choose from a variety of motor sizes to suit any build. The Build HAT also supports motors and sensors from the LEGO® MINDSTORMS® Robot Inventor kit, as well as most other LEGO devices that use an LPF2 connector.
The power of the Build HAT
With the Raspberry Pi Build HAT Power Supply, available separately, the Build HAT can power your Raspberry Pi (except Raspberry Pi 400) and all connected devices.
Build with Raspberry Pi and the LEGO® bricks you love
The new, specially designed LEGO Maker Plate is the first LEGO element ever designed to connect to something that isn’t another piece of LEGO. It allows you to attach your Raspberry Pi to your LEGO creations, and it’s available with the SPIKE Prime Expansion Set (45681).
In the classroom
Easily integrate LEGO Education SPIKE Prime with Raspberry Pi computers. Supported by guided projects from the Raspberry Pi Foundation designed for secondary school students, the Raspberry Pi Build HAT delivers a unique hands-on learning experience that’s accessible, engaging, and confidence-building for all students.
- Supports motors and sensors included in the LEGO® Education SPIKE™ Portfolio, along with those from the LEGO® MINDSTORMS® Robot Inventor kit and most other LEGO devices that use an LPF2 connector
- Fits any Raspberry Pi computer with a 40-pin GPIO header (including, with the addition of a ribbon cable or other extension device, Raspberry Pi 400)
- Specially developed Python library supports students and makers to create and learn
- DC power connector: 2.1mm barrel jack, centre positive
- Powers your Raspberry Pi computer (except Raspberry Pi 400) and connected LEGO Technic devices when used with an external 8V ±10% DC power source, such as the Raspberry Pi Build HAT Power Supply, or a 7.5V battery pack
- Onboard Raspberry Pi RP2040 microcontroller manages low-level control of LEGO Technic devices
The Raspberry Pi Build HAT has undergone extensive compliance testing and meets a number of regional and international standards.
View and download relevant certificates and conformity documents.
If you require any further information regarding compliance, please contact us at email@example.com
Raspberry Pi Build HAT will remain in production until at least January 2028