IR remote control multiple Mbots


#1

Hi,

I have three mBots and would like to assign one IR remote to each Mbot.

For the moment all three IR remotes control all three mBots. This is really disturbing for my kids as they would like to play each one with their proper mbot and remote. Bluetooth is not an option, only one ipad in use.

Is there a way to assign IR codes to each Mbot?

Thanks


#2

The easiest way to solve this is to avoid using the same buttons.
So for bot A you use the arrows and bot B you use the letters and bot C you use the numbers or something like that.
I’m fairly certain you can’t address differently using each remote since they are exactly the same. it maybe possible to use other remotes but you would have to get deep into the arduino source to do that and if you go there you might as well use another method of communicating.
As far as changing the default program we would love to see the source for that in scratch so we can re-assign the ir buttons.


#3

yes, that would be an option. thank you!

It still seems complicated to explain it to the kids that they can’t use the same way to control their cars.

Maybe there is another way to link one IR to one Mbot?


#4

I solved it by using bluetooth for one or both and they control via the mobile app.
If you choose to use one IR remote then you have to make sure to upgrade firmware (to remove the default program) on the unit you plan to use the bluetooth with since it will also respond to the IR at the same time.
I also created a driving program in scratch over here http://forum.makeblock.cc/t/source-code-for-the-default-program/1526/2 that you can modify for the second mBot to use different driving buttons.


#5