yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Tiny:bit Robot Car📖
1.First Trial
  • 1.1 First Trial
  • 1.2 Bluetooth APP manual matching tutorial
2.Preparation before programming
About Graphical
  • 1.Online programming
  • 2.Offline programming
About Python
  • 1.Python Programming
  • 2.Import Tiny:bit library
  • 3.Tiny:bit MicroPython API
Download program
  • How to download program
3.Lighting with Tiny bit
  • 3.1 LED light
  • 3.2 RGB Searching light
  • 3.3 RGB light exchange lighting
  • 3.4 LED light exchange lighting
  • 3.5 Breathing light
4.Singing withTiny bit
  • 4.1 Playing internal music
  • 4.2 Play Merry Christma with lights
5.Running with Tiny bit
  • 5.1 Advance
  • 5.2 CarRun
  • 5.3 Control speed
  • 5.4 Dancer
  • 5.5 Route plan
6.Playing with Tiny bit
  • 6.1 Measuring worker
  • 6.2 Distance control light
  • 6.3 Ultrasonic obstacle avoidance
  • 6.4 Magic hand
  • 6.6 Playing black paino
  • 6.7 Tracking
  • 6.8 Voice control light
  • 6.9 Coward
  • 6.10 Musical rhythm
  • 6.11 Listener
  • 6.12 Wobble when touch
  • 6.13 Spinning top
  • 6.14 Frog beating
  • 6.15 Adventure car
7.Interacting with Tiny bit
  • 7.1 IR Control
  • 7.2 Android bluetooth APP control
  • 7.3 iOS bluetooth APP control
  • 7.4 Handle remote control
  • 7.5 WiFi camera control(Tinybit Plus)
8.Charging and battery
  • Charging and Battery
9.Python course
Basic course
  • 1.Hello,World
  • 2.Display built-in image
  • 3.Display custom image
  • 4.Display custom animation
  • 5.Button game
  • 6.Play built-in music
  • 7.Car Headlights
  • 8.Drive Motor
  • 9.Tracking
  • 10.Sound sensor
  • 11.Ultrasonic
  • 12.IR control
  • 13.LED light
Robot course
  • 1.Advance
  • 2.CarRun
  • 3.Control speed
  • 4.Route plan
  • 5.Distance control light
  • 6.Ultrasonic avoid
  • 7.Tracking
  • 8.Voice control light
  • 9.Listener
  • 10.IR control
  • 11.Handle control(option)
10.AI vision course(For Tiny:bit Plus)new
  • 1. Cat(dog) detection
  • 2. Color recognition
  • 3. QR code instructions
  • 4. Person Recognition
  • 5. Face Detection
  • 6. Color Follows
  • 7. Face following
Download
  • APP(iOS_Android)
  • Instruction_Manual
  • Code
  • Makecode offline software
  • Bluetooth Remote Control with ultrasonic V2.hex
  • Bluetooth Remote ControlV1.5.hex
  • Bluetooth Remote Control with ultrasonicV1.5.hex
  • IR control V2.hex
  • IR control V1.5.hex
  • Tiny:bit V1 MicroPython Library
  • Tiny:bit V2 MicroPython Library
  • Tiny:bit MicroPython API
  • Bluetooth communication protocol
Download ZIP
FAQ
  • 1、Can't open MakeCode software normally.
  • 2、Tiny:bit Expansion pack infrared cannot switch French

Welcome to Tiny:bit Robot Car repository

当製品の日本語版マニュアル資料は、こちらからご取得ください。

7.5 WiFi camera control(Tinybit Plus)

First person visual gameplay

First person visual gameplay1. Experiment preparation2. Experimental installation3. Microbit building block import and simple instructions3.1 Open the programming website3.2 New project3.3 Add camera building blocks3.4 Add the building blocks of the car3.5 Introduction to the main building blocks4. Experimental results5. Expansion: STA mode connection

1. Experiment preparation

  • tinybit car
  • microbit
  • wifi camera

2. Experimental installation

Connect the camera to the car as shown below image-2024022200015

3. Microbit building block import and simple instructions

3.1 Open the programming website

https://makecode.microbit.org/#

3.2 New project

New Pro

E扩展

3.3 Add camera building blocks

The URL of the camera block:

  1. https://github.com/yahboomtechnology/ESP32-wifi-Microbit EN导入摄像头积木块

3.4 Add the building blocks of the car

The URL of the car building blocks:

1.https://github.com/YahboomTechnology/Tiny-bitLib.git

en导入小车积木块

3.5 Introduction to the main building blocks

After the above building blocks are successfully introduced, the results as shown below will be displayed. E导入成功

  • Serial port initialization building block This is used to define the pins for serial port communication and communication with wifi camera. The default baud rate is 115200 and cannot be changed. 串口初始化积木块
  • 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 transmitted transparently, such as 设置串口接收缓冲器的大小 This defines the maximum size of a packet to be 30 characters. If it is exceeded, the data reception will be incomplete. This value cannot be less than 25, otherwise the IP information will also be incomplete
  • Building block for obtaining transparent transmission data This building block is mainly used to obtain the information sent by the host computer to the microbit, and transmit it as an intermediate information through the wifi camera 获取透传数据
  • Building block controlled by the car This building block is mainly used to receive the instructions sent by the app and transmit them to the car. 小车控制积木块
  • You can know the function of other building blocks by looking at their names. How to use them can be found in the source code provided in this tutorial, which will not be explained in this tutorial. Open the source code method provided by the tutorial
  1. Open the URL https://makecode.microbit.org/# in the browser

  2. Then drag the microbit-wifi_tinybit_AP.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 automatically open.

    英文AP模式

4. Experimental results

  1. After powering on, wait until the microbit screen no longer displays anything before you can control and connect the app. The initial display is an icon. After successful startup, its firmware version number will be displayed, and finally the hotspot will be displayed. The default IP address of AP mode is "ap_ip:192.168.4.1". (This tutorial recommends using the simple spontaneous hotspot AP mode to connect. To connect to WIFI using STA mode, you can see the expansion of STA mode connection below)

  2. Download APP: For Android, please use the browser to scan the QR code below 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" or "YahboomCam" in the App Store to find "YahboomCam" .

    yahboomCam下载二维码

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

    英文版

  4. The page after logging in is as follows. By clicking the control button on the interface, you can remotely control the car, move forward, backward, turn left, turn right, etc. (the car cannot be controlled by the steering gear), and the real-time picture of the camera is also displayed. In the app page, you can control the camera through the camera horizontal and vertical control switches.

    英文版登录有画面

5. Expansion: STA mode connection

  1. Open the URL https://makecode.microbit.org/# in the browser

  2. Then drag the microbit-wifi_tinybit_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 automatically open.

    E_STA模式

  3. Set the name and password of the WiFi you want to connect to. The name and password of the WiFi must be filled in correctly according to the WiFi you want to connect to. Otherwise, there will be no way to correctly connect to the WiFi 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.

    EN填写注意

  4. Connect your phone to the WIFI set above and make sure the phone and robot are connected to the same WiFi. Open YahboomCam, enter the camera IP and fill in the sta_ip address displayed by the microbit (pay attention to the content displayed by the microbit. After you see 1, 9, and 2 passing by continuously, the IP address is being displayed), and then click to log in. (The IP in the picture is only an example, the specific IP is subject to the microbit display)

    en sta 登录

  5. After logging in, you can see the following page. By clicking the control button on the interface, you can remotely control the car, forward, backward, turn left, turn right, etc. (the car cannot be controlled by the steering gear), and the real-time picture of the camera It is also displayed on the app page, and the camera can be controlled through the camera's horizontal and vertical control switches.

    英文版登录有画面

Handle remote control
Charging and Battery

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

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文