5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



Tumble:bit based on Micro:bit Tutorial 3.5 Android APP control

Posted by Fiona Su on

Tumble:bit based on Micro:bit Tutorial 3.5 Android APP control

microbit-Tumblebit-APP-control.hex

1. Learning goals

In this lesson, we will learn to use the APP control the building blocks balance car. 

2.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.

3.Assembly steps

Please refer to the [Tumblebit Assembly Steps]

4.About wiring

The motor wiring on the left side of the building block balance car is connected to the Super:bit M1 interface, and the black wire is on the battery side.

The motor wiring on the right side of the building block balance car is connected to the Super:bit M3 interface, and the black wire is on the battery side.

As shown below:

5.About code

Please refer to the microbit-Tumblebit-APP-control.hex file of this experiment.

6.Download APP

Android Please use the browser to scan the QR code to download and install APP.

image.png 

Note:
1)If there are any prompts on the phone during installation, please select "Yes".

2)open all permissions in App management, otherwise Bluetooth will not be connected.

7. Connect Bluetooth

7.1 After we download code into micro:bit, we can see micro:bit LED matrix will display a “S” pattern. As shown in Figure 1.1. This is a state where Bluetooth is not connected.

image.png 

Figure 1.1

7.2 Open the Bluetooth of your phone, and open the APP. You will see the Bluetooth signal in the upper left corner of the Bluetooth APP interface, as shown in Figure 1.2.

image.png 

Figure 1.2

7.3 The phone will automatically connect to the Bluetooth near the car. If there is no automatic connection, you need to click 【CONNECT】on the APP interface. As shown in Figure 1.3. Then, Bluetooth can be successfully connected, and the APP will enter the interface as shown below. As shown in Figure 1.4.

image.png 

Figure 1.3

image.png 

Figure 1.4

7.4 After the Bluetooth is connected successfully, the “smile”pattern shown in Figure 1.5 will be displayed on the dot matrix.

image.png 

Figure 1.5

If the Bluetooth is disconnected, a pattern of “crying” will appear on the dot matrix.  As shown in Figure 1.6.

image.png 

Figure 1.6

8. About APP

8.1 Basic :

image.png 

8.2 Music

image.png 

8.3 Car Lights

image.png 

8.4 RGB lights

image.png 

!!!Note: Mode option is unavailable. Distance and Temperature display is unavailable.

Tutorial

Tumble:bit Tutorial Overview

    Buy Yahboom programmable Tumble:bit based on Micro:bit compatible with LEGO

    0 comments

    Leave a comment

    Please note, comments must be approved before they are published