# Raspberry Pi Build HAT

**Type:** Product page · **SKU:** CE08244 · **Brand:** [Raspberry Pi](https://core-electronics.com.au/brands/raspberry-pi-australia) · **GTIN:** 0617588405785
**Page:** https://core-electronics.com.au/raspberry-pi-build-hat.html ([markdown](https://core-electronics.com.au/raspberry-pi-build-hat.html.md))

The Build HAT allows you to control LEGO® Technic™ devices with your favorite Raspberry Pi.

> ⚠ Deal is for shelf stock only — any additional stock will be at the normal price.

## Pricing

- **Price:** $30.77 (inc GST) — $27.97 AUD, exc GST

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 217 today; more stock is typically available with a 5–11 day lead time.

## Description

The Raspberry Pi Build HAT is an add-on board that connects to the 40-pin GPIO header of your Raspberry Pi, which was designed in collaboration with LEGO® Education to make it easy to control LEGO® Technic™ motors and sensors with Raspberry Pi computers.

It provides four connectors for LEGO® Technic™ motors and sensors from the SPIKE™ Portfolio. The available sensors include a distance sensor, a color sensor, and a versatile force sensor. The angular motors come in a range of sizes and include integrated encoders that can be queried to find their position.

The Build HAT fits all Raspberry Pi computers with a 40-pin GPIO header, including — with the addition of a ribbon cable or other extension device — Raspberry Pi 400, it can be also be fitted to a Raspberry Pi 5 with the Raspberry Pi Active Cooler in place.[ Extra-long stackable headers](https://core-electronics.com.au/stacking-2x20.html) are needed when using the active cooler. Connected LEGO® Technic™ devices can easily be controlled in Python, alongside standard Raspberry Pi accessories such as a camera module.

The Raspberry Pi Build HAT power supply, available separately, is designed to power both the Build HAT and Raspberry Pi computer along with all connected LEGO® Technic™ devices.

The Build HAT is the second Raspberry Pi product, after Raspberry Pi Pico, to be powered by the Raspberry Pi RP2040 microcontroller. It fits all Raspberry Pi boards with the 40 pin I/O header (though the Pi 400 needs a ribbon cable).

**Features:**

- Controls up to four LEGO® Technic™ motors and sensors included in the SPIKE™ Portfolio
- Easy-to-use Python library to control your LEGO® Technic™ devices
- Fits onto any Raspberry Pi computer with a 40-pin GPIO header
- On board RP2040 microcontroller manages low-level control of LEGO® Technic™ devices
- External 8V PSU available separately to power both Build HAT and Raspberry Pi
- 4x 9mm Standoffs with fasteners included
 
Documents

- [Product Brief](https://core-electronics.com.au/attachments/localcontent/raspberry-pi-build-hat-product-brief_973460bc7e7.pdf)
- [Getting Started Guide](https://www.raspberrypi.com/documentation/accessories/build-hat.html)
- [Python Library](https://buildhat.readthedocs.io/en/latest/buildhat/index.html)
- [Build HAT Projects](https://projects.raspberrypi.org/en/pathways/lego-intro)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/i/m/image_3578.jpg)
