mBot for Robot Soccer


#1

Hi team,
has anyone tried using the mBot with an IR ball (RCJ-05) for Robot soccer?
If yes, could someone please assist with the infra red communication as I can’t seem to make them talk with each other. Basically the idea would be to make the mBot move towards the IR ball and then push it in the direction of the opposition goal. I will also need a compass module I guess to navigate my direction.

Suggestions welcome.
Thanks team


#2

You might want to look at this link if you are using mBlock. I’m currently working on a book that covers programming the various devices in native mBot (Arduino) using C/C++ and it’s pretty straightforward to do in that as well. You may have to do some code tinkering to figure out what is being transmitted, but that should be relatively simple.


#3

Thanks for the link. I wonder if there is a way to read the infrared signals given out by the ir ball. I tried the 2 way communications program but no luck.


#4

I found this link to an Arduino library which might be a good start for you. I’m not sure whether or not mBlock or the phone/tablet apps would be able to do that out of the box.


#5