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

Arduino

Cat and dog detection

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

1. Experimental preparation

  • One arduino board
  • One esp32 camera

2. Wiring diagram

ARDUINOesp32 camera
P1RX
P0TX
GNDGND
5V5V

Actual wiring diagram:

image-20241226194251049

image-20241226194448553

3. Experimental steps and experimental results

  1. Connect the Arduino device to the ArduinoIDE compilation platform. If you can see the serial port number, it is normal.

image-20241226194603726

  1. You can modify the WiFi name and password you want to connect to, as well as the name of the hotspot in the esp32_wifi.cpp file

image-20241226194947239

  1. In the .ino file, change it to the corresponding ai mode.

image-20241230120659947

  1. Click Compile and Download to download the program to the uno motherboard. The following picture will appear if the download is successful

image-20241226194751753

  1. Press the reset button on the uno and wait for a while to see the IP address and hotspot address of the network

image-20241226201944237

  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 the following through the browser 192.168.3.194 This access camera screen

image-20241226202148075

  1. Identify cats and dogs. If the recognition is successful, the current center coordinates will be printed out, and the cat image will be placed in front of the previous screen.

image-20241226203452477

At the same time, the uno terminal will print out the current coordinate center.

image-20241226203433679

Face recognition mode

When switching to face recognition mode,

image-20241230120822974

Click Compile and Download, download the program to the uno motherboard, and the following picture will appear if the download is successful

Snipaste_2024-12-30_17-19-04

Press the reset button on the uno, wait for a while and you can see the IP address of the network and the address of the hotspot

image-20241226201944237

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

image-20241230103919060

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

image-20241230103928349

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-20241230103938267

At the same time, the terminal will print out the current center coordinates and the recognized face.

image-20241227111406819

To delete a face, press and hold the button for two seconds again, release it and press it again to delete it.

image-20241230120952660

Color detection mode

When switching to color detection mode,

image-20241230121139119

Click Compile and Download, download the program to the uno motherboard, and the download will be successful. Now the picture below

Snipaste_2024-12-30_17-20-13

Press the reset button on the uno, wait for a while and you can see the IP address of the network and the address of the hotspot

image-20241226201944237

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

image-20241226190606680

image-20241227112505038

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

image-20241227112552706

At the same time, the uno terminal will print out the current coordinate center.

image-20241227112620086

QR code detection

When switching to QR code detection mode,

image-20241230121258166

Click Compile and Download, download the program to the uno motherboard, and the following picture will appear if the download is successful

Snipaste_2024-12-30_17-20-56

Press the reset button on the uno, wait for a while and you can see the IP address of the network and the address of the hotspot

image-20241226201944237

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

image-20241227104253652

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

image-20241227104323448

RDK X5
Microbit

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