Using the NXT as an EV3 remote control – Part II

I have figured out what the protocol is for the EV3 for the different types (string, number and boolean). I am lucky that the ‘write protocol’ is exactly the same as the ‘read protocol’. So, I figured out the protocol by writing a simple program on the EV3 to send a string, a number and a boolean and then read the bytes at a PC test application. Then it is simple: just write these bytes back to the EV3 for the different types.

The NXT to EV3 Connection Hub is now able to handle the 10 mailboxes, for the three different types (see below the screenshot for the current state of the application):Screenshot NXT2EV3 Connection Hub

Now, I have to make the application more robust. E.g. at this moment, if you [disconnect] the NXT or EV3, the application will crash since the NXT mailboxes are still being polled for incoming messages. If I have solved these problems I will start a beta test…. Volunteers can send me an email.

To be continued…

About these ads

26 thoughts on “Using the NXT as an EV3 remote control – Part II

  1. I never received any email for the link…? are you sure you sent it to the email associated with my account? I also checked my junk email just in case.

    Thanks, Shubh (Shubh21)

  2. Thanks Hans it was a simple misinterpretation, I do appreciated your generosity and thought for ultimately sending me the files. I am still fairly new to Visual Studio and started when I was thirteen. I am now fourteen and am not able to understand why this error is showing up when I try to run the program. Many thanks, Shubh S.

    PS here are the errors:

    Warning 1 A custom tool ‘ResXFileCodeGenerator’ is associated with file ‘Properties\Resources.resx’, but the output of the custom tool was not found in the project. You may try re-running the custom tool by right-clicking on the file in the Solution Explorer and choosing Run Custom Tool. PC Connection EV3

    Warning 2 A custom tool ‘SettingsSingleFileGenerator’ is associated with file ‘Properties\Settings.settings’, but the output of the custom tool was not found in the project. You may try re-running the custom tool by right-clicking on the file in the Solution Explorer and choosing Run Custom Tool. PC Connection EV3

  3. Dear Hans,

    Frank here again. I asked a few months ago for a download link. You sended me that link but I think you give me the wrong one. (Please correct me if I’m wrong) Because the program is used for sending messages from the pc to ev3 that you explain on this link: http://siouxnetontrack.wordpress.com/2013/09/27/connecting-the-pc-to-our-ev3/ Please, if I’m right, send me the download link of the program to connect the ev3 with the nxt through a PC.

    I’m really fascinated by your ideas and buildings. Keep going!

    Greetings,
    Frank

    • Dear Frank,

      Thank you for your kind words. Hopefully we can meet in person at Lego World 2014.

      Anyway, with respect to your question: the link that I have sent to you is a link to C# source code, not a ‘ready-to-run’ program. Maybe that is what you expected? I don’t have this ready-to-run program, so if you need it you will have to compile it yourself (Visual Studio Express Edition is free).

      Hope this helps.

      Kind regards,
      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