I connect my mbot to my pc via USB cable. Using mblock I can create a program with the mbot program block and upload it to the board with no issues. However I can’t figure out how to get a program to work using the “green flag” block. It never responds. Any ideas? Thanks!
Cannot run mbot in anything other than arduino mode
if you are connected via USB, bluetooth or wifi you just double click on the block to send to mBot.
You can even double click them in the chooser panel. I suspect that you aren’t running the program in a loop or that the operations aren’t intended for the mBot. Make sure you are using the commands in the dark green scripts category called robot with the extension of mBot. You can mix the commands while using mBlock but if you want to upload to arduino you need to use those that are compatible with mBot.
Ok, apparently if you have the Default Program loaded is mucks with this ability to send commands directly from mBlock. Just update the firmware which removes the default program and all should start working after you connect. My experience is that USB is the only way to upload to arduino, but you can send commands from mBlock in real time to mBot with any connection.
Thanks danjger, your advice worked for me. I connected via USB and updated the firmware and it worked! What is odd is if I shut off the mBot mCore board and then turn it back on, I have to update the firmware again. Is that supposed to be how it works? Thanks!
Here’s another issue. I got USB to work but I’m having trouble with bluetooth. I’m using Windows 8.1. I connected the bluetooth module and a battery back and turned it on. I went to bluetooth settings in Win 8.1 and paired the device by selecting MakeBlock and pair. I selected yes when it showed a passcode. I couldn’t get the MakeBlock_LE version to pair for some reason.
Once paired, in mBlock, I select Connect / Discover and select MakeBlock when it comes up. Then I see two COM ports: COM5 and COM6. I have tried to select each one but it does not not connect. Any thoughts?? Thanks!
Ok, I got it to work. I had to close mBlock, then I paired in Win 8.1. Re-opened mBlock, clicked discover, and then selected MakeBlock. I didn’t have to reload the firmware this time.