1. Introduction
The Yahboom ESP32 WiFi Camera AI Vision Module Kit is an advanced module equipped with an ESP32-S3 chip and a 2MP camera. It is designed to provide real-time video transmission and AI recognition capabilities for various DIY projects, especially robot cars. This module simplifies visual applications by offering easy setup, flexible operating modes, and broad compatibility with popular microcontrollers.
2. Key Features
- High-Resolution Camera: Equipped with a 2MP HD camera for clear imaging.
- ESP32-S3 Chip: Built-in ESP32-S3 solution supporting 2.4 GHz WiFi for real-time video and remote control.
- Flexible Mounting: Available with basic bracket or 2DOF PTZ (Pan-Tilt-Zoom) options, compatible with building block parts for easy integration into various projects.
- Dual WiFi Modes: Supports both Access Point (AP) mode for spontaneous hotspot creation and Station (STA) mode for connecting to existing WiFi networks.
- Serial Communication: Communicates with development boards like STM32, AR, and Microbit via serial port.
- AI Vision Functions: Capable of cat/dog detection, person recognition, color recognition, face detection, QR code recognition, and visual line tracking.
- Remote Control APP: Dedicated iOS/Android application for remote control and video monitoring.
- Durable Design: Integrated ABS case made from flame-retardant, non-toxic, wear-resistant material with multiple mounting holes.

3. Setup Guide
3.1. Power Supply
Connect the module to a 5V power supply. Ensure the power source can provide sufficient current for stable operation.
3.2. Mounting Options
The module offers versatile mounting options:
- Screw Fixing: Secure the module using screws through the designated mounting holes.
- Building Block Integration: Utilize the module's compatibility with standard building block parts for easy attachment to robot structures.

3.3. Wiring Diagrams
The module supports connection to various microcontrollers via its serial port. Below are common wiring configurations:

- Connect to STM32 board: Connect 5V, GND, TXD, RXD pins as shown.
- Connect to Raspberry Pi Pico: Connect 5V, GND, GP17, GP16 pins as shown.
- Connect to AR board: Connect 5V, GND, RX, TX pins as shown.
- Connect to micro:bit board: Connect 5V, GND, P16, P15 pins as shown.
4. Operating Modes
The ESP32-CAM module supports two primary working modes:
4.1. AP Mode (Access Point)
In AP mode, the module acts as a spontaneous WiFi hotspot. After powering on, it will automatically broadcast its own WiFi network. Mobile phones or computers can connect directly to this hotspot to access real-time video streams and control data.

4.2. STA Mode (Station)
In STA mode, the module connects to an existing WiFi network (e.g., your home router). This mode requires initial configuration via the serial port to specify the network credentials. Once connected, mobile phones or computers on the same WiFi network can access the module's video feed and send control commands.

5. AI Vision Functions
The ESP32-WiFi camera module incorporates color threshold segmentation and lightweight convolutional neural network algorithms to perform various AI vision tasks:
- Cat(dog) detection
- Person recognition
- Color recognition
- Face detection
- QR code recognition
- Visual line tracking

6. Compatibility
This module offers broad compatibility with various microcontrollers and development boards, making it suitable for a wide range of projects:
- STM32
- Raspberry Pi Pico
- micro:bit
- Arduino (AR board)
- Raspberry Pi 5
- JETSON series boards

7. APP Control and Web Monitoring
7.1. Remote Control APP
A dedicated mobile application is available for both iOS and Android systems to control the module and view real-time video. For Android APK, refer to the product information for download links. For iOS, search for "Yahboom Cam" in the mobile application market.

APP Control Protocol Table
| Control Port | Command | Control Port | Command |
|---|---|---|---|
| 2080 | Open camera flip vertically | Back | $2,0,0,# |
| @vflip:1@ | Close camera flip vertically | Turn left | $3,0,0,# |
| @vflip:0@ | Open camera flip horizontally | Turn right | $4,0,0,# |
| @mirror:1@ | Close camera flip horizontally | Spin left | $5,0,0,# |
| @mirror:0@ | Go ahead | Spin right | $6,0,0,# |
| $1,0,0,# | Control servo to rotate 180° left-right | Stop | $7,0,0,# |
| $B180# | Control servo to rotate 180° up-down | $A090# |
7.2. Web Monitoring
The module also supports web-based monitoring. You can access the specified web page on your computer to view the HD camera image in real-time. Note: If you watch the video in full screen on your computer, the video may freeze.

7.3. Product Demonstration Video
8. Specifications
8.1. ESP32-S3 WiFi Camera Module

| Parameter | Value | Parameter | Value |
|---|---|---|---|
| Antenna model | 2.4GHz FPC (soft board) antenna | Interface Type | Serial port |
| Antenna gain | 3db gain | Case material | ABS |
| Operating mode | Default AP mode + STA mode | Size | 48*32*23.04mm |
| Supply voltage | 5V | Weight | 21g |
| Supply current | <50mA | Interface definition | 5V power supply positive, TXD serial port transmitter, GND power supply negative, RXD serial port receiver |
| Transmission distance | <20m |
8.2. 2DOF Electric PTZ (Optional)

| Parameter | Value | Parameter | Value |
|---|---|---|---|
| Degrees of freedom | 2 | Servo cable length | 245mm±5mm |
| Feature | Can be installed on smart car platform with the ESP32-CAM module, supporting 2DOF movement in the horizontal and vertical directions. | PWM pulse width range | 500-2500us correspond 0-180° |
| Servo model | High quality 9G plastic servo | Angle accuracy | 180°±1° |
| Working current | 80mA | Stall torque | 1.3kgf.cm |
| No-load speed | 0.14sec/60° | Size | 62*36*80.7mm |
| Stall current | 650mA | Weight | 70g |
9. Package Contents
9.1. Module + Fixed Bracket Version

- WiFi camera module
- Fixed bracket
- Accessory package (screws, nuts, spacers, springs)
- 4Pin cable
- 4Pin Dupont line
9.2. Module + 2DOF PTZ Version

- WiFi camera module
- 2 x Micro servos (YB-SG90)
- PTZ accessories package (PTZ frame, screws)
- Accessory package (screws, nuts, spacers, springs)
- 4Pin cable
- 4Pin Dupont line
10. User Tips
- For optimal performance, ensure a stable 5V power supply with sufficient current capacity, especially when using the 2DOF PTZ.
- When using web monitoring, avoid full-screen mode as it may cause video freezing.
- Regularly check the official Yahboom website for updated documentation, tutorials, and firmware.
11. Troubleshooting
- No Video Feed: Check power connections, ensure the module is in the correct AP/STA mode, and verify your device is connected to the module's hotspot or the same WiFi network.
- Module Not Responding: Ensure 5V power supply is stable. Recheck serial port connections and baud rates if communicating with an MCU.
- APP Connection Issues: Confirm the module is powered on and broadcasting its hotspot (AP mode) or connected to your WiFi (STA mode). Ensure the APP is the correct version for your device.
- Video Freezing: This can occur in full-screen web monitoring. Try reducing the video window size or using the mobile APP for a more stable experience.
12. Maintenance
- Keep the module clean and free from dust and moisture.
- Avoid exposing the module to extreme temperatures or direct sunlight.
- Handle the camera lens with care to prevent scratches or damage.
- Ensure all connections are secure to prevent intermittent issues.
13. Warranty and Support
For detailed tutorials, code examples, and technical support, please visit the official Yahboom website:
http://www.yahboom.net/study/ESP32Cam
This link provides access to comprehensive learning materials, including configuration guides for PC and MCU, and APP control instructions for robot cars and PTZ.

For any further inquiries or issues, please contact Yahboom customer support through their official channels. Source · https://manuals.plus/ae/1005006918154861
