Downloads

Every MBC library, block extension, example pack and catalog on one page. Check the version and the firmware it matches first: products shipped from October 2026 run protocol v2 firmware, and files marked "legacy" only work with firmware shipped before 2026-10.

Tip

Not sure which firmware your sensor has? Run the product's 01_hello Arduino example, or use the "protocol version" block in mBlock / micro:bit: 2 means new firmware.


Libraries and extensions (packed downloads)

File Contents Version Firmware Size Date
MBC_EXP6_Pybricks_Lib.zip EXP6 expander: Pybricks library + examples (MBC_exp6_obj_Lib.py; for MBC sensors add MBC_exp6_mbc_common.py and the MBC_exp6_line/laser/pad/unicam.py files you use; Exp6_objMode_Demo.py, manual EXP6_Library_Manual.pdf, 11 examples/, beginner_examples/ with 5 beginner examples (Python and Pybricks blocks each) + a PD line-following example with a Line Follower 8-ch on the EXP6 (Python and blocks)) 2026-11-04 EXP6 firmware 2026-11-03 or later 2.1 MB 2026-11-05
MBC_EXP6_Official_App_Lib.zip EXP6 expander: official SPIKE App library + examples (MBC_exp6_SPIKE_App_Lib.py with install / uninstall scripts in SPIKE_Education/, manual EXP6_Library_Manual.pdf, 10 examples/ (10 sends commands to an MBC sensor)) 2026-11-05 EXP6 firmware 2026-11-03 or later 2.1 MB 2026-11-05
MBC_EXP6_Robot_Inventor_Lib.zip EXP6 expander: Python library + examples for the LEGO MINDSTORMS Robot Inventor (51515) App (installer Install_MBC_exp6_Lib.py (install over USB or Bluetooth), uninstaller, library source, manual EXP6_Library_Manual.pdf, 10 examples/; interactive tutorial) 2026-11-05 EXP6 firmware 2026-11-03 or later 2.1 MB 2026-11-05
MBC_Servo6_Pybricks_Lib.zip legacy Servo6 expander: Pybricks library — for firmware shipped before 2026-10 1.0 Servo6 8.7 KB 2026-10-21
MBC_Servo6_Official_App_Lib.zip legacy Servo6 expander: official SPIKE App library — for firmware shipped before 2026-10 1.0 Servo6 5.3 KB 2026-10-21
line8_pybricks_spike_v4.x.zip Line Follower 8-ch: SPIKE Pybricks library + examples (MBC_sensors.py, MBC_line8_obj_Lib.py plus 2 block-style and 2 Python examples) 4.x Pybricks 4.1 31 KB 2026-10-25
MBC_TOF8_Pybricks_Lib.zip Ranger 8-ch TOF8: SPIKE Pybricks library (MBC_sensors.py, MBC_laser8_obj_Lib.py) 1.0 Pybricks 4.1 21 KB 2026-10-25
MBC_Pro_Sensors_mBlock5_v1.0.0.mext legacy mBlock 5 extension v1.0.0 (legacy, 15 blocks) — for firmware shipped before 2026-10 1.0.0 mBlock v1 (before 2026-10) 1.9 MB 2026-10-21

This table is generated from the _build/pack-downloads.mjs list (_build/generated/downloads.json) and is overwritten whenever the packs are rebuilt.


mBlock 5 (Makeblock mBot etc.)

File Status Notes
MBC_Pro_Sensors_mBlock5_v2.2.0_import.mext In development: import it yourself (advanced) v2.2.0 = all v2.1.0 blocks + 15 SharpShot Vision object-detection blocks (132 in total); the category is renamed "SharpShot Vision" and the School / WRO edition categories "SharpShot Vision (legacy)" (for the SharpShot Vision; its mBlock edition is not yet hardware-verified). Import it the same way as the v2.0.0 row
MBC_Pro_Sensors_mBlock5_v2.1.0_import.mext In development: import it yourself (advanced) v2.1.0 = all v2.0.0 blocks + a "Vision Universal" category of 22 blocks (for the SharpShot Vision; its mBlock edition is not yet hardware-verified). Import it the same way as the next row
MBC_Pro_Sensors_mBlock5_v2.0.0_import.mext In development: import it yourself (advanced) v2.0.0, 95 blocks (Pathfinder, Ranger, Controller, IMU, Vision, MBC common), for protocol v2 firmware. This is an import file: sign in to ext.mblock.cc → My extensions → Import data → upload → Download the final .mext. Once listed, just search "MBC" in the mBlock Extension Center
MBC_Pro_Sensors_mBlock5_v1.0.0.mext legacy Legacy v1.0.0, 15 blocks, for firmware shipped before 2026-10; drop straight into mBlock

Install steps and block reference: MakeBlock (mBot) block extension.

🟠 micro:bit (MakeCode extension)

Nothing to download: MakeCode → Extensions → paste https://github.com/contactmbcrobot/pxt-mbc-sensors (v2.0.5, 83 blocks, MIT). Wiring, hardware checklist and block list: micro:bit overview.

🟢 MATRIX Mini R4

MATRIX uses the stock colour-sensor blocks (0x22): nothing to download. Mapping for every product: MATRIX overview.

∿ Arduino examples (.zip, 5~6 sketches each)

Product Chinese comments English comments
Pathfinder 8-Way line8_arduino_examples.zip line8_arduino_examples_en.zip
Pathfinder 16-Way line16_arduino_examples.zip line16_arduino_examples_en.zip
Ranger 2-Way tof2_arduino_examples.zip tof2_arduino_examples_en.zip
Ranger 8-Way tof8_arduino_examples.zip tof8_arduino_examples_en.zip
Controller PS2 ps2_arduino_examples.zip ps2_arduino_examples_en.zip
Controller PS4 / PS5 ps4_arduino_examples.zip ps4_arduino_examples_en.zip
IMU gyro imu_arduino_examples.zip imu_arduino_examples_en.zip
SharpShot Vision (I2C, firmware v1 not yet hardware-verified) unicam_arduino_examples.zip unicam_arduino_examples_en.zip
MBC EXP6 6-Port Motor Expander (for LEGO® SPIKE™) (UART, under development, not yet supported) exp6_arduino_examples.zip exp6_arduino_examples_en.zip
Universal I2C tools (scan, read version) i2c_arduino_examples.zip —

Line-by-line explanations are on each product's "Arduino Examples" page; start at First time with Arduino. Examples and libraries for the legacy SharpShot Vision (no longer supported) are collected on the legacy overview page.

SPIKE / EV3 Pybricks examples (.zip)

The current version is Pybricks 4.1 (the stable code.pybricks.com is v4.1.1; v4.1.0 from the MBC SPIKE Blocks website works too). Every pack includes MBC_sensors.py: one file for every MBC sensor (shared by SPIKE and EV3). New projects only need to import it: from MBC_sensors import MBC_LINE8 (classes: MBC_LINE8, MBC_LINE16, MBC_LASER2, MBC_LASER8, MBC_GAMEPAD, MBC_CAM_SCHOOL, MBC_HUE12).

Important

The old-name libraries in the packs (such as MBC_line8_obj_Lib.py) are for swapping into existing projects: an old project just replaces the one file it already uses, with no code changes. Every old-name file is the whole shared library, so importing 3 or more in one program goes over the SPIKE program slot limit of about 51 KB; to mix several sensors, import only MBC_sensors.py.

Product SPIKE Pybricks 4.1 EV3 Pybricks
Pathfinder 8-Way line8_pybricks_spike_v4.x.zip line8_pybricks_ev3.zip
Pathfinder 16-Way line16_pybricks_spike_v4.x.zip line16_pybricks_ev3.zip
Ranger 2-Way tof2_pybricks_spike_v4.x.zip —
Ranger 8-Way tof8_pybricks_spike_v4.x.zip —
Controller PS2 ps2_pybricks_spike_v4.x.zip —
Controller PS4 / PS5 ps4_pybricks_spike_v4.x.zip —

Legacy (no longer updated)

The Pybricks 3.6.1 libraries and examples: for hubs that have not been upgraded to Pybricks 4; the 2026 SPIKE hubs cannot use them. These files will not be updated again; please move to the 4.1 packs above if you can.

Product SPIKE Pybricks 3.6.1
Pathfinder 8-Way line8_pybricks_spike_v3.6.1.zip
Pathfinder 16-Way line16_pybricks_spike_v3.6.1.zip
Ranger 8-Way tof8_pybricks_spike_v3.6.1.zip
Controller PS2 ps2_pybricks_spike_v3.6.1.zip
Controller PS4 / PS5 ps4_pybricks_spike_v3.6.1.zip

Beginner examples (not packed)

The beginner examples for the official SPIKE App (.llsp3), the MBC blocks site (.abp) and the EV3 software (.ev3 / .lmsp / clev3r .bp) are not packed: each one is downloaded from its page, with a screenshot (SPIKE example pages are in Chinese; EV3 pages are in English):

Product SPIKE beginner examples EV3 beginner examples
Pathfinder 8-Way page (zh) page
Pathfinder 16-Way page (zh) page
Ranger 2-Way page (zh) page
Ranger 8-Way page (zh) page
Controller PS2 page (zh) page
Controller PS4 / PS5 page (zh) page
IMU gyro — page
SharpShot Vision page page
MBC EXP6 6-Port Motor Expander (for LEGO® SPIKE™) page (zh) —

Catalog and manuals

File Notes
MBC-Pro-Sensors-Catalog-2026-EN.pdf 2026 product catalog (English, 2.1 MB)
PS2_Controller_Command_Guide_EN_Taiwan_only.pdf Controller PS2 command guide (English; the PS2 is sold in Taiwan only)
PS2_Controller_Command_Guide_ZH.pdf Controller PS2 command guide (Chinese)

Missing a file, or need a firmware update? Contact us.

Email for a quoteBuying Guide