×

We will be closed on November 25, 2021 and November 26, 2021 in observance of the Thanksgiving holiday. We will resume normal operations on November 29, 2021. Wishing you a safe and happy holiday from all your friends at SparkFun!

×

Receive a free SparkFun USB Thumb Drive with every order this weekend. Details.

Raspberry Pi Build HAT

Added to your shopping cart

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

Important: The Raspberry Pi Build HAT is available for pre-order. Orders will be fulfilled in the order they are received. If you are ordering this product alongside "Live/in-stock" products and want to receive these products ASAP, be sure to designate your order for split shipments in checkout. Due to global supply chain shortages, we cannot guarantee dates for when we will receive stock of this product.
  • 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

Raspberry Pi Build HAT Product Help and Resources

Core Skill: Robotics

This skill concerns mechanical and robotics knowledge. You may need to know how mechanical parts interact, how motors work, or how to use motor drivers and controllers.

2 Robotics

Skill Level: Rookie - You will be required to know some basics about motors, basic motor drivers and how simple robotic motion can be accomplished.
See all skill levels


Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

3 Programming

Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.