Robot Kit for Micro:bit Tutorial: 7.2 Android bluetooth APP control
! Note: We provide two hex files,
microbit-Buletooth_control.hex without ultrasonic display function,
The microbit-Bluetooth_control_with_Ultrasonic.hex is shown with an ultrasound display.
It is recommended that you use the former (without ultrasound display, the control is smoother)
Android users please use the browser to scan the following QR code to download and install or download the 【Android Remote APP】 provided by us directly in the download area;
3.1 After downloading the Bluetooth remote control APP, we have to install it.
(Note: If the phone prompts you to obtain location rights during installation, you need to click to “agree” to get location permissions.)
3.2 After the Bluetooth remote control code is downloaded, open the power of the Tiny-bit. At this point, you will see the pattern shown in Figure 3-1 on the LED dot matrix of the micro:bit board. The RGB light will be lighted up in red. It is the state that Bluetooth is not connected.
3.3 Open the bluetooth of your phone,open the Bluetooth APP. You will see the Bluetooth signal in the upper left corner of the Bluetooth APP interface, as shown below.
3.4 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 3-3. Then, Bluetooth can be successfully connected, and the APP will enter the interface as shown below. As shown in Figure 3-4.
After the Bluetooth is connected successfully, the pattern shown in Figure 3-5 will be displayed on the dot matrix of the Tiny-bit, and then the green RGB light will be illuminated. After waiting for the green RGB searchlight to be lit, we can start controlling the car.
If the Bluetooth is disconnected, a pattern of crying faces will appear on the dot matrix of the Tiny-bit car, as shown in Figure 3-6 below.
Figure 3-5 Figure 3-6
4. APP interface:
4.1 Basic :
4.3 Car Lights
4.4 RGB lights
The code of the experiment: 2.Android bluetooth APP control.rar
Interacting with Tiny bit