Using the NXT as an EV3 remote control

NXT2EV3ControlApplication

I’m working on a simple PC application to make it possible to use the NXT brick as an EV3 remote control. The mailbox mechanism is different for the two bricks, the PC application is therefor needed to convert the messages from the NXT format to the EV3 format. By this means, you can send messages (e.g. if you press a button at the NXT) to the EV3 (e.g. to control a motor). A simple test version is already working: using two buttons at the NXT to control two motors at the EV3.

Detailed impression of the application “under progress”:

Detailed screenshot Hub application

The program at the NXT side:

  • press the touch sensor at port 1: send string “LEFTDRIVE” through mailbox 1
  • release the touch sensor at port 1: send string “LEFTSTOP” through mailbox 1
  • press the touch sensor at port 2: send string “RIGHTDRIVE” through mailbox 2
  • release the touch sensor at port 2: send string “RIGHTSTOP” through mailbox 2

NXT2EV3CONTROLd

The program at the EV3 side:

NXT2EV3CONTROL-EV3

The EV3 program listens to mailbox M1 and M2:

  • if string “LEFTDRIVE” is received on mailbox M1, motor B is started
  • if string “LEFTSTOP” is received on mailbox M1, motor B is stopped
  • if string “RIGHTDRIVE” is received on mailbox M1, motor C is started
  • if string “RIGHTSTOP” is received on mailbox M1, motor C is stopped

To be continued….

61 thoughts on “Using the NXT as an EV3 remote control

  1. Hans,

    I’ve actually only an NXT , and I was working on the Bth/USB message exchange between NXT and PC using VB.NET. The PC==>NXT messages are OK, but I’m not able to receive msg NXT==>PC ( both using Direct Commands or libraries as MONOBRICK, etc )
    Can you help me on receiving messages on the PC from NXT in VB.NET ?

      1. Hi Carlo,

        Sorry, no news yet. I have been very busy the last months (work, work, work). Therefore, I didn’t manage to work on the NXT2EV3 Hub.

        I’m afraid you have to be patient….

        Best,
        Hans

  2. Hello
    I have the same problem as Carlo. I can’t receive the message from NXT.
    Can you help me on it?

  3. Hello!
    I’m working on the bluetooth connection between NXT and PC. I have the same prolem as Carlo. I can’t receive the message from NXT.
    Can you help me on it?

    1. Hi Chang-Yen,

      I have no problems with sharing my code, but I don’t have the time to give support. Sorry for that.

      Next, your description “I can’t receive the message” is a very vague. Can be numerous reasons that causes the problem.

      Best,
      Hans

  4. Can i pls have link too? dropbox doesnt work on my computer so just send to me via email at rickstery@hotmail.com or mabye you cud just post an acual link and that will be easier so you wont need to keep sending it ty in advanced

    1. Unfortunately, this is not possible without the use of a device (PC, mobile, microcontroller, etc) that runs an application that can take care of the transformation of the different format. Another solution should be to update the EV3 firmware, but maybe this will not work (since this might be the reason why Lego didn’t implement this functionality themselves)…

  5. Hello Hans, my kids and me are having the same problem… One NXT and one EV3 trying to get them to communicate. Is it possible to request another dl link for your bluetooth proxy please?
    BRgds
    /Björn

      1. Thank you Hans! Built the solution in VS2013 and started it, no errors so far… Will try it from the play-laptop with the bricks tonight.
        Have a great day!
        /Björn

  6. Well, I see it’s been awhile since you’ve had activity on this thread. But alas I now also have need to control an EV3 with an older NXT brick. May I be so bold as to ask you to once again share your hub software with me so that I can use my laptop (Windows 10) as the connection.

    1. Hi Allan,

      I was rather busy the last months, that’s why I didn’t do much on this blog. Most of the updates, I do nowadays at Eurobricks. Of course you can get the sources, however I don’t know if it will work on Windows 10.

      Regards, Hans

Leave a reply to nicolas Cancel reply