Table of Contents

About CyberPi Series


CyberPi is a new-generation networkable microcomputer designed for AI programming education. With the compact structure and powerful functions, it can be used to popularize AI education and advance your programming learning.


With the powerful programming software mBlock 5, extension boards, mechanical metal parts, and mBuild modules, CyberPi series products can be used in multiple education scenarios including large-class teaching, community teaching, and online/offline education & training. The products cover multiple teaching fields including programming, makers, and robots and thus can meet the diversified education needs, such as AI, IoT, data science, and UI design.

Structural Characteristics

CyberPi series products are design with special appearances, such as holes, through-holes, pins, and tapped holes, which enable them to be extended with other parts or components.

Appearance design



Holes on the back, used to:

  • connect to extension boards
  • connect to Lego blocks or Makeblock M4 metal parts through pins

Pocket Shield

Pins on the front, used to connect to CyberPi

Holes and a tapped hole on the back.

  • The holes are used to connect to Lego blocks or Makeblock M4 metal parts through pins.
  • The tapped hole is used to connect to Makeblock M4 metal parts through screws.

mBuild modules

Through-holes, used to connect to Makeblock M4 metal parts through pins or screws or Lego blocks through pins

The following provides some common connection examples:

Example 1: CyberPi + one beam + one pin

Example 2: CyberPi + one cut board + two pins

Example 3: Pocket Shield + one T-shaped plate + one M4 x 14 screw

Example 4: CyberPi + Pocket Shield + one T-shaped plate + two beams + five screws

For more information about Makeblock metal parts, see Mechanical Parts on Maker’s Platform.


Electronic Characteristics

Main control board



Extension boards

CyberPi can work with multiple extension boards to meet diversified education needs.

Pocket Shield


For more information about Pocket Shield, see Pocket Shield.

More extension boards are being developed. Stay tuned!

Electronic modules

In addition to the mBuild electronic modules, the CyberPi series supports third-party electronic components and parts, for example, Arduino modules.

mBuild electronic modules


Currently, over 30 mBuild electronic modules have been developed, and more modules will be available.

Each mBuild module is equipped with a micro-processing chip, which enables multiple modules to connect to one port in series, as shown in the following figure.


In addition, CyberPi can intelligently identify the positions of the modules, which simplifies your programming. You don’t have to set the information about the positions of the modules when you add or remove a module.

Intelligent position identification


Connect CyberPi to multiple LED matrixes


After connecting CyberPi to multiple LED matrixes, you need only to specify the place of an LED matrix among the ones connected instead of specifying the port to which the LED matrix is connected when compiling a program. As shown in the preceding figure, the first LED matrix connected to CyberPi is numbered 1, the second one numbered 2, and so on.


When you press button A on CyberPi, the first LED matrix displays “Hello,” and the second one displays “World.”

Change the positions of the modules, as shown in the following figure.


The preceding program still works after you add a ranging sensor. When you press button A on CyberPi, the first LED matrix displays “Hello,” and the second one displays “World.”

For more information, see mBuild Electronic Modules.

Third-party sensors

image.png(Source: Internet webpage)

The CyberPi series is compatible with multiple third-party sensors. You can read Open-source Materials to understand how CyberPi series products are connected to third-party electronic components or parts.


Working in combination with the corresponding electronic modules or extension boards, CyberPi can drive multiple types of motors. The following table describes the motors supported by CyberPi.


Through mBuild modules

Through Pocket Shield

Through the mBot2 extension board

Through the Challenge extension board

5V TT motor





5V 9g servo





6–12V smart servo





12V encoder motor




Brushless motor



Stepper motor



Other accessories

Bluetooth Controller


For more information about Makeblock Bluetooth Controller, see Bluetooth Controller Online Help.

Bluetooth Dongle


For more information about Makeblock Bluetooth Dongle, see Bluetooth Dongle Quick Start Guide.


CyberPi series products are designed with multiple interfaces, which enable them to easily connect to other electronic components and parts, facilitating the extension of abundant functions.





1: used to connect extension boards

2: used to connect mBuild electronic modules

3: Type-C USB cable, used to connect a PC

Pocket Shield


1: used to connect CyberPi

2: DC motor ports M1 and M2, used to connect motors; Digital servo ports S1 and S2, used to connect servos or LED strips

mBuild electronic module


Used to connect a main control board or other mBuild electronic modules

The following provides some common function extension examples:

Example 1: Connecting Pocket Shield to CyberPi


Pocket Shield is equipped with a built-in rechargeable battery that can supply power for CyberPi and provides 2-pin and 3-pin interfaces that can be used to connect servos, LED strips, and motors, which significantly improves the extensibility of CyberPi.

Example 2: Connecting mBuild modules to CyberPi


mBuild modules are small in size but rich in functions. CyberPi can be connected to multiple mBuild modules in series.

Example 3: Connecting a motor to CyberPi through Pocket Shield


CyberPi can connect to multiple types of motors through other modules or extension boards.


CyberPi series products supports multiple types of connection cables, as described in the following table.



Type-C USB cable

Used to connect CyberPi to PCs for power supply or program/command transmission

4-pin cable

Used to connect mBuild modules

3-pin cable

Used to connect Pocket Shield or mBot 2 to LED strips

Used to connect mBuild LED drivers to LED strips

2-pin cable

Used to connect Pocket Shield or mBot 2 to DC motors

Used to connect mBuild motor drivers to DC motors

Programming Software

You can use mBlock 5 to program CyberPi series products. mBlock 5 provides two editors, namely the block-based graphical editor (the default editor, referred to as mBlock 5) and Python editor (referred to as mBlock-Python Editor).

mBlock 5

Obtaining mBlock 5

Select the version applicable to your device. For example, if you use a PC, you can download the version for PCs or use mBlock on the web.

Learning how to use mBlock 5

Before using mBlock to program CyberPi series products, you need to know about some basic operations.

For more information and help about mBlock 5, see the mBlock 5 Online Help.

Block help

mBlock 5 provides multiple types of block for CyberPi series products, and you can right-click a block to see the help for it.


mBlock-Python Editor

Open mBlock-Python Editor

Method 1: You can click the editor switching button on the upper-right of mBlock 5 on the web to go to mBlock-Python Editor.

image.pngMethod 2: Open mBlock-Python Editor by entering its URL address:

For more information, see “Open mBlock-Python Editor.”

Python API

Python API Documentations

The Python library cyberpi is provided for CyberPi series products. For details, see “Python API Documentation for CyberPi.”

Quick access to the Python API Documentation for CyberPi

On mBlock-Python Editor, click Tutorials on the toolbar, and then click Python API Documentation for CyberPi in the title list.