IR and wireless control simultaneously


#1

Hi,

Please see my scenario below, and give your feedback.

I uploaded simple program via USB cable which mbot controled with arrows on remote controller. And then changed the connection into WiFi 2.4G mode to get value from the ultra-sonic sensor which can mark in my mblock screen. The initial purpose was getting distance value of every obstacle along with my controlling mbot here and there.

I think those 2 modes get the signal into different channels (IR receiver and WiFi 2.4 dongle) so it has to work!

Thanks!
Jinu


#2

Hi Notego,

I have tested the following program, it works ok and indicate that IR and wireless conrtol can work simultaneously.

You may need double check your program and also pay attention to following points:

  1. Make sure the USB cable is removed when connect mBot to PC with 2.4G serial.
  2. Upgrade firmware for the mBot first before testing the online program.

#3

Hi,

Thanks for your help. I`ve cross checked your suggestion, and it has worked also.
However, It is slightly different with what I am showing in the below. Please check if it even works in your side. I uploaded first motor control program via USB like first picture, and changed connection into 2.4G. In the last, I executed the program in second picture. And it did not show any acceptable value except “0”.


#4

Hi Notego,

You can not use it like this way.
Since you already download the first program into the mBot, the mBot can work with the program offline since the program already uploaded into the main board.
While the second program is an online testing program, it is impossible to work with the first offline program.

Besides, every time you start a online testing program after uploaded a program into the robot, you need Upgrade firmware for the mBot to clear the uploaded program, otherwise, the online test program won’t work wither.

Here is a link where you can download the Document to teach you program on mBlock software, you may download it here and I think you can know better for programming the makeblock robot with mBlock:http://www.makeblock.com/mbot-v1-1-stem-educational-robot-kit


#5

Thanks for your prompt help. Do you have any development plan to make that happen in near future? It will be very exciting to communicate with my customized mbot!


#6

Hi Notego,

Thanks for your advice
Temporarily, there is no such plan.


#8