Yea! We finally have remote functions working AND have connected our Mbot to a laptop via Bluetooth. Scratch says the Bluetooth is connected. I have the Board set on Mbot and the Extension on Makeblock.
I have written a short program. When I click on green flag, I can see program is running on Scratch, but Mbot is not doing anything. What step have I missed? I am following the manual “MBock kids maker rocks…”
Running program on Mbot
I feel kinda silly, but I do not know how to copy the scratch program. Should I just type it in?
When flag clicked
forever
set motor M1 speed 50
wait 1 second
set motor M1 speed 0
wait 1 second
etc.
Make sure that no other bluetooth devices are connected to your computer. If you are connected to mBot, the “Connected” status will show in the title bar.
Also, the motors will typically not start at Speed = 50. Try a higher number like 150 or even 255.
Good luck.
This is a bit of fun to try.
Adding some choices when the sensor shows an obstacle nearby would be a good addition to this.
BTW, that is just a screen capture of the code. I don’t know how to capture code longer than on screen length.
Does anybody know if you can print a long program to a printer or file?
Nope, you have to do screenshots. Made life “interesting” when I was writing the eBook for the mBot.
I am pretty sure no others were connected. I have not had any luck pairing with my ipad; If I had the ipad turned off, could it be connected anyway?
I tried a program to control the LED colors. It did not work either.
I will try the faster speeds to see if that will work.
I think that it helps to disable Bluetooth on all other devices which were paired with the bot to avoid trouble with your current device.
Is there a driver I need to install? My program runs on Scratch, but the Mbot does not respond. I know it is running scratch because it lights up and if I incorporate a sprite, it responds.