![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/products/raspberry-pi-build-hat-raspberry-pi-sc0622-30116423205059_1500x.jpg?v=1646244918)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/products/raspberry-pi-build-hat-raspberry-pi-sc0622-30116423467203_1500x.jpg?v=1646244921)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/products/raspberry-pi-build-hat-raspberry-pi-sc0622-30116423860419_1500x.jpg?v=1646245088)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/products/raspberry-pi-build-hat-raspberry-pi-sc0622-30116424188099_1500x.jpg?v=1646245091)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/products/raspberry-pi-build-hat-raspberry-pi-sc0622-30116424745155_1500x.jpg?v=1646245094)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/files/raspberry-pi-build-hat-raspberry-pi-105974-42245298356419_2048x.jpg?v=1716305161)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/files/raspberry-pi-build-hat-raspberry-pi-105976-42245298389187_2048x.jpg?v=1716305166)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/files/raspberry-pi-build-hat-raspberry-pi-105975-42245298454723_2048x.jpg?v=1716305171)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/files/raspberry-pi-build-hat-raspberry-pi-105977-42245298487491_2048x.jpg?v=1716305173)
![Raspberry Pi Build HAT - The Pi Hut](http://thepihut.com/cdn/shop/files/raspberry-pi-build-hat-raspberry-pi-105978-42245298421955_2048x.jpg?v=1716305163)
Login / Signup
Cart
Your cart is empty
The Raspberry Pi Build HAT is an official Raspberry Pi add-on board designed in collaboration with LEGO® Education to make it easy to control LEGO® SPIKE™ Prime motors and sensors with the Raspberry Pi. The HAT combines the power of Raspberry Pi computing with LEGO® hands-on learning to enable a fun and creative learning experience for students, teachers and makers.
Update! We're now offering great-value Build HAT bundle options!
Buy just the HAT on its own, or select options to add official LEGO® motors to your order (sorry, we're not offering the motors on their own yet).
Select an option above to add the following to your order:
The Build HAT provides four connectors for LEGO Technic motors and sensors from the LEGO® Education SPIKE™ Prime range. The SPIKE™ Prime range includes a distance sensor, a colour sensor and a force sensor. The angular motors come in a range of sizes and include integrated encoders that can be queried to find their position.
The LEGO® Education SPIKE™ Prime set 45678 and SPIKE™ Prime Expansion set 45681, available separately from LEGO Education resellers, includes a collection of useful elements supported by the Build HAT. Connected compatible LEGO® devices can easily be controlled in Python, alongside standard Raspberry Pi accessories such as a camera module.
An official Raspberry Pi 8V 6A UK power supply designed specifically for the Build HAT is also available which is designed to power both the Build HAT and Raspberry Pi computer along with all connected LEGO® Technic devices.
The LEGO® Maker Plate, available separately from LEGO® retailers, allows users to easily attach Raspberry Pi computers to the LEGO® building system.
LEGO Compatibility
The Build HAT is compatible with the most recent generation of LEGO® Technic™ motors and sensors included in the LEGO® Education SPIKE™ Prime portfolio. The LEGO® Education SPIKE Prime set 45678 and SPIKE Prime Expansion set 45681, available separately from LEGO Education resellers, includes a collection of useful elements supported by the Build HAT - or add LEGO® motors to your order by selecting a bundle above!
The Build HAT is not compatible with LEGO Mindstorms (EV3) because the plug system is different. The Build HAT/SPIKE™ Prime system uses LPF2 plugs whereas the Mindstorms system uses RJ12 plugs.
Raspberry Pi Compatibility
The Build HAT fits all Raspberry Pi computers with a 40-pin GPIO header, including (with the addition of a ribbon cable extension) the Raspberry Pi 400. Please note that the Build HAT cannot power the Raspberry Pi 400 as it does not support being powered via the GPIO headers.
Connected LEGO Technic devices can easily be controlled in Python, alongside standard Raspberry Pi accessories such as a camera module.
Build HAT Links
LEGO Links