{"id":7983,"date":"2014-03-20T09:45:14","date_gmt":"2014-03-19T22:45:14","guid":{"rendered":"http:\/\/legoeng.local?p=7983&preview_id=7983"},"modified":"2017-12-22T15:04:34","modified_gmt":"2017-12-22T04:04:34","slug":"introducing-brickpi-lego-bricks-with-a-raspberry-pi-brain","status":"publish","type":"post","link":"http:\/\/legoeng.local\/introducing-brickpi-lego-bricks-with-a-raspberry-pi-brain\/","title":{"rendered":"Introducing BrickPi: LEGO bricks with a Raspberry Pi brain"},"content":{"rendered":"
<\/a>Third-party sensor manufacturer, Dexter Industries<\/a>, has produced a small printed circuit board with sockets for sensors and motors to allow LEGO NXT (and some EV3) parts to operate using the increasingly popular and affordable Raspberry Pi<\/a> credit card-sized motherboard.<\/p>\n The kit, known as BrickPi<\/a>, acts as an interface between the\u00a0Raspberry Pi unit and LEGO Mindstorms motors and sensors. The BrickPi can operate as many as four NXT or EV3 motors and up to five NXT sensors.<\/p>\n Once the operating system is set up between the\u00a0Raspberry Pi and BrickPi, users have a choice of what software to program the robot with, including Python, Scratch, C and BlockyTalky.<\/p>\n Sounds pretty cool? And for only around US$65 for the BrickPi, it would seem a no-brainer. Well, before you rush out and buy one, let me first give you a warning and a few tips to help make the journey as painless as possible.<\/p>\n Firstly, having gone through the process myself, I must advise that it is not<\/strong> a \u2018plug-and-play\u2019 item. Being used to graphical interfaces and iconic picture blocks when programming with ROBOLAB, NXT-G or EV3 software, I did find typing raw characters on a command line, during set up, a little daunting at first.<\/p>\n My first piece of advice is to buy the right pieces of hardware to avoid making unnecessary modifications to any existing items you may have lying around, such as SD cards and Wi-Fi dongles.<\/p>\n So if you decide to buy yourself a BrickPi (and a\u00a0Raspberry Pi board if you don\u2019t already have one), the easiest method to get the two working together with fewer steps is to buy the SD card and Wi-Fi dongle from Dexter Industries. (The \u201cBuy!\u201d link on the website below lists all available items for purchase). The supplied SD card will already be configured to work and their recommended Wi-Fi dongle has already been successfully tested on the BrickPi. The BrickPi Starter Bundle would be the way to go, costing only around US$140 for all the essential hardware, including the Raspberry Pi!<\/em><\/p>\n Note for Australian readers: Although Dexter Industries is based in the US, they do have reasonable shipping rates to Australia. They are also looking into aligning themselves with a local distributor, so keep an eye out on your local suppliers if you prefer to wait and not pay extra delivery costs.<\/p>\n The next thing I would recommend is to buy yourself a wireless (Wi-Fi) keyboard with touchpad, such as the Logitech K400r<\/a>. That way you can be more mobile AND you won\u2019t have to buy a separate USB hub when you run out of USB sockets on the\u00a0Raspberry Pi when fitting a separate mouse.<\/p>\n The rest is \u2018simply\u2019 following the seven \u201cGetting Started\u201d steps on the BrickPi website:<\/p>\n