yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
ESP32 WiFi Camera Lite📖
1.ESP32 camera basic course
  • 1.Development environment
  • 2.Compile and use routine
  • 3.How to update firmware
2.Configure camera on PC
  • Configure camera on PC
3.View video on APP
  • View video on APP
4.Configure camera on MCU
IIC
  • Arduino
  • Microbit
  • STM32
  • MSPM0G3507
  • MSPM0G3519new
  • PICO
  • Raspberry Pi
  • Jetson
  • RDK X5
Serial Port
  • Arduino
  • Microbit
  • STM32
  • MSPM0G3507
  • MSPM0G3519new
  • PICO
  • Raspberry Pi
  • Jetson
  • RDK X5
5. APP remote control servo gimbal
  • 1. STM32 drives the servo gimbal
  • 2.Arduino drives the servo gimbal
  • 3.Pico
  • 4.MSPM0G3507 drives the servo gimbal
  • 5.MSPM0G3519 drives the servo gimbalnew
  • 6. Microbit drives the servo gimbal
  • 7. Raspberry Pi drives the servo gimbal
  • 8. Jetson drives the servo gimbal
  • 9.RDK X5 driving servo gimbal
6. Expansion tutorials
  • ESP32
  • Robot car
Download
  • RemoteCtrl_APP(iOS_Android)
  • 3D_Model_File
  • Code
  • Software_Tools
  • Module_fireware
  • Protocols_Hardware
Download ZIP

Welcome to ESP32 WiFi Camera Lite repository

RDK X5

X5 camera configuration

Note: The esp32 camera needs to be burned with factory firmware. If the esp32 camera has not been flashed with firmware after receiving it, it is not necessary. The factory default firmware, before using iic communication, you can use the serial port to configure the esp32 camera to the network, and iic is used for data reading

1. Experimental preparation

  • One X5 motherboard

  • One esp32 camera

2. Wiring diagram

X5esp32 camera
BOARD8RX
BOARD10TX
GNDGND
5V5V

image-20250121103451383

Pin diagram:

image-20250122104025377

3. Experimental steps and experimental results

  1. Open a new Raspberry Pi terminal and send the source code of this experiment to the Raspberry Pi

  2. Open the code just uploaded and modify it to the wifi name and password you want to connect to. You can also modify the name of the hotspot, as well as the corresponding wifi mode and ai mode.

image-20250122104041917

  1. Execute the following command, and the IP address of the current network connection and the address of the hotspot will be returned

xxxxxxxxxx
sudo python3 sunrise_wifi.py

image-20250121103511376

  1. You can view the camera screen on the web page according to the above two addresses. When using ap_ip, you need to connect to the hotspot of the esp32 camera. When using sta_ip, the computer needs to be in the same network. Enter 192.168.2.97 through the browser below This access camera screen

image-20241227153225404

  1. Because we set it to cat and dog mode, we put the cat or dog in front of the camera and the cat or dog will be selected.

image-20241227154257791

At the same time, the terminal will print out the current upper left corner coordinates and lower right corner coordinates, and the area has been selected.

image-20250121103723838

Face recognition mode

When switching to face recognition mode, the terminal will additionally print the current face id

image-20250122104058027

x
sudo python3 sunrise_wifi.py

Recognize face. When you see a face, press the key button to record the face

image-20241227161814933

The following picture appears, which means the recording is successful, and the face 1 is recorded

image-20241227161827891

At this time, you can press and hold the button for two seconds, then release it and press the button again to recognize the current face

image-20241227161850245

At the same time, the terminal will print the coordinates of the upper left corner and the lower right corner, as well as the recognized face.

image-20250121103759376

Color detection mode

When we switch to color detection mode,

image-20241227162125115

x
sudo python3 sunrise_wifi.py

Recognize the color. Press the button and a box will appear. You can use this box to select the color you want to use.

image-20241227162207781

Press and hold the button for two seconds, release it and press it again to identify the currently selected color, and a red frame will appear.

image-20241227162217320

At the same time, the terminal will print out the current upper left corner coordinates and lower right corner coordinates.

QR code detection mode

When we switch to QR code detection mode,

image-20241227165257950

Use the WeChat applet on your mobile phone to search for the QR code generator. A QR code will be generated for the corresponding text and saved to the album. The following is the QR code recognition.

image-20241227165315700

At the same time, the terminal will print out the recognized text.

image-20250121103814706

Jetson
STM32 drives the servo gimbal

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