yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
WiFi Camera Module📖
1.Configure WiFi camera on PC
  • Serial port configuration WiFi instructions
2.Configure WiFi camera on MCU
  • 1. jetson
  • 2. microbit
  • 3. STM32
  • 4. Raspberry Pi
3.APP control car
1. 4wd_uno car
  • 4wd_uno car
2. pico car
  • pico car
4. tinybit
  • 4. tinybit
5. Super:kit
  • A.Mobile shooter
  • B.Pretty car
  • C.Clip robot
  • D.Proficient carrier
  • E.Skip car
  • G.Spider
3. STM32 car
  • STM32 car
4.APP control PTZ
  • 1. 4wd_uno car (with PTZ)
  • 2. pico car (with PTZ)
  • 3. STM32 car (with PTZ)
  • 4. superkit-control servo PTZ
5.AI Vision
  • 1. AI visual recognition mode switching
  • 2. Cat and dog detection
  • 3. Face Detection
  • 4. Color recognition
  • 5. Person recognition
  • 6. QR code recognition
  • 7. Implementation of visual line inspection solution
Download
  • Annex
  • Code
  • PTZ Assembly Steps
Download ZIP

Welcome to WiFi Camera Module repository

2. microbit

microbit configure camera

microbit configure camera1. Experiment preparation2. Experimental wiring3. Microbit building block import and simple instructions3.1 Open the programming website3.2 New project3.3 Add camera building blocks3.4 Introduction to the main building blocks4. Experimental operation and experimental results

1. Experiment preparation

  • Module World Expansion Board
  • microbit
  • wifi camera

2. Experimental wiring

Extended versionwifi camera
P16RX
P15TX
5V5V
GNDGND

image-2024022200016 image-2024022200017

3. Microbit building block import and simple instructions

3.1 Open the programming website

https://makecode.microbit.org/#

3.2 New project

image-2024022200001

image-2024022200002

3.3 Add camera building blocks

URL of the building blocks: (Just choose one of them, they are the same)

  1. https://github.com/yahboomtechnology/ESP32-wifi-Microbit
  2. https://github.com/LLY16888/ESP32-wifi-Microbit image-2024022200003

3.4 Introduction to the main building blocks

After the above building blocks are successfully introduced, the results as shown below will be displayed. image-2024022200004

  • Serial port initialization building block This is used to define the pins for serial port communication and communication with wifi cameras. The default baud rate is 115200 and cannot be changed. image-2024022200006
  • 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 image-2024022200005 This defines the maximum size of a packet to be 30 characters. Exceeding it will result in incomplete data reception. 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 image-2024022200007
  • 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 hex file provided in this experiment into the browser that opens the URL, and it will open automatically.
  3. Program diagram of the source code of this project image-2024022200008

4. Experimental operation and experimental results

  1. From the source code, we can see that microbit will first initialize the serial port and then configure the working mode of the wifi camera.
  2. Then configure the wifi to connect according to the settings image-2024022200009 The wifi here needs to be changed to a wifi that can be connected
  3. If the connection is successful, the microbit will display the sta_ip:192.168.x.x address. If the connection is unsuccessful, the microbit will display sta_ip:null. If it is only configured in spontaneous hotspot mode, it cannot be checked. If you go to the IP address of sta_ip, the result of sta_ip:null will also be displayed.
  4. This is the configuration of spontaneous hotspots image-2024022200010 If the configuration is successful, the mobile phone can receive the wifi hotspot microbit_wifi. You can connect to this wifi by configuring a password or without a password, and the microbit will display the ip of "ap_ip:192.168.4.1" If you cannot find this name, check if it is configured to connect to wifi only mode (that is, the mode in the picture below), and the microbit will display the information "ap_ip:null" image-2024022200011
  1. Transparent data transmission based on IP connection
  • First open the NetAssist.exe software on your computer and make sure the computer and camera are on the same network segment.

  • Then connect according to the obtained IP address. For example, the obtained sta_ip is: "192.168.2.199"/ap_ip is: "192.168.4.1"

  • Then there are 2 ways

    1. Connect the computer to the camera's spontaneous wifi, and then connect through the ip 192.168.4.1. The port number is 8888 and cannot be changed. image-2024022200012
    2. The computer is connected directly through the IP address 192.168.2.199. The port number is 8888 and cannot be changed. The following figure is a diagram of a successful connection. image-2024022200013
  • Then by sending information, the microbit will display the corresponding information, for example, if you send "study", the microbit will display "study" image-2024022200014

  1. View camera footage
  • Open the browser on your computer or mobile phone

  • Then watch the video through the obtained IP address. For example, the obtained sta_ip is: "192.168.2.199"/ap_ip is: "192.168.4.1"

  • Then you can watch the live camera footage in 2 ways

    1. Connect the computer to the camera's spontaneous wifi, and then enter http://192.168.4.1:81/stream through the browser to access the camera screen
    2. Directly enter http://192.168.2.199:81/stream on your computer to access the camera screen. image-2024022200015
jetson
STM32

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/中文