Device Connection Guide for Chromebook (Latest Version)

To use mBlock 5 on a Chromebook, you can open the mBlock version developed for Chrome OS (https://ide-chrome.mblock.cc/).

Connect your device

The mBlock version developed for Chrome OS provides two ways to connect devices, namely Bluetooth and Serial.

Way 1: Serial connection

1. Connect your device to a computer with the USB cable delivered with the device.
image.png
2. If your device is equipped with a power switch, turn it on. If no power switch is provided, skip this step.
3. Add your device from the device library.
4. Click Serial to connect your device.
5. In the window that appears, select the serial port, and click Connect.
Device connected is displayed after the connection is complete.
If anything goes wrong during the connection, see "Serial connection troubleshooting" to check and fix the problem.

Way 2: Bluetooth connection

1. Enable the Bluetooth function on your computer.

2. Connect your device to a power supply and turn it on if it is equipped with a power switch.

3. Add your device from the device library.

4. Click Bluetooth to connect your device.

5. In the window that appears, select the Bluetooth device, and click Pair.

Device connected is displayed after the connection is complete.
If anything goes wrong during Bluetooth connection, see "Bluetooth connection troubleshooting" to check and fix the problem.

System envrionment and hardware requirements

Operating system

Compatibility

Description

Chrome OS

Very high
  • Chrome OS is a system that updates automatically. This mBlock version is compatible with the latest Chrome OS version, Chrome OS 116 to 118.
  • If you have encountered any operation problems, check your Chrome OS version and update it to the latest one.

This mBlock version is developed for Chrome OS. If you want to try it on other operating systems, understand their compatibility first, as described in the following:

  • Windows 10
  • Windows 11
  • macOS 10.15 or later

Fairly high

  • The compatibility has been tested and most of the functions can be used properly.
  • Ensure that you use the latest version of the Chrome or Edge browser.
  • Some hardware devices may not be supported.
  • Bluetooth connection may fail on a few computers due to their Bluetooth chips and drivers.
  • Debian/Ubuntu
  • Fedora/openSUSE

Generally high

  • No systematic tests have been performed on Unix. Based on some simple tests on mainstream systems, however, it is found that this version works properly on the Chrome browser.
  • You can try testing the device connection yourself.

Other operating systems

Low

  • It is not supported by very early operating systems, such as Window 7
  • It is not supported by some systems due to system differences
  • You are advised to test their compatibility yourself.

Support for existing hardware devices

Device / Function

Support serial connection

Support Bluetooth connection

Cyberpi

Yes

Yes

mBot2

Yes

Yes

mBot Neo

Yes

Yes

xLight

Yes

/

Halocode

Yes

/

MegaPi

Yes

/

Auriga

Yes

/

mbuild

Yes, only Live mode

/

novaPi

Yes

/

Megapi Pro

Yes

Yes

Finger piano

Yes

/

Funduino UNO

Yes

/

Arduino UNO

Yes

/

Arduino Mega2560

Yes

/

Funduino Mega2560

Yes

Yes

Arduino Nano

Yes

Yes

Arduino Nano(old)

Yes

Yes

Arduino Leonardo*

No

No

Arduino Yun*

No

No

Arduino Micro*

No

No

  • The Bluetooth Dongle is not supported by this mBlock version. You need to use the built-in Bluetooth function of your computer.
  • This mBlock version does not support the Arduino devices marked in the preceding table due to their different connection modes. For these Arduino devices, you can go to https://ide.mblock.cc.

Serial connection troubleshooting

If anything goes wrong during serial connection, you can check and fix the problem as follows:

1. Check the device model

Ensure that the device you choose from the device library is the same as that you are using. If you choose the wrong device, the connection fails.

2. Check the connection cable

(1) Check the USB connection. Ensure that your device is connected properly to the computer with a USB cable.

(2) Test the USB cable. You can test the USB cable on another computer. If it does not work, replace it. Note that some cables cannot transmit data, designed only for power supply. You are advised to use the USB cable delivered with your device.

(3) Try another USB port. If the USB port you use does not work, try another one of the computer.

3. Install drivers

Check the drivers. Ensure that drivers required by your device have been installed on the computer. Most of the computers have been installed with the CH340 driver by default, but if your computer hasn't, open the following link to download it and then install it on your computer:

4. Check port occupation

Check whether the port is used in other applications. Note that opening mBlock on multiple tabs or running both the web and client versions at the same time may cause connection failure due to port occupation. Ensure that you open either the client or one mBlock webpage at a time to avoid port occupation errors.

5. Browser compatibility and update

Browsers supported: Serial connection is a fairly new function. Ensure that  you use the Chrome or Edge browser.

Browser update: You need to update the browser to the latest version to ensure compatibility.

If your problem persists after the preceding steps, click Feedback in the upper right corner to describe the problem you've encountered. To resolve your problem more quickly, you are advised to attach pictures or videos about your problem. Makeblock customer service team will provide further support and guidance for you.

Bluetooth connection troubleshooting

IIf anything goes wrong during Bluetooth connection, you can check and fix the problem as follows:

1. Check the device model

  • Ensure that the device you choose from the device library is the same as that you are using. If you choose the wrong device, the connection fails.

  • Do not use Bluetooth Dongle. Use the built-in Bluetooth function of your computer.

2. Check the Bluetooth function

The Bluetooth function may not have been enabled or disabled due to exceptions, enable it again.

Ensure that you have enbled the Bluetooth function on your computer and device.

3. Check the Bluetooth version

Ensure that your computer provides Bluetooth 4.0 or later.

4. Browser compatibility and update

Browsers supported: Serial connection is a fairly new function. Ensure that  you use the Chrome or Edge browser.

Browser update: You need to update the browser to the latest version to ensure compatibility.

5. Signal interference and distance

Create a better working environment for your device. Ensure that no signal interference occurs among your devices. Place your device as close as possible to the computer to ensure better connection. Generally, keep the distance less than 10 m.

If your problem persists after the preceding steps, click Feedback in the upper right corner to describe the problem you've encountered. To resolve your problem more quickly, you are advised to attach pictures or videos about your problem. Makeblock customer service team will provide further support and guidance for you.

Was this article helpful?
11 out of 23 found this helpful

Comments

0 comments

Please sign in to leave a comment.