Here are some frequently asked questions about Makeblock robot kits which are based on mCore,
Orion, Auriga, and MegaPi boards, and the related PC software in this document is mBlock 3
(latest 3.4.12). If you haven’t downloaded the software, click here to download and install.
If you still have question after reading this document, please contact Makeblock Support Team at
support@makeblock.com.
4
Part I General Questions
How to connect Makeblock robot with mBlock
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
Devices required: PC (here we use windows); Makeblock robot kit (here we use mBot as an
example); USB cable
Step 1
Connect mBot to PC with USB cable and turn on the mBot.
Step 2
Open mBlock software, choose mBot(mCore) under Boards.
If you are using a starter, select Orion; for ultimate 2.0, select Megapi, etc.
5
Step 3
Choose the correct Serial Port for mBot under Connect->Serial Port. (Here my mBot's serial port
is COM3, and you can check your mBot serial port under your computer's Device
Manager->Ports (COM&LPT))
6
Notes:
1. If you cannot detect any serial port, it may be caused by the following reasons.
a. Failing to install Arduino driver.
Normally when we install mBlock software, Arduino driver will be installed automatically at the
same time. But sometimes we may need to install Arduino driver manually.
For windows users, we can select “Install Arduino Driver” under “connect” and install it easily.
7
For Mac OS users, please download and install correct driver as below says:
Below Mac OS sierra users, download this driver;
Mac OS sierra users, download this driver;
Mac OS high sierra users, download this driver.
When choose Serial port under Connect->Serial Port, please choose port similar to
/dev/tty.wchusbserial1410.
b. The power switch of the main board (mCore) has not been turned ON (this cause is only for
mBot/mCore).
c. The Bluetooth connection from the robot may capture the serial port. Remove the Bluetooth
module from the robot while using the USB cable.
d. Paired Bluetooth devices on the PC may interfere the Serial port of the USB connection too.
e. The USB port or USB cable is faulty. Please try changing the USB port (you may change the
PC have a check too), USB cable etc.
2. Cannot find the serial port for my robot on mBlock and there are lots of BT port under the
device manager like below.
8
Cause: The Bluetooth module you paired before would be mapped into COM ports. Even if they
are not present, they still appear in the “Serial Port” list. So, uninstall these paired Bluetooth
devices will resolve this issue.
Solution: disable or uninstall all the Bluetooth ports (COM ports) from the PC.
9
How to upgrade firmware for Makeblock robot with mBlock
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
Devices required: PC (here we use windows); Makeblock robot kit (here we use mBot as an
example); USB cable
Step 1
Refer to FAQ to connect your Makeblock robot to mBlock
Step 2
Go to Connect->Upgrade Firmware, wait until it says Upload Finish.
Ps: online debug only works after firmware update.
Note:
what should I do if firmware upgrade fails and shows below picture?
10
1. You may select the wrong board.
Please select the corresponding board then try to upgrade firmware or reset default
program.
2. The upload failed issue might be caused by using defective modules, faulty serial
port chip, or faulty main board.
1) Please remove all the modules from main board, including RJ 25 cables, then
upgrade firmware again.
2) If it is still the same issue, try to upload “Blink” program on Arduino IDE
environment to test if the main board lose its bootloader.
PS: Only USB connection allows us to do firmware upgrade.
11
How to reset default program manually with mBlock
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
Devices required: PC (here we use windows); Makeblock robot kit (here we use mBot as an
example); USB cable
Step 1
Refer to this FAQ to connect your Makeblock robot to mBlock
Step 2
Go to Connect->Reset Default Program->mBot, wait until it says Upload Finish.
12
How to upload my program to the Makeblock robot with
mBlock
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
Devices required: PC (here we use windows); Makeblock robot kit (here we use mBot as an
example; USB cable
Step 1
Refer to this FAQ to connect your Makeblock robot to mBlock
Step 2
Edit your own program, then right click on the program and select upload to Arduino.
Step 3
You can see following page and click on Upload to Arduino.
13
Step 4
Then the program will start uploading, wait until it shows Upload Finish.
Notes 1: In case you fail to upload a new program, please refer to below steps to do some
troubleshooting by yourself.
14
a. Make sure you strictly follow the above steps to upload the program. (make sure
connected with USB cable, choose correct serial port and Board).
b. Please remove the Bluetooth/2.4G module from the main board, then upload program
again to have a check.
c. If it says “upload finished” when you do upgrade firmware, while says “upload failed”
when upload a new program, please check if there is any other Arduino software installed in the
system. Please close it if there is.
d. If both the Upgrade firmware and upload program fail, try to change the USB cable, USB
port or change a PC to have a check.
e. Try to change some new batteries. According to our test and research, it is suggested to
use rechargeable Li-ion battery or rechargeable nickel-metal hydride, nickel-cadmium which can
be bought from amazon or local shop. Or Alkaline battery with good quality like Energizer,
DURACELL.
Note 2: In case the new program uploaded to my Makeblock robot doesn't take effect.
Please reset default program referring to this FAQ and try again.
If it says “upload finished” but the uploaded program doesn’t take effect, then the board may lose
its bootloader. Please double check it refer to this document.
15
What is the difference between upgrade firmware and reset
default program
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
Upgrade firmware
This firmware is a built-in program for online programming.
If you want to do the online program as below, we need to do upgrade firmware first.
Online programming & offline programming
mBlock we defined two modes of programming, “online” and “offline”.
“online” mode means programming robot with USB, Bluetooth and 2.4G connection; it is the
computer that sends the instruction to the Robot;
“offline” means using Arduino mode to program robot and upload the program into the controller;
the instructions are running on the Robot;
The difference between “online” and “offline” programming is that “online” uses communication
protocol to instruct Robot, while “offline” runs program on the board, so the “offline” mode has
better efficiency.
You may refer to this FAQ for the steps to upgrade firmware.
Reset default program
This firmware is a preset factory program in the robot (such as manual control mode, obstacle
avoidance mode, line inspection mode of mBot) in order to increase the robot's playability.
Under below situation we need to reset default program for the robot:
16
To run default program or controlling the robot with mobile App after we did “upload to Arduino”.
For example, you have uploaded a program to mBot before and now you want to use Makeblock
App to control it, then you need to reset default program. Surely if it is your first time to control it
with Makeblock App and failed, you are also suggested to reset default program.
And for guidance to reset default program, please refer to this FAQ.
17
Why my Makeblock robot doesn't move when I set low
motor speed
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
For example, we set the speed value 50 for mBot, here the "50" is not the real speed value. The
real running speed depends on the voltage and speed value.
Here we take mBot as an example:
The setting speed is 50, and the maximum speed is 255.
The battery is 3.7V, and it is fully charged.
The rated voltage is 6V for TT Geared Motor, and the no load speed: 200RPM±10%
)
Thus, setting speed to 50 might be too slow for TT Geared Motors to run. Try 100 above to have a
look.
For other robot kits, setting speed at 20 will not let it move.
18
AComparisonamongBluetoothconnection,2.4G
Connection
types
Modules
requiredfor
PC mBlock
Featureswith
PC mBlock
Advantages
Disadvantages
Mainboard
supported
USBcable
connection
USB cable
Resetdefault
program; update
firmware;
upload program;
doonline
program
Only need one
USB cable
ShortUSB
cable makes it
inconvenient
mCore, Auriga,
Orion, MegaPi
2.4Gwireless
serial
2.4Gmodule
(includeda
2.4Gwireless
dongle)
Doonline
program only
No interference
when there are
several robots in
2.4G connection
cannotwork
with Phone App
mCore, Auriga,
MegaPi
Bluetooth
connection
Bluetooth
module
(computer
built-in
Bluetooth
dongle)
Doonline
program only
Work with
mobile Apps
like Makeblock
App and
mBlock
Some Bluetooth
module may not
becompatible
with PC built-in
Bluetoothand
connection
stability is not
very good.
mCore, Auriga,
Orion, MegaPi
andthenew
bluetooth
module (labeled
with ble_v1_c)
is not working
in this way
Bluetooth
connection
with
makeblock
official dongle
Bluetooth
moduleand
Makeblock
Bluetooth
dongle
Doonline
program;can
alsoupload
programto
mCoreand
Auriga
Good
connection, get
ridofUSB
cable
Need to buy a
single
Makeblock
Bluetooth
Dongle
mCore, Auriga,
Orion, MegaPi
connection and USB connection
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
We know that there are several ways to connect Makeblock robots and mBlock. There is a chart to
show differences among these connection ways.
19
Notes:
1. 2.4G wireless module (included a 2.4G wireless dongle): If you have a mBot Bluetooth version, you can
simply buy a 2.4G wireless module to replace the Bluetooth module.
2. Bluetooth module: for mBot (mCore), Ultimate 2.0 (MegaPi) and mBot Ranger (Auriga), it is Bluetooth
Module. And the newer Bluetooth module (labeled with “BLE_V1_C” doesn’t support PC built-in Bluetooth.
For starter, it is Me Bluetooth Module.
3. Computer built-in Bluetooth dongle: many computers especially laptops can support Bluetooth as it has
built-in Bluetooth dongle. But sometimes there may be incompatibility between computer and Bluetooth module.
And this method is not suggestable, it is non-official usage.
4. Bluetooth connection with dongle: for mCore, Auriga, besides do online programming, connection with
Bluetooth Dongle can upload program and run online program.
5. Makeblock Bluetooth dongle: some computers’ built-in Bluetooth dongle may not be working very well with
Makeblock Bluetooth module, so we strongly suggest to use Makeblock Bluetooth Dongle. And there is no need to
use Bluetooth dongle for mobile App control.
20
What troubleshooting I can try if myMakeblock robot
cannot connect to my phone App
This article applies to: mBot, mBot Ranger, Starter, Ultimate, Ultimate 2.0
We now have developed Makeblock App which allows us to control and program for Makeblock
robots in one App. Also, Makeblock App supports all Makeblock robots except neuron. So, you
are suggested to download Makeblock App. Also mBlock App is under construction, which