Connect your robot
Your computer or phone talks to the robot through its USB cable. This page shows the three ways to connect: the web IDE, the desktop IDE and MoBot Blocks on Android.
| Web IDE | Desktop MoBot IDE | MoBot Blocks | |
|---|---|---|---|
| Runs on | A computer, in Chrome or Edge | Windows, macOS, Linux | An Android phone or tablet |
| Install | Nothing | Download once | Install the app |
| Editors | Blocks and Code | Blocks and Code | Blocks only |
The desktop app keeps its examples inside the app, so it works in school labs with no internet. The web IDE needs a browser with Web Serial. Web Serial is the part of a browser that lets a web page talk to a USB device. Chrome and Edge have it.
The web IDE
Section titled “The web IDE”- Open ide.mobot.dz in Chrome or Edge.
- Plug the robot into the computer.
- Press Connect. You can also use Device ▸ Connect.
- The browser shows its own list of ports. Pick your robot and confirm.
- The status at the top of the terminal changes to Connected.
If you press Connect in another browser, the IDE says: “Web Serial is not available in this browser — use Chrome or Edge to connect a robot.”
The desktop MoBot IDE
Section titled “The desktop MoBot IDE”- Open the MoBot IDE and plug the robot in.
- Press Connect, or choose Device ▸ Connect.
- If the IDE finds exactly one USB board, it connects at once.
- If it finds none or several, it opens the port picker. Your board is listed first, under Your board. Other ports, such as Bluetooth, are listed lower down under Other ports. Pick yours.
- If the board is not in the list, press Refresh.
You can get the desktop IDE from the Software page of mobot.dz. It is available for Windows, macOS and Linux.
No ports found
Section titled “No ports found”If the picker says No serial ports found, it shows a short checklist. A port is the connection your computer uses to talk to the robot.
- Use a data USB cable.
- Windows: install the USB-to-serial driver for your board’s chip, then reboot. A driver is a small program that lets Windows use a piece of hardware. A USB-to-serial chip is the small chip on the board that lets the computer talk to it over USB. The picker links to the three drivers:
- Windows: open Device Manager and look under Ports (COM & LPT). A device under Other devices with a yellow warning sign means the driver is missing.
- macOS and Linux: plug the board in, then press Refresh.
Which chip does your board have? CP210x, CH340, CH9102 and FTDI are the names of these USB-to-serial chips. The IDE names the chip next to the port when it knows it. The Smart Car mostly uses a CP210x. Clone boards of the Smart Car and the Mini use a CH340 or CH9102. Older and third-party boards use an FTDI chip. The Smart Home’s ESP32-S3 uses Espressif’s own USB serial.
MoBot Blocks on Android
Section titled “MoBot Blocks on Android”MoBot Blocks sends your blocks to the robot over a cable. It does not use Bluetooth.
- In MoBot Blocks, open the connect screen. It is titled Connect your robot.
- Plug the robot into the phone with its USB cable and switch the robot on. Most phones need a small USB adapter (an OTG adapter) between the cable and the phone.
- Tap Look again.
- The first time, Android asks for your OK. Tap Allow and connect, then tap OK in the small Android window. Tick the box in that window and Android stops asking.
- When it says Connected to your robot, go back to your blocks and press Run.
Some messages you can meet:
- This phone can’t talk over a cable. Some phones and tablets cannot send anything out through their USB socket. Your blocks are safe. To send them you need a different phone or tablet, or a computer.
- Which one is yours? More than one board is plugged in. The one at the top is the most likely. If you pick the wrong one, nothing breaks. Come back and pick another.
- The MoBot app is on this phone. The MoBot app connects to the robot over Bluetooth by itself and can take the robot in the middle of a run. Tap Ask it to wait while you work in MoBot Blocks. Tap Let it go when you are done.
MoBot Blocks shows the Python your blocks make, but you cannot edit it there. It also cannot open a project that was written in Python. Use the web IDE or the desktop IDE for Python.
After you connect
Section titled “After you connect”The IDE reads what it needs from the robot when you press Run or save a program: which firmware it runs and which mode it is set to. If the robot is set to one of the app’s modes, the IDE asks before it switches the robot to Programmable. See Modes and programs.
The file list in the IDE can be empty with the hint “Press Stop to see the robot’s files”. It means the robot is busy running a mode or a program. Press Stop and the list appears.
If it still does not connect
Section titled “If it still does not connect”See Troubleshooting.