Friday, September 15, 2006

Five working NXTs

We found out that it was in fact possible to control five NXTs via Bluetooth from one computer.



It is straight forward in the .NET framework. All you need to do is to open a serialport (COM) to each NXT.

Once a serialport is opened, it is possible to send "Direct Commands" to the NXT. That is, you can remote control everything on the NXT. LEGO has published the protocol used for doing this. What you do is to send a number of bytes to the NXT, and it can reply (if wanted).

This is the approach iCommand uses.

Using this approach, some of the autonomous idea behing our project is undermined, while the NXTs will not run any code, but just be "dumb" remote controlled robots. However, given our situation and having time as a factor as well, this looks like it could be our choice of approach.

1 comment:

Sam said...

Would you mind giving me step-by-step instructions on how to do this? email works best... ipodork@aol.com i need to know who to run five NXTs at the same time (in sync) and how to set up a bluetooth adapter to work with them. also i was wondering if their are any locater things that you can attach so it will know where on a created grid it is. please help me to resolve my questions.