For Christmas my lovely wife got me a Raspberry Pi Starter Kit. I wanted one of these since I saw that people had made it control an NXT via NXT-Python. I thought that it would be cool to do the same so I found this website and followed what I could. I am a programmer but I have limited Linux and no Python experience.
I followed this installation guide from NXT-Python: http://code.google.com/p/nxt-python/wiki/Installation
You will need to install PyUSB, to do this just run “apt-get install python-usb” under root terminal.
I only managed to get this working once I had restored the LEGO NXT 2.0 firmware on to the NXT brick. I also had to make a NXT-Python config file and enter the NXT’s address in to it (you can find this under settings and NXT version on the NXT). Information on making a config file can be found here: http://code.google.com/p/nxt-python/wiki/LocationConfig
All of my NXT’s started with 0016. This should be entered as 2 parts of the address so in the config file you should have something like
[Brick] name = MyNXT host = 00:16:XX:XX:XX:XX strict = 0 method = usb=True, bluetooth=False, fantomusb=False
The video below shows the Mary example running from the NXT-Python samples.
What next? Well I now have a portable computer driving my NXT which has WIFI support and can run a webserver. It should not be too hard to turn the Pi in to an advance WIFI sensor for the NXT and cost a 1/3 of the price.