yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Building:bit Superkit📖
0.First Trial Video
1.Assembly Course
  • 1.1Mobile shooter
  • 1.2Pretty car
  • 1.3Clip robot
  • 1.4Proficient carrier
  • 1.5Skip car
  • 1.6Freestyle
  • 1.7Spider
  • 1.8Lifting platform
  • 1.9Biped robot
  • 1.10Changing Face
  • 1.11Carousel
  • 1.12Oscillating fan
  • 1.13Airplane
  • 1.14Unicycle
  • 1.15Auto-door
  • 1.16Dragon knight
  • 1.17Ultrasonic handheld rangefinder
  • 1.18Small flying car obstacle avoidance
  • 1.19Changing face
  • 1.20Adjustable RGB light
  • 1.21Adjustable fan
  • 1.22Photosensitive emergency light
  • 1.23Smart alarm clock
  • 1.24Light-controlled bipedal robot
  • 1.25Swimming robot avoid objects
  • 1.26Fleeing spider
  • 1.27Temperature humidity reminder
  • 1.28Temperature-controlled fan
  • 1.29Color recognition machine
  • 1.30Color-recognizing automatic door
  • 1.31Rokcer color changing light
  • 1.32Rokcer transporter
2.Preparation before class
  • 2.1 About BBC microbit
  • 2.2 Super:bit expansion board
  • 2.3 MakeCode Graphical Programming Guide
  • 2.4 MakeCode graphical API
  • 2.5 Python Programming Guide
  • 2.6 Superbit MicroPython API
  • 2.7 Notes on charging and battery use
3.Basic modeling MakeCode course
0.Basic course
  • 1.Buzzer play music
  • 2.Control RGB color
  • 3.Control all RGB lights
  • 4.Drive 270°building block servo
  • 5.Drive 180° servo
  • 6.Drive motor
A.Mobile shooter
  • 1.Cannonball shooting
  • 2.Music fortress
  • 3.APP control
  • 4.Micro:bit handle control
  • 5.WiFi camera control
B.Pretty car
  • 1.Dancer
  • 2.APP control
  • 3.Micro:bit handle control
  • 4.WiFi camera control
C.Clip robot
  • 1.Dancing and singing
  • 2.Button control clip
  • 3.APP control
  • 4.Micro:bit handle control
  • 5.WiFi camera control
D.Proficient carrier
  • 1.Dancing
  • 2.Button control shovel
  • 3.Transportation
  • 4.APP control
  • 5.Micro:bit handle control
  • 6.WiFi camera control
E.Skip car
  • 1.Dance battle
  • 2.Button control skip car
  • 3.Powerful carrier
  • 4.APP control
  • 5.Micro:bit handle control
  • 6.WiFi camera control
F.Freestyle
  • 1.Dancing and singing
  • 2.Freestyle advance
  • 3.APP control
  • 4.Micro:bit handle control
G.Spider
  • 1.Spider advance
  • 2.The dancing spider
  • 3.APP control
  • 4.Micro:bit handle control
  • 5.WiFi camera control
H.Lifting platform
  • 1.Automatic Lift
  • 2.Button control platform
  • 3.APP control
  • 4.Micro:bit handle control
I.Biped robot
  • 1.Walking
  • 2.Dancing and singing
  • 3.APP control
  • 4.Micro:bit handle control
J.Changing Face
  • 1.Changing face
  • 2.Bite the hand crocodile
  • 3.APP control
  • 4.Micro:bit handle control
K.Carousel
  • 1.Music carousel
  • 2.APP control
  • 3.Micro:bit handle control
L.Oscillating fan
  • 1.Colorful windmill
  • 2.Summer cooling artifact
  • 3.APP control
  • 4.Micro:bit handle control
M.Airplane
  • 1.Sailing Prelude
  • 2.APP control
  • 3.Micro:bit handle control
N.Unicycle
  • 1.Clumsy reptile
  • 2.APP control
  • 3.Micro:bit handle control
O.Auto-door
  • 1.Soldiers on duty
  • 2.Music door
  • 3.APP control
  • 4.Micro:bit handle control
P.Dragon knight
  • 1.Waving wings
  • 2.APP control
  • 3.Microbit handle control
4.Basic modeling Python course
0.Basic course
  • 1.Buzzer play music
  • 2.Control RGB color
  • 3.Control all RGB lights
  • 4.Drive 270° building block servo
  • 5.Drive 180° servo
  • 6.Drive motor
  • 7.Drive stepper motor
A.Mobile shooter
  • 1.Cannonball shooting
  • 2.Music fortress
  • 3.Micro:bit handle control
B.Pretty car
  • 1.Dancer
  • 2.Micro:bit handle control
C.Clip robot
  • 1.Dancing and singing
  • 2.Button control clip
  • 3.Micro:bit handle control
D.Proficient carrier
  • 1.Dancing
  • 2.Button control shovel
  • 3.Transportation
  • 4.Micro:bit handle control
E.Skip car
  • 1.Dance battle
  • 2.Button control skip car
  • 3.Powerful carrier
  • 4.Microbit handle control
F.Freestyle
  • 1.Dancing and singing
  • 2.Freestyle advance
  • 3.Micro:bit handle control
G.Spider
  • 1.Spider advance
  • 2.The dancing spider
  • 3.Micro:bit handle control
H.Lifting platform
  • 1.Automatic Lift
  • 2.Button control platform
  • 3.Micro:bit handle control
I.Biped robot
  • 1.Walking
  • 2.Dancing and singing
  • 3.Micro:bit handle control
J.Changing Face
  • 1.Changing face
  • 2.Bite the hand crocodile
  • 3.Micro:bit handle control
K.Carousel
  • 1.Music carousel
  • 2.Micro:bit handle control
L.Oscillating fan
  • 1.Colorful windmill
  • 2.Summer cooling artifact
  • 3.Micro:bit handle control
M.Airplane
  • 1.Sailing Prelude
  • 2.Micro:bit handle control
N.Unicycle
  • 1.Clumsy reptile
  • 2.Micro:bit handle control
O.Auto-door
  • 1.Soldiers on duty
  • 2.Music door
  • 3.Microbit handle control
P.Dragon knight
  • 1.Waving wings
  • 2.Micro:bit handle control
5.Sensor Advanced MakeCode coursenew
3.Sensor expansion course
  • 3.1 Avoiding car
  • 3.2 Changing Face
  • 3.3 Adjustable fan
  • 3.4 Photosensitive robot
  • 3.5 Swimming robot
  • 3.6 Spiders sense human body
  • 3.7 Temperature control fan
  • 3.8 Automatic safety door
  • 3.9 Rocker carrier car
2.Sensor basic course
  • 2.1 Hand-held range finder
  • 2.2 Adjustable RGB light
  • 2.3 Emergency light
  • 2.4 Vibrating alarm clock
  • 2.5 Infrared detection broadcast
  • 2.6Human body infrared detection broadcast
  • 2.7 Temperature and humidity broadcaster
  • 2.8 Color recognition machine
  • 2.9 Rocker control light
1.Sensor principle
  • 1.1 About ultrasonic sensors
  • 1.2 Ultrasonic ranging
  • 1.3 About potentiometers
  • 1.4 Adjust potentiometer
  • 1.5 About photosensitive sensors
  • 1.6 Read the light intensity
  • 1.7 About infrared modules
  • 1.8 Obstacle detection
  • 1.9 Introduction of module
  • 1.10 Human body detection
  • 1.11 About temperature-humidity modules
  • 1.12 Read temperature humidity
  • 1.13 About color recognition sensors
  • 1.14 Color recognition
  • 1.15 About rocker module
  • 1.16 Control rocker
6.Sensor Advanced Python coursenew
1.Sensor principle
  • 1.1 About ultrasonic sensorsnew
  • 1.2 Ultrasonic rangingnew
  • 1.3 About potentiometersnew
  • 1.4 Adjust potentiometernew
  • 1.5 About photosensitive sensorsnew
  • 1.6 Read the light intensitynew
  • 1.7 About infrared modulesnew
  • 1.8 Obstacle detectionnew
  • 1.9 About human infrared sensing modulesnew
  • 1.10 Human body detectionnew
  • 1.11 About temperature-humidity modulesnew
  • 1.12 Read temperature humiditynew
  • 1.13 About color recognition sensorsnew
  • 1.14 Color recognitionnew
  • 1.15 About rocker modulenew
  • 1.16 Control rockernew
2.Sensor basic course
  • 2.1 Hand-held range findernew
  • 2.2 Adjustable RGB lightnew
  • 2.3 Emergency lightnew
  • 2.4 Vibrating alarm clocknew
  • 2.5 Infrared detection broadcastnew
  • 2.6 Human body infrared detection broadcastnew
  • 2.7 Temperature and humidity broadcasternew
  • 2.8 Color recognition machinenew
  • 2.9 Rocker control lightnew
3.Sensor expansion course
  • 3.1 Avoiding carnew
  • 3.2 Changing Facenew
  • 3.3 Adjustable fannew
  • 3.4 Photosensitive robotnew
  • 3.5 Swimming robotnew
  • 3.6 Spiders sense human bodynew
  • 3.7 Temperature control fannew
  • 3.8 Automatic safety doornew
  • 3.9 Rocker carriernew
Download
  • APP(iOS_Android)
  • Code_PythonLibrary
  • Hardware manual
  • Bluetooth communication protocol
  • Assembly Instructions Manual
  • Makecode offline software
Download ZIP

Welcome to Building:bit Superkit repository

6.WiFi camera control

WiFi camera control

WiFi camera control1. Learning objectives2. Building blocks3. Wiring4. Programming4.1 Add expansion package4.2 Building blocks used4.3 Introduction to main building blocks4.4 Combined blocks5. Experimental phenomenon6. Extension: STA mode connection

The WiFi camera module in this case needs to be purchased separately

1. Learning objectives

In this course, we mainly learn how to use MakeCode graphical programming to achieve WiFi remote control of Proficient carrier.

 

2. Building blocks

For detailed steps of building blocks, please refer to the installation drawings of [Assembly Course]--[Proficient carrier] in the materials or the building block installation brochure.

Then install the WiFi camera module according to the following steps:

1 2 3 4

 

3. Wiring

Motor wiring

Insert the motor wiring on the left side of the car into the M1 interface of the Super:bit expansion board, and the black wire is close to the battery side;

Insert the motor wiring on the right side of the car into the M3 interface of the Super:bit expansion board, and the black wire is close to the battery side;

Insert the building block servo wiring into the S1 interface of the Super:bit expansion board, and insert the orange servo wiring into the yellow pin of S1.

As shown in the figure below:

image-20250607163959305

! Notes:

When taking a course related to the building block servo for the first time, we need to remove the large gear installed on the servo and upload the program of this course to the micro:bit; then turn on the power switch of the Super:bit expansion board and wait for the building block servo to turn to the initial position; then, we can turn off the power, adjust the angle of the car's projection rod to be parallel to the ground, and then install the servo gear. (If you have used the catapult and servo-related programs before, you can skip this step)

image-20250607094947210

Wiring of the camera and the car

4. Programming

Method 1 Online programming:

First, connect the micro:bit to the computer via a USB data cable, and a U disk will pop up on the computer. Click the URL in the U disk: https://makecode.microbit.org/ to enter the programming interface. Then, add the Yahboom software package to program.

Method 2 Offline Programming:

Open the offline programming software MakeCode and enter the programming interface. Click [New] and add the Yahboom software package to start programming.

superbit kit expansion package: https://github.com/YahboomTechnology/SuperBitLibV2 WiFi camera expansion package: https://github.com/yahboomtechnology/ESP32-wifi-Microbit

4.1 Add expansion package

image-20250606184603631

image-20250606184759888

4.2 Building blocks used

The location of the building blocks required for this programming is shown in the figure below.

image-20250611113414520

image-20250611113649175

image-20250611113814571

image-20250611113917668

image-20250611114042038

image-20250611114409374

4.3 Introduction to main building blocks

  • Serial port initialization building block This is used to define the pins for serial communication, and communicate with the WiFi camera. The baud rate is 115200 by default and cannot be changed Serial port initialization
  • Set the size of the serial port receiving buffer This building block is used to define the size of a packet of data that can be accepted for transparent transmission, for example Serial port buffer This defines that the maximum size of a packet is 30 characters. Exceeding this will result in incomplete data reception. This value cannot be less than 25, otherwise the IP information will also be incomplete
  • Block for obtaining transparent data This block is mainly used to obtain information sent by the host computer to microbit, and transmits information through the wifi camera as the intermediate information Transparent data
  • Block for car control This block is mainly used to receive instructions sent by the app and transmit them to the car Car control
  • You can know the function of other blocks by looking at their names. For how to use them, you can refer to the source code provided in this tutorial. This tutorial will not elaborate on them

4.4 Combined blocks

image-20250611114621486

You can also directly open the microbit-wifi_superkit_AP.hex file provided in this experiment and drag it into the browser that opens the URL, and the program diagram of the source code of this project will be automatically opened

 

5. Experimental phenomenon

  1. After powering on, wait until the microbit screen no longer displays anything before you can control the connection with the app. At first, the display will be a heart icon. After successful startup, its firmware version number will be displayed. After waiting for a check icon to be displayed, the default IP address of the hotspot AP mode "ap_ip:192.168.4.1" will be displayed. (This tutorial recommends using a simple self-heating hotspot AP mode for connection. To connect to WIFI using STA mode, see the expanded content of STA mode connection below)

image-20250611114944699

 

  1. Download the APP: For Android, please use the browser to scan the following QR code to download and install YahboomCam. For Apple, please use the camera to scan the QR code to enter the App Store to download and install, or search for "YahboomCam" in the App Store to find "YahboomCam".

yahboomCam Download QR Code

  1. Use your mobile phone to connect to the hotspot (the default hotspot name is Yahboom_ESP32_WIFI, without a password). Open YahboomCam, enter the camera IP and fill in the default IP address 192.168.4.1 displayed by microbit, and then click Login.

192.168.4.1

  1. The page after login is as follows. You can click the control button on the interface to remotely control the car, such as forward, backward, left turn, right turn, etc. (the servo cannot be controlled by the car), and the real-time image of the camera is also displayed on the app page. The camera can be controlled by the horizontal and vertical control switches of the camera.

After logging into the camera through APP

6. Extension: STA mode connection

  1. Open the URL https://makecode.microbit.org/# in the browser
  2. Then drag the microbit-wifi_superkit_STA.hex file provided in this experiment into the browser that opens the URL, and the program diagram of the source code of this project will be automatically opened

image-20250611115302220

  1. Set the WiFi name and password to be connected. The WiFi name and password must be filled in correctly according to the WiFi you want to connect to, otherwise there is no way to connect to the WiFi correctly and display the IP address. If the connection is successful, the IP address of sta_ip:192.168.x.x will be displayed. If the connection is unsuccessful, sta_ip:null will be displayed. You need to check whether the WiFi name and address filled in the program are correct.

image-20250611115430525

  1. Connect your phone to the WIFI set above, and make sure that the phone and the robot are connected to the same WiFi. Open YahboomCam, enter the camera IP and fill in the sta_ip address displayed by microbit (pay attention to the content displayed by microbit, and it will start to display "sta_ip: 192.168.x.x" after seeing the icon check), and then click to log in. (The IP in the picture is only an example, the specific IP should be based on the microbit display)

WiFiip

  1. After logging in, you can see the following page. You can click the control button on the interface to remotely control the car, such as forward, backward, left turn, right turn, etc. (the servo cannot be controlled by this car), and the real-time picture of the camera is also displayed on the app page. The camera can be controlled by the horizontal and vertical control switches of the camera.

After APP logs into the camera

 

Micro:bit handle control
Dance battle

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文