You can also use mBlock 5 on the web without downloading it.

mBlock 5 on the web

To connect a device to mBlock 5 on the web, you need to install mLink first.

Download and install mLink

Preparation for the installation



For Windows


1. Download mLink.

Visit the mBlock software download page, go to the mLink downloading area, and click to download the version for Windows.

image.png


2. Open the installation file and follow the installation wizard.

image

Click Yes when the system asks you "Do you want to allow this app to make changes to your device?"

image.png

Click INSTALL when the system prompts you to install the driver.

image.png

Click OK when the system displays a message indicating that the driver is successfully installed.

image.png

Click Finish when the installation is complete.

image.png

After the installation is complete, the mLink icon is displayed on the desktop.

image


For OS


1. Download mLink.

Visit the mBlock software download page, go to the mLink downloading area, and click to download the version for Mac.

image.png

2. Open the installation file and follow the installation wizard.

image.png

image.png

3. After the installation is complete, the mLink icon is displayed on the launchpad.

image


In macOS 10.15 or later systems, a warning message may be displayed after you double-click the installation package. You can install mLink in one of the following ways:


Way 1:


1. Click OK.


image


2. Choose System Preferences > Security & Privacy.


image


3. Click Open Anyway.

image.png

4. Start the mLink installation process.


image


Way 2:


1. Right-click the installation package and choose Open.


image


2. Click Open.

image.png

3. Start the mLink installation process.

image.png

For Linux

1. Download mLink.

Visit the mBlock software download page, and go to the mLink downloading area.


Click to download the linux.rpm version.

image.png

Click to download the linux.deb version.

image.png


Note: Only 64-bit Linux OS is supported.


2. Install mLink through command lines.


Install .rpm on Red Hat, Fedora, SUSE, CentOS


(1) Open Terminal, enter the following command, and press Enter:

sudo rpm -ivh --force mLink-1.2.0-1.el7.x86_64.rpm

image


(2) Enter the following command to start the program:

sudo mblock-mlink start

Note: Do not close Terminal After opening the program. Otherwise, the device communication is disconnected.


Enter the following command to stop the program:

sudo mblock-mlink stop


Install .deb on Debian and Ubuntu


(1) Open Terminal, enter the following command, and press Enter:

sudo dpkg -i mLink-1.2.0-amd64.deb

image


(2) Enter the following command to start the program:

sudo mblock-mlink start

Note: Do not close Terminal After opening the program. Otherwise, the device communication is disconnected.


Enter the following command to stop the program:

sudo mblock-mlink stop

Device connection (using Codey as an example)


1. Use a USB data cable to connect your device and PC.

image.png

2. Ensure that the device is turned on.

image

3. Double-click the mLink icon on the desktop to run it.


Note: If mLink runs on Windows for the first time, the following alert may be displayed. Click Allow access.


image


4. Visit the mBlock 5 webpage and click Connect to connect your device.


Note: COM3 is a serial port number that varies according to system and PC. Use the default port number and click Connect.


image