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



E.Mobile shooter 5.iOS Bluetooth APP control

Posted by Fiona Su on

In this lesson we will learn to use the Bluetooth APP to remotely control the building blocks Mobile shooter .

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 code:

Please refer to the

microbit-Mobile-shooter-Android-Bluetooth-APP-control.hex 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,

Left motor connect to M1 interface of super:bit.

Right motor connect to M3 interface of super:bit.

Servo connect to S1 interface of super:bit.

image.png 

!!!Note:When using the program related to the building block servo for the first time.

First, we need to remove the gear on the building block servo.Then, download the program to micro:bit. Next, turn on the power of the Super:bit expansion board and wait for the building block servo to turn to the initial position and turn off the power. Finally, we need to open the trolley clip to the widest point, and then install the gear on the building block servo.

5.Download and install APP:

Android Please use the browser to scan the QR code to download and install or Download: micro:bit Bluetooth APP ; Apple please use camera to scan the QR code to enter the APP Store to download and install or search for "Mbit" or "Yahboom" in the APP Store. As shown in figure below. 

image.png 

After the download is complete, install it.

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

(for example, you need to obtain your mobile phone location permission.)

6.Steps:

6.1 First, we need to download the microbit-Mobile-shooter-Android-Bluetooth-APP-control.hex to micro:bit, you can see that the micro:bit dot matrix shows an "S" as shown in Figure 1.1, which is the state that Bluetooth is not connected.

image.png 

Figure 1.1

6.2 Open the Bluetooth of your mobile phone, and open the Bluetooth APP, Mobile phone close to robot Bluetooth automatic connection. If Bluetooth can't connect automatically, you need to click 【Search Bluetooth devicesto connect the Bluetooth between the phone and the robot. As shown in Figure 1.2

image.png 

Figure 1.2

6.3 When the APP interface is switched to the screen shown in Figure 1.3, and the robot's dot matrix is switched to the pattern shown in Figure 1.4, the connection is successful and the next operation can be performed.

If Bluetooth is disconnected, micro:bit will display the pattern of Figure 1.5.

image.png

Figure 1.3

image.png       image.png

Figure 1.4                     Figure 1.5

 

7.About APP interface:

image.png 

 

7.1 Music

image.png 

7.2 Car light

image.png 

7.3 RGB

image.png 

!!!Note: Mode option is unavailable.

 The code of the experiment:  5.iOS  Bluetooth APP control.rar

Tutorial

Yahboom Micro:bit Remote Control Building Block 5 in 1 Robot Car Kit Tutorial

Buy Yahboom Micro:bit Remote Control Building Block 5 in 1 Robot Car Kit

0 comments

Leave a comment

Please note, comments must be approved before they are published