Welcome to Mini Microbit Handle repository
4.Armbit
Arm Handle Control
In this lesson we will learn to use the Handle to remotely control the building blocks.
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 spider code:
Please refer to the Arm code file of this experiment.
Please refer to the Handle 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,
NO.1 motor connect to M1 interface of super:bit,
NO.2 motor connect to M2 interface of super:bit,
NO.3 motor connect to M3 interface of super:bit,
NO.4 motor connect to M4 interface of super:bit.
3. Steps:
First, we need to download the microbit-Arm-Handle-control.hex to micro:bit of Spider, you can see that the micro:bit dot matrix shows an “heart”, as shown in Figure 1.1.
we need to download the microbit-Arm-handle-code.hex to micro:bit of Handle, you can see that the micro:bit dot matrix shows an “heart” as shown in Figure 1.1.
Figure 1.1
Then, open the micro:bit handle. After the handle is connected with the micro:bit building block Arm:bit, you can control it by handle.
Note: Do not over-stretch at the joint of the mechanical arm to avoid unnecessary wear and affect the internal structure of the push rod.