1. Introduction
The Yahboom ROS-WiFi Camera Module is an advanced visual recognition device designed for integration with ROS2 robot car systems. It features an ESP32-S3 high-performance chip and a 2MP camera, enabling wireless image transmission and AI visual recognition capabilities. This module is ideal for educational and development purposes, providing a cost-effective solution for adding visual intelligence to robotic platforms.
For detailed guides and documents, please refer to the official user manual PDF: View User Manual (PDF).

Figure 1.1: Yahboom ROS-WiFi Camera Module Overview
2. Specifications
2.1. ROS-WiFi Camera Module Parameters

Figure 2.1: ROS-WiFi Camera Module Hardware Parameters
Key Features:
- Chip: Built-in ESP32-S3 high-performance chip.
- Camera: 2MP high-definition camera.
- Wireless Transmission: Supports 2.4GHz band WiFi wireless transmission for real-time video.
- Interface: Serial port for network configuration.
- Antenna: 2.4GHz FPC (soft board) antenna with 3dBi gain.
- Transmission Distance: <20m.
- Supply Voltage: 5V.
- Supply Current: 250mA.
- Case Material: Resin.
- Size: 48*37.5*14mm.
- Weight: 18.6g.
- Interface Definition: 5V power supply positive pole, TXD serial port transmitter, GND power supply negative pole, RXD serial port receiver.
2.2. 2DOF PTZ Parameters (Optional)
If your module includes the optional 2-Degrees-of-Freedom (2DOF) Pan-Tilt-Zoom (PTZ) bracket, refer to the following specifications:

Figure 2.2: 2DOF Electric PTZ Parameters
- Degrees of Freedom: 2 (horizontal and vertical movement).
- Servo Model: YB-SG90 9G digital servo.
- Working Current: 80mA.
- No-load Speed: 0.14sec/60°.
- Stall Current: 650mA.
- Stall Torque: 1.3kgf.cm.
- PWM Pulse Width Range: 500-2500us (corresponds to 0-180°).
- Angle Accuracy: 180°±1°.
- Servo Cable Length: 245mm±5mm.
- Size: 62*36*80.7mm.
- Weight: 70g.
2.3. Package Dimensions and Weight
- Length: 12 cm
- Width: 12 cm
- Height: 10 cm
- Weight: 0.5 kg
3. Setup and Installation
3.1. Initial Network Configuration
The ROS-WiFi camera module requires initial network configuration. This is typically a one-time process using a serial port debugging module.
- Connect the ROS-WiFi camera module to your computer using the serial port debugging module.
- Use the serial port debugging tool to configure the WiFi network settings. This allows the module to connect to your local area network (LAN).

Figure 3.1: Quick Network Configuration via Serial Port Debugging Module
3.2. Integration with ROS2 Host Computer
To utilize the AI visual recognition features, the module needs to communicate with a ROS2 host computer. The process involves connecting the module to your LAN and setting up the ROS2 environment.
- Configure the camera module and connect it to the LAN through STA mode (as described in 3.1).
- Install ROS2 on your host computer (PC).
- Open the camera agent on the host computer (pre-installed with ROS2).
- The module will send image information topics.
- The host computer (PC) subscribes to these image information topics.
- The host computer performs AI visual development based on the subscribed image information topics.

Figure 3.2: Smart Transfer Workflow for AI Visual Development
3.3. Physical Installation (Optional PTZ)
If you have the 2DOF PTZ version, it can be installed on smart cars, drones, robots, and other platforms, supporting 2DOF movement for flexible camera angle adjustment.

Figure 3.3: ROS-WiFi Camera Module with 2DOF PTZ
4. Operation
4.1. Wireless Video Transmission
The module supports wireless video transmission, allowing real-time video feeds to be streamed to a connected computer or device. This is crucial for remote monitoring and AI visual processing.

Figure 4.1: Wireless Video Transmission in Action
Watch a demonstration of the wireless video transmission and AI visual recognition features:
Video 4.1: Product Demonstration of AI Visual Recognition and Wireless Transmission
4.2. AI Visual Recognition Cases
The ROS2 host computer can remotely perform various AI visual recognition functions using the module's video feed:
- OpenCV Color Recognition: Identify different colors using the HSV color model.
- 3D Object Recognition: Utilize MediaPipe technology to identify 3D objects (e.g., cup, shoes, chair) in the camera's view.
- Gesture Recognition: Recognize 14 types of gesture actions.
- QR Code Recognition: Support creating and identifying QR code content.
- MediaPipe Face Detection: Mark 68 facial landmark points (eyebrows, eyes, nose, mouth).
- MediaPipe Pose Detection: Mark 33 key points of the human body.

Figure 4.2: Examples of AI Vision Cases
4.3. WiFi-UDP Mode
The module supports WiFi-UDP mode for communication. After the image transmission module and the robot are connected to the WiFi-UDP proxy of the virtual machine, the virtual machine can directly subscribe to the topics published by the image transmission module and the robot. This mode ensures that each component can be discovered within the same network segment, making it suitable for multi-robot control in professional applications (STA/AP model).

Figure 4.3: WiFi-UDP Mode Diagram
5. Maintenance
To ensure optimal performance and longevity of your ROS-WiFi Camera Module, follow these general maintenance guidelines:
- Cleaning: Keep the camera lens and module casing clean from dust and debris. Use a soft, dry cloth for cleaning. Avoid abrasive materials or harsh chemicals.
- Storage: Store the module in a cool, dry place away from direct sunlight and extreme temperatures when not in use.
- Handling: Handle the module with care to avoid physical damage to the components, especially the camera lens and antenna.
- Firmware Updates: Regularly check the Yahboom official website (http://www.yahboom.net/study/ROS-WiFi) for any firmware updates or software improvements.
6. Troubleshooting
If you encounter issues with your ROS-WiFi Camera Module, consider the following common troubleshooting steps:
- No Video Feed:
- Ensure the module is powered correctly (5V supply).
- Verify the WiFi connection is stable and the module is on the same network segment as the host computer.
- Check if the camera agent on the ROS2 host is running and subscribing to the correct topics.
- Confirm the serial port debugging module was used for initial WiFi configuration.
- Poor Image Quality/Lag:
- Check the wireless signal strength and reduce interference.
- Ensure the module's antenna is properly connected and unobstructed.
- Verify the host computer's processing power is sufficient for the AI tasks.
- AI Recognition Issues:
- Ensure the necessary AI libraries (e.g., OpenCV, MediaPipe) are correctly installed and configured on the ROS2 host.
- Verify the lighting conditions are adequate for visual recognition.
- Check the tutorial link (http://www.yahboom.net/study/ROS-WiFi) for specific AI case debugging.
- Module Not Responding:
- Power cycle the module.
- Re-check all wiring connections.
- If using the serial port, ensure correct baud rates and port settings.
7. User Tips
- Explore Tutorials: Yahboom provides extensive tutorials and resources. Always refer to the official tutorial link: http://www.yahboom.net/study/ROS-WiFi for detailed guides on basic usage, MediaPipe, OpenCV, and app display.
- Leverage Compatibility: The module offers excellent compatibility with PC virtual machines, Raspberry Pi series, and Jetson series main control boards. Utilize this flexibility for diverse project development.
- Antenna Placement: Ensure the patch antenna is positioned optimally for enhanced signal stability and anti-interference ability, especially when transmitting video images over distances up to 20M.

Figure 7.1: Module Equipped with Patch Antenna
8. Frequently Asked Questions (FAQ)
- Q: What development environments are compatible with this module?
- A: The module is compatible with ROS (Robot Operating System), specifically ROS2, and can be integrated with PC virtual machines, Raspberry Pi series, and Jetson series main control boards. Yahboom provides various AI visual processing codes and debugging software.
- Q: Is the module suitable for beginners in robotics and AI?
- A: Yes, the module is designed to be user-friendly for developers. Yahboom provides comprehensive tutorials and resources to help users get started with AI visual recognition and ROS2 development.
- Q: Can I use this module for applications other than robot cars?
- A: While primarily designed for ROS2 robot cars, its AI visual recognition and wireless video transmission capabilities make it versatile for various projects requiring embedded vision, such as smart monitoring, gesture control systems, or other AIoT applications.

Figure 8.1: Module Compatibility with Various Development Boards Source · https://manuals.plus/ae/1005007100977938
