Raspberry Pi Build HAT
Raspberry Pi’s Build HAT fits any 40-pin GPIO header
The Raspberry Pi Build HAT was developed to fit any 40-pin GPIO header and connect to up to four LEGO® Technic™ motors and sensors from the LEGO Education SPIKE™ system. The available sensors include a distance sensor, a color sensor, and a force sensor. The LEGO Technic motors are angular and come in various sizes, and include integrated encoders that can be programmed to record their position. With this system, the possibilities are endless.
With the ability to connect to a 40-pin GPIO header, this product fits all Raspberry Pi boards as well as the Pi400 with the addition of a ribbon cable or other extension device. Connected LEGO Technic devices can easily be controlled in Python, alongside standard Raspberry Pi accessories such as the camera module.
The Raspberry Pi Build HAT Power supply, which is available separately, is designed to have enough power to power the Build HAT, Raspberry Pi board, and all connected LEGO Technic devices.
Features
- Controls up to four LEGO Technic motors and sensors included in the SPIKE portfolio, along with those from the LEGO MINDSTORMS® Robot Inventor kit and most other LEGO devices that use an LPF2 connector
- Fits onto any Raspberry Pi computer with a 40-pin GPIO header
- Easy-to-use Python library to control LEGO Technic devices
- Onboard Raspberry Pi RP2040 microcontroller manages low-level control of LEGO Technic devices
- DC power connector: 2.1 mm barrel jack, center positive
- Requires an external 8 V ±10% DC power source – like the Raspberry Pi Build HAT power supply, or a 7.5 V battery pack – to power the Build HAT, Raspberry Pi computer (except Raspberry Pi 400), and connected LEGO Technic devices
Build HAT Platform
| Image | Manufacturer Part Number | Description | Available Quantity | Price | View Details | |
|---|---|---|---|---|---|---|
![]() | ![]() | SC0622 | RASPBERRY PI BUILD HAT | 193 - Immediate | $19.18 | View Details |
Accessories
| Image | Manufacturer Part Number | Description | Available Quantity | Price | View Details | |
|---|---|---|---|---|---|---|
![]() | ![]() | SC0749 | AC/DC WALL MOUNT ADAPTER 8V 48W | 36 - Immediate | $11.51 | View Details |
![]() | ![]() | SC0748 | AC/DC WALL MOUNT ADAPTER 8V 48W | 12 - Immediate | $11.51 | View Details |
![]() | ![]() | SC0747 | AC/DC WALL MOUNT ADAPTER 8V 48W | 48 - Immediate | $11.51 | View Details |
![]() | ![]() | SC0746 | AC/DC WALL MOUNT ADAPTER 8V 48W | 68 - Immediate | $11.51 | View Details |







