Ok, so I am developing an upcoming show for my STEM camp show, and I wish to show both my mBot and mBot Ranger dance to “One More Time / Aerodynamic” by Daft Punk. I have done this for years, but this year, I wish to make them both dance together. I bought the IR Decoder for the mBot Ranger, but when I use the “Sensing” block for IR Communication on the regular mBot, the Ranger receives it, but doesn’t do anything. I think it is extension related, because for the Makers Platform on the Ranger, it has “IR receiver {port x}” (The ports are 6, 7, 8, 9, and 10). When I add that to an operator, "(IR receiver {port x}) = (177) it doesn’t do anything. As I said, it receives the IR from the mBot (177) but doesn’t respond. Can I get some help on this matter? I do not know what to do. @Best_codes I think you are the one to help me out the most. If you can’t that is no problem.
Can somebody help me develop an extension?
Hi @Rosco
I have in the past (but not recently) experimented with communicating via IR between two stationary mBots & also between mBot & Codey. Some minor successes, but mostly not good. IR requires a line-of-sight between transmitter & receiver within a range of 3M max.
If you want two bots to move about, then the IR line-of-sight Tx / Rx will be broken.
Good luck with that.
CommandeR is your guy for mBot related stuff, not me.
I’d try some troubleshooting. Find a way to log what IR data the ranger is receiving and log it (for example, with the Upload Mode Broadcast) to see if it’s what you expect. I’m not sure if there is a difference between the mBot built-in IR and the IR module, but that could cause problems too.
Ok… @Best_codes. I will go ahead and see what the Ranger is logging, but I dont think it will work for the stuff I am trying to do.
@Best_codes When I put the remote at it, it just says 0, before that every key said 69 (nice)
IR Logger Ranger.zip (4.4 KB)