Add the extension and plug in
mBlock needs the MBC Pro Sensors extension v2 first; then a "SharpShot Vision" category appears in the block palette. Every block has a port menu: pick the number the sensor is really plugged into, and the extension uses the right pins for your board.
- Open mBlock 5 for PC, add mBot under "Devices" at the bottom left, and switch the mode toggle at the bottom right to Upload.
- Add the extension: the new extension is in development; once it is officially listed, search "MBC" in the "Extension Center" and add it. Before that you can try the import file (not yet hardware-verified): sign in to ext.mblock.cc with their own Makeblock account → My extensions → Import data, upload
mbc_pro_sensors_2.2.0_import.mext(about 2 minutes), click "Download" to get a.mext, and drag it into the mBlock window. - Seven new categories appear: Pathfinder, Ranger, Controller, IMU Gyro, SharpShot Vision (legacy), SharpShot Vision and MBC common (object detection needs v2.2.0; "legacy" is for the school / WRO editions).
- SharpShot Vision → mBot adapter → mBot port 1; pick port 1 on the blocks too.
| Board | Usable ports | Notes |
|---|---|---|
| mBot (mCore) | 1, 2, 3, 4 | all four ports |
| mBot Ranger (Auriga) | 6 ~ 10 | 1 ~ 4 are red motor ports, 5 is the serial port |
| Orion | 3, 4, 6 | 1, 2 are red motor ports; 7, 8 are analog only |
| Ultimate 2.0 (MegaPi) | 6, 7, 8 | needs the RJ25 adapter board; 5 is the serial port |
| MegaPi Pro | 7, 8, 9, 10 | needs the RJ25 adapter board |
The simulator here covers the mBot only (ports 1 ~ 4). For another board, swap "when mBot starts up" for that board's start block and use one of its usable ports. mBot2 (CyberPi) has no RJ25 port and is not supported.