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….

About these ads

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

  1. Pingback: .NET i jiné ... : Odkazy z prohlížeče – 14.10.2013

  2. 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 ?

      • 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s