I need some help. This is my first attempt to upload a program to our mBot.
The program is the “blinkingLEDs” program, the very first example from Charles McKnight’s “A Gentle Introduction to Robotics, Volume 1”. I’ve tried both my own build of the program, which looks identical to the book, and also the downloaded example code.
The program works (LED’s alternatively flash red) when I run it wirelessly over 2.4G by double-clicking the hat-block. However, there is no response from the mBot after I upload the program with the “Upload to Arduino” button via USB cable. No errors appear after the download.
I am using:
mBlock 3.3.7 for Mac
Macbook Air running OS X Yosemite 10.10.5
USB Serial Driver CH34X v1.0, installed by running the “CH34x_Install.pkg” file, then rebooting.
mBlock “Board” selected is “mBot/mCore”.
At first I thought that the USB driver was the problem. However, it is showing up correctly under Connect -> Serial Port -> as “/dev/tty.wchusbserial1410”, and when I select it it shows as “Serial Port Connected”. I seem to be able to successfully upload the firmware to the mBot, and after my program upload attempts, I can successfully upload the Default Program.
When I perform the program upload, no errors appear, and the script finishes with “6318 bytes of flash verified. avrdude done. Thank you.” So it appears to me that the program is uploading successfully. However, the mBot does not respond at all, in that the LED’s do not start flashing (as they do when the program is activated wirelessly).
I can provide any other information that might help. Can anyone suggest what I am doing wrong? Unlike many other forum posts, I’m not getting any error messages, and my serial connection appears to be working - I just can’t get the mBot to run the uploaded program. @tec_support ?