Robot to Robot Messaging with VEX AIM

One of the coolest things (in my opinion) about the latest updates to VEX AIM is the ability for two robots to be linked and send/receive messages. To try and illustrate this, we have a two new Library articles, two new Activities, and new Insights article, AND updates to the AIM Intro Course for Educator Certifications!

This video here does a great job showing a simple project in action. When the screen of one robot is pressed, the LEDs on the other illuminate! And vice versa.

There’s so much you can do with messaging, but also some great simple ways to start. This article introducing messaging explains and links out to all the resources I mentioned above.

@AudraSelkowitz already made a project where two robots ‘sing’ in a round based on messaging. What other cool ideas do you have that could be implemented with messaging?

This is such a fun project! I have been wanting to try something musical with multiple robots for so long and now was able to code two robots to play “Row, Row, Row Your Boat” in a round!

The first robot begins the song, then sends a message to cue the second robot to begin ‘singing’.

I used two projects to do this - the first (shown on the left below) is downloaded on the robot that starts singing the song. When it gets through the first two lines, it sends a message to the other robot to “start singing”. The second project (shown on the right below) is the downloaded on the robot that is doing the round. It ‘listens’ for the message from the first, then begins singing on its own. Since they’re both wrapped in forever loops, the two will continue singing in the round until the projects are stopped!

Music + messaging lead me to so many possibilities in my mind! I can’t wait to see what you all do with messaging :slight_smile:

3 Likes