Welcome to Mini Microbit Handle repository
2.Bipedbit
Biped bit handle remote control
In this lesson we will learn to use the Handle to remotely control the building blocks Biped:bit .
1.Programming method:
Mode 1 online programming: First, we need to connect the micro:bit to the computer by USB cable. The computer will pop up a USB flash drive and click on the URL in the USB flash drive: http://microbit.org/ to enter the programming interface. Add the Yahboom package https://github.com/lzty634158/SuperBit to program.
Mode 2 offline programming: We need to open the offline programming software. After the installation is complete, enter the programming interface, click【New Project】, add Yahboom package:
https://github.com/lzty634158/SuperBit, you can program.
2.About Pretty car code:
Please refer to the Handle code file of this experiment.
Please refer to the Biped bit code file of this experiment.
3.Assembly steps
Please refer to the Assembly instructions folder for building blocks assembly steps.
4.About wiring:
As shown below,
building block motor connect to M1 interface of super:bit.
The black wiring of the motor is near the battery side.
5.Steps:
5.1 Handle rocker control
First, we need to download the microbit-Biped-bit-handle-remote-control.hex
to micro:bit of Pretty car, you can see that the micro:bit dot matrix shows an pattern as shown in Figure 1.1.
we need to download the microbit-Handle_rocker_control.hex to micro:bit of Handle, you can see that the micro:bit dot matrix shows an “heart” as shown in Figure 1.2.
Figure 1.1 Figure 1.2
Then, open the micro:bit handle. After the handle is connected with the micro:bit building block Pretty car, you can use the joystick to control the forward, backward, turn left, and turn right .
And use the handle button to switch the Color of RGB light. Press the rocker to turn off the RGB light.
5.2 Handle gravity control
First, we need to download the microbit-Biped-bit-handle-remote-control.hex to micro:bit of Pretty car, you can see that the micro:bit dot matrix shows an pattern as shown in Figure 1.3.
we need to download the microbit-Handle-gravity-control.hex to micro:bit of Handle, you can see that the micro:bit dot matrix shows an “heart” as shown in Figure 1.4.

Figure 1.3 Figure 1.4
Then, open the micro:bit handle. After the handle is connected with the micro:bit building block Biped:bit, you can shake handle to control the forward, backward, turn left, and turn right .
And use the handle button to switch the Color of RGB light. Press the rocker to turn off the RGB light.
1. Press the rocker to switch mode, if the mode switch successfully, the buzzer of biped:bit will sound, and micro:bit dot matrix will display the current mode(number 1 or number 2); at the same time, RGB lights will off;
2. The rocker pushes forward to control the biped:bit to advance;
mode 1: release and stop;
mode 2: release to continue forward, if you need to stop, press the rocker to switch mode;
The rocker pushes back to control the biped:bit to back;
mode 1: release and stop;
mode 2: release to continue back, if you want to stop, press the rocker to switch mode;
4. Press the red button to control the RGB lights of the biped robot to become red;
5. Press the green button to control the RGB lights of the biped robot to become green;
6. Press the blue button to control the RGB lights of the biped robot to become blue;
7. Press the yellow button to control the RGB lights of the biped robot to become yellow.