Build it with the Raspberry Pi Build HAT

Raspberry Pi's newest board that connects to LEGO® Technic™ motors and sensors from the SPIKE™ Portfolio is available for pre-order!

Favorited Favorite 0

Raspberry Pi is at it again, and this time they've teamed up with LEGO® to create the all-new Raspberry Pi Build HAT! This is a completely different board from Raspberry Pi that combines everything that they have ever created to allow you to control LEGO® Technic™ devices with your favorite Raspberry Pi (as long as it has a 40-pin GPIO).

Raspberry Pi Build HAT

Raspberry Pi Build HAT


Now available for pre-order, 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. Connected LEGO® Technic™ devices can easily be controlled in Python, alongside standard Raspberry Pi accessories such as a camera module.

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 or our Qwiic pHAT Extension.

Raspberry Pi Build HAT Power Supply - 48W

Raspberry Pi Build HAT Power Supply - 48W


Of course, you'll need to power your brand new Build HAT with something! This 48W power supply will power the Build HAT and connected LEGO® Technic™ motors, as well as your Raspberry Pi computer.

Compatible with LEGO Technic motors and sensors included in the LEGO® Education SPIKE™ Portfolio, the Build HAT combines the power of Raspberry Pi computing with easy building opportunities to help you make creative and robust projects.

We're pretty excited to carry this new board from Raspberry Pi! Please keep in mind that both of these products are available for pre-order. Orders will be fulfilled in the order they are received. If you are ordering these products alongside "Live/in-stock" products and want to receive these products ASAP, be sure to designate your order for split shipments in checkout.

Let us know what you are going to build with the new Raspberry Pi Build HAT, and we'll see you back here tomorrow!

Comments 2 comments

  • Member #149561 / about 2 years ago / 1

    the depository files as of 12/21 still do not recognize passive devices such as the Train Motor and LED's

  • Member #149561 / about 3 years ago / 1

    Had to remove the periods before the exe and seaports before the programs will compile on my Pi4 Also had the change the name of to Motors to get the motor programs to run

Related Posts

Meet the Raspberry Pi 5!

Recent Posts


All Tags