Archive for January, 2012

LEGO® MINDSTORMS® NXT 2.0 Support in Debian/Ubuntu

A LEGO® MINDSTORMS® NXT 2.0 recently arrived at our house. Of course it only comes with proprietary support for Windows/Mac, so I set out to see what FOSS support for the hardware I could find.

I found nxt-python. It wasn’t packaged, so I packaged it up and uploaded to Debian (from whence it came to Ubuntu). It’s now in for the next release of both distributions (Wheezy/Precise).

This is a bit different than the provided software (which compiles code, downloads it to the NXT, and then runs it untethered). For nxt-python the nxt needs to be connected to your computer via USB or bluetooth. It’s a lot of fun and it’s given me a chance to introduced our youngest child to the idea that there’s more to computers than point and click.

Currently user level access to the device doesn’t work, it has to be accessed by root. Fixing that is on my TODO.

I hope someone else out there has an NXT and enjoys this too.

UPDATE: Added a udev rule and uploaded again, so anyone in plugdev can access the NXT brick.

Advertisements