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

  • PC system: Windows 7 or later (64-bit systems recommended); macOS 10.10 or later; 64-bit Linux
  • Browser: Chrome recommended
  • mBlock 5 on the web: https://ide.mblock.cc
  • Devices supported: CyberPi, Bluetooth Controller, Codey Rocky, HaloCode, mBot, MotionBlock, Neuron, mBot Ranger, Ultimate 2.0, Arduino Uno, Arduino Mega2560, Nova Pi, MegaPi Pro

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.
    On the Web (mLink Required) - 图2
    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.
    On the Web (mLink Required) - 图7

For macOS

  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.
    On the Web (mLink Required) - 图11

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.

On the Web (mLink Required) - 图12

  1. Choose System Preferences > Security & Privacy.

On the Web (mLink Required) - 图13

  1. Click Open Anyway.
    image.png
    4. Start the mLink installation process.

On the Web (mLink Required) - 图15

Way 2:
  1. Right-click the installation package and choose Open.

On the Web (mLink Required) - 图16

  1. Click Open.
    image.png
    3. Start the mLink installation process.
    image.png

    For Linux

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

Click to download the linux.rpm version.
image.png

  • Debian, Ubuntu:

Click to download the linux.deb version.
image.png

:::info Note: Only 64-bit Linux OS is supported. :::

  1. Install mLink through command lines.

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

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

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

On the Web (mLink Required) - 图21

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

sudo mblock-mlink start

:::info 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

On the Web (mLink Required) - 图22

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

sudo mblock-mlink start

:::info 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.
    On the Web (mLink Required) - 图24
    3. Double-click the mLink icon on the desktop to run it.

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

On the Web (mLink Required) - 图25

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

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

On the Web (mLink Required) - 图26