Using Lego Mindstorms NXT with Ubuntu Linux
Using Lego Mindstorms NXT with Ubuntu Linux The Lego Mindstorms NXT brick is an incredibly versatile programmable brick consisting of a microcontroller inside a plastic casing with an LCD display, four buttons, a speaker and eight external connections. Unfortunately, though, it only ships with compilers for Legos "NXT-G" graphical language that run on Microsoft Windows and Apple Macintosh platforms. There is, however, a multitude of text-based languages available for the main platforms (Linux/Unix included). The variety of languages available is beyond the scope of this article, but there is an excellent page here that should provide enough information to get started. In this article I will be setting up the NBC/NXC compiler for use on Ubuntu Maverick (it should work on most current *nix releases, too - if not, please comment and well look into it). The first thing to do is make sure the NXT brick is recognised by the system. To do this we run: david@pinatubo:~$ lsusb|grep Le...