BrickPi basic build (top view)
BrickPi basic build (top view)

When prompted what led them to design BrickPi, John Cole, founder, Dexter Industries, shares, “We had a Raspberry Pi sitting on our desks for about six months and we didn’t know what to do with it. So it was a bit of a solution looking for a problem.” Thus was born the BrickPi.

BrickPi is something that micro-robotics DIYers would definitely like to try out. As the name suggests, it is a combination of Raspberry Pi, co-opted to act as the brain of the robot, and LEGO Mindstorms sensors, bricks and motors. This project has taken the crowdfunding route—via Kickstarter—to build out a platform for playing around with robotics. It has successfully raised its funding goal on June 17, 2013 and received over $125,000 in pledged backing from more than 1720 supporters—way above the original goal of $1889.

What is a BrickPi?

BrickPi is a system that converts Raspberry Pi into a robot. The project is a board and case that connects LEGO Mindstorms sensors, motors and parts to turn your credit-card-size computer into a robot. It allows you to connect up to three NXT motors and four sensors. It has a 9V battery source that powers the motors, sensors and Raspberry Pi, un-tethering the Pi from the wall. Finally, it has a sturdy case with holes that snap fit with LEGO parts. Thus Raspberry Pi is the brain of a BrickPi joined with the LEGO building system.

The system comprises BrickPi board and the case. The BrickPi board slides over your Raspberry Pi, connects, controls and powers Mindstorms motors and sensors, and provides power to the Raspberry Pi. The motors and sensors are all controlled by the Raspberry Pi. Firmware for the board’s own microcontroller is written in Arduino, so it’s open and hackable. The hardware designs and software source code are all available online.

BrickPi as a tank
BrickPi as a tank

The case for the Raspberry Pi allows you to connect LEGO pieces to your Raspberry Pi. It protects the Pi from impacts and falls that robots tend to have, and secures all of the motors, sensors, and mechanical bits and pieces you want to attach to the Pi.

How does it work?

The device basically serves as an interface between the Raspberry Pi and LEGO Mindstorms sensors and motors, as well as a power source for the Raspberry Pi.

The BrickPi has two microcontrollers, programmed in Arduino language, each of which controls two motors and reads the motor encoder values and two sensor values. The microcontrollers are controlled and polled by the Raspberry Pi over serial lines.

“We chose Arduino platform because it is well understood and we wanted to encourage folks to improve and tweak the firmware the device runs,” says Cole.

The Arduinos can read and poll I2C sensors, analogue sensors, and specialty sensors like LEGO’s ultrasonic sensors.

The BrickPi has a power unit that allows you to power the BrickPi and Raspberry Pi with a battery (rather than the usual wall plug), so you can make mobile robots. The Raspberry Pi, with two USB ports, supports WiFi and Bluetooth to make your robot wireless.

The BrickPi connects five sensors and four motors using LEGO’s easy-to-attach sensor cabling system. It also includes an enclosure that LEGO technical parts, sensors and motors can be attached to.

BrickPi as a robot arm
BrickPi as a robot arm

“We have put a lot of work into the software package for the Raspberry Pi as well. This includes easy-to-follow examples for robotic cars, turrets, tanks and arms. We have drivers for ‘C,’ Python and MIT’s graphic language Scratch. The beauty of the hardware architecture and the Raspberry Pi is that any language that runs on the Raspberry Pi can be used to control a student’s robot,” says Cole.

All of these features, working together, allow students to quickly and easily put together a robot that can be Web-controlled, USB-enabled and language-neutral.

Challenges faced

To come up with this kind of a platform, the team must have faced a host of challenges. Cole shares, “We got a lot of great feedback from our backers on the KS site. They requested a few basic changes. Mid-campaign, we redesigned the entire BrickPi, basically doubling the functionality, improving the power system and opening it up to a lot of other sensors and projects, all while holding the price down. We were really proud of ourselves for redeveloping the whole thing in a two-week timespan.”


Stretch goals
$100,000—4 ports in a Storm. The team will add the fifth sensor port and the fourth motor port to everyone’s BrickPi. Right now the board has a layout for them. When the funding reaches $100k, every board will be shipped with all the sensor ports filled.
$125,000—Seafarer. The team will develop a custom project to put the BrickPi into a solar-powered boat and attempt to sail it around the world. Like the Space Race, it will produce a highly entertaining video to help publish full plans for building the boat. It will equip the boat with satellite messaging and set up a website where one can track the boat in real time.
$150,000—Destroy the 9V. All BrickPi-level backers will get a 6xAA-size battery pack. There will be no more 9V power supplies.


Please enter your comment!
Please enter your name here