Functions
mBuild modules provide abundant input and output functions, allowing you to easily extend the functions of the supported main control boards, such as CyberPi and Halocode.
Structural characteristics
All mBuild modules are developed with two through-holes.
With the through-holes, mBuild modules can be mounted on each other with connectors, such as pins and screws. In addition, they can be connected to mechanical parts (M4), building blocks, and other structural parts through connectors.
The following provides some connection examples:
Example 1: Speaker + one pin + servo driver
Example 2: Speaker + one pin + one cut board
Example 3: Speaker + one pin + one beam (M4)
Example 4: Speaker + one cut board + two screws + two brass studs
Electronic characteristics
mBuild ports
Most of the mBuild modules provide two mBuild ports.
With the mBuild ports, multiple mBuild modules can be connected in series.
In addition, the address of the modules can be intelligently identified when you program them on mBlock 5, which simplifies your programming. You don’t have to set the information about the address of the modules when you add or remove a module.
Intelligent address identification
Example:
Connect CyberPi to multiple LED matrixes
After connecting CyberPi to multiple LED matrixes, you need only to specify the order 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.”
Micro USB port
Some of the mBuild modules, such as Speaker, Power Module, and Smart Camera, provide a Micro USB port, which allows a module to directly connect to a computer for power supply or communication.
For details about how to get started with mBuild modules, see Getting Started.