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

1. STM32 drives the servo gimbal

STM32 remote control servo gimbal

Note: esp32 camera needs to be burned with factory firmware. If you have not flashed the firmware after receiving the esp32 camera, it does not need to be burned. The factory default firmware

1. Experimental preparation

  • ESP32 camera

  • stm32 development board

  • 2-DOF gimbal

  • Dupont line

2. Wiring diagram

Note:

  1. Due to insufficient voltage, the ESP32 camera and STM32 development board require additional power via a Type-C data cable.

  2. If the servo control is not sensitive enough, the servo will need an additional power supply. The Dupont cable only needs to connect the common ground and signal lines. This is because the motherboard can only be powered by a maximum of 5V, while the servo can only accept a maximum of 7.4V.

STM32F103esp32 camera
PA2RX
PA3TX
GNDGND
NC5V
STM32F103s1 servo
PB13Signal line
3.3Vvcc
GNDGND
STM32F103s2 servo
PA11signal line
3.3VVCC
GNDGND

image-20250828112057410

Actual wiring diagram:

image-20250114162720491

3. Experimental steps and experimental results

Quick method: You can directly connect to the wifi opened by esp32. This experiment is named ESP32_WIFI_TEST. Then the IP address camera information of the mobile app is 192.169.4.1. You can use the app to control the servo

  1. Check whether the program runs normally.

  2. 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-20250122104758042

  1. Download the program of this project to the STM32 board.

  2. Open the serial port assistant on the computer, open the computer to detect the serial port of STM32, as shown below

image-20250122105241978

  1. After pressing the reset button of STM32, wait for about 10 seconds, and the serial port assistant will print out the corresponding information

If the AP+STA mode is turned on, the IP address of AP+STA will have the correct IP address (this source code is this mode)

image-20250122105416841

If only one mode is turned on, then sta_ip:null or ap_ip:null If sta_ip:null appears, you need to check whether the connected wifi name and password are correct. If they are correct, check whether only one AP mode is turned on, and not the STA mode

  1. Use the app to control the movement of the car. After installing the "ESP32Cam" app, open it.

  • On the login page, set it according to the IP obtained by the serial port assistant. If the IP obtained by the serial port assistant is "192.168.2.110", then the configuration is as follows

image-20250122105505360

  • Then click login directly

  • (Optional) If you want to connect to the hotspot of the wifi camera, the IP address must be set to 192.168.4.1, as shown in the figure

image-20250122105454213

  • When the IP address is configured correctly and successfully connected, you can control the servo gimbal through the page of the app console

Horizontal screen

image-20250122105521587

Note: Every time you restart the app, you need to click the exit button in the upper right corner, then exit and reconfigure the IP address information before logging in

RDK X5
Arduino 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/中文