3

I'm new here and also very noob with the Arduino. I have a basic knowledge in Java and some more in C# so code isn't a problem. I can learn it easily.

I have a project assigned. I would like to know if it is there any possibility to control two Lego NXT with an Arduino? I want to give commands/orders via Arduino or at least have communication between both of them.

I have an Arduino Uno and two Lego NXT kits (9797 and 9648).

2

You have a number of options.

  • Since you mentioned you know C# the best, have a look at http://monobrick.dk. They have a C# library that lets you remote control the NXT. Then you could use something like http://playground.arduino.cc/Interfacing/Csharp to do the same for the Arduino.
  • For Java, there is a similar NXT remote control library from http://www.lejos.org/. I imagine you could find something similar for Arduino as well.
  • If you want to connect the Arduino directly to the NXT, you can use USB or Bluetooth. Then you can use the information in the NXT Bluetooth Developer Kit (available from http://www.lego.com/en-us/mindstorms/downloads) to develop a program for the Arduino what will be able to communicate with the NXT.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.