yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
ROS-WiFi Camera Module📖
1.Basic usage
  • 1. Computer configuration esp32 instruction
  • 2. Viewing camera on ROS2
  • 3. Camera screen changes
  • 4. Preparation(ReadMe)
2.mediapipe usage
  • 0.Installation of media pipe
  • 1. Hand detection
  • 2. Posture detection
  • 3. Overall inspection
  • 4. Face detection
  • 5. Face recognition
  • 6. Facial effects
  • 7. 3D object recognition
  • 8. Brush
  • 9. Finger control
  • 10. Gesture recognition
3.Opencv usage
  • 1. Open Source CV Getting started
  • 2. Geometric transformation
  • 3. Image processing and drawing text line segments
  • 4. Image beautification
  • 5. Color recognition
  • 6. Object recognition
  • 7. QR code recognition
4.Display screen on the APP
  • 1. YahboomCam APP screen view
  • 2. ROS Robot APP screen view
Download
  • Code
  • VM_File
  • Tools
Download ZIP

Welcome to ROS-WiFi Camera Module repository

1. Computer configuration esp32 instruction

Computer serial port configuration module instructions (ROS version)

Computer serial port configuration module instructions (ROS version)The module needs to be connected to the usbttl moduleSerial port configuration1. Configure the wifi command in STA mode (mode for connecting to LAN)2. Configure the wifi command in AP mode (module self-heating point mode)3. Configure wifi mode4. Other commands5. Command to configure ROS ip6. Configure domain id: command

The module needs to be connected to the usbttl module

usbttlwifi camera
RXTX
TXRX
GNDGND
VCCVCC

image-2024022300002

Serial port configuration

Baud rate 115200, no parity, no hardware flow control, 1 stop bit If you use the serial port assistant configuration, when sending commands, you need to remove the automatic sending of new lines (additional bits) As shown in the figure: image-20250113143911754

1. Configure the wifi command in STA mode (mode for connecting to LAN)

CommandDescriptionExampleRemarks
sta_ssid:Name of the wifi to connect tosta_ssid:yahboomyahboom: is the wifi to connect to
sta_pd:Password of the wifi to connect tosta_pd:1234567812345678: is the password of the wifi to connect to

Notes

  1. Whether it is sta_ssid or sta_pd, it must be followed by an English character such as comma (,), colon (:), period (.), etc.
  2. When the wifi to be connected does not have a password, just send sta_pd: once.
  3. The above command will return OK if it is successful. If it does not return any information, check the serial port connection.
  4. When sending the sta_ssid: command, it will return fail,ssid is null!, indicating that the connected wifi name cannot be empty.
  5. The command can be sent in all uppercase or lowercase.
  6. The wifi name and password cannot exceed 30 characters in length, otherwise the configuration will fail.
  7. The wifi name and password cannot contain Chinese characters.
  8. The wifi password will be automatically reset every time it is changed. If you only change the wifi name, you need to manually power off and reset it

2. Configure the wifi command in AP mode (module self-heating point mode)

CommandDescriptionExampleRemarks
ap_ssid:The wifi name to be setap_ssid:my_wifimy_wifi: is the wifi to be set
ap_pd:The wifi password to be setsta_pd:1234567812345678: is the wifi password to be set

Notes

  1. Whether it is ap_ssid or ap_pd, it must be followed by an English character such as comma (,), colon (:), period (.), etc.
  2. When the wifi to be set has no password, just send ap_pd: once.
  3. The above command will return OK if it is successful. If it does not return any information, check the serial port connection.
  4. When sending the ap_ssid: command, it will return fail,AP_Name is null!, indicating that the wifi name cannot be empty.
  5. The command can be sent in all uppercase or lowercase.
  6. The wifi name and password cannot exceed 30 characters in length, otherwise the configuration will fail.
  7. The wifi name and password cannot contain Chinese characters.
  8. The wifi password will be automatically reset every time it is changed. If you only change the wifi name, you need to manually power off and reset

3. Configure wifi mode

CommandDescriptionExampleNote
wifi_mode:Configure wifi modewifi_mode:20: AP mode 1: STA mode 2: AP+STA mode

Notes

  1. wifi_mode It must be followed by a dot symbol such as comma (,), colon (:), period (.), etc
  2. wifi_mode can only set 3 modes in total. If a negative number is passed in, the default is AP mode. If the number is greater than 2, the default is AP+STA mode

4. Other commands

CommandDescriptionExampleReturn value
sta_ipQuery the ip address of sta modesta_ipReturn the ip address connected to the LAN
(such as sta_ip:192.168.2.199)
ap_ipQuery the ip address of ap modeap_ipReturn the ip address of the wifi mode itself
(such as ap_ip:192.168.4.1)
wifi_resetRestore wifi configuration to factory settingswifi_resetReset_OK
wifi_verCheck the version of wifi firmwarewifi_verYAHBOOM VerSion:1.8.3

Notes

  1. The command can be sent in all uppercase or all lowercase
  2. If the above command is successful, there will be corresponding information of the return value. If there is no information returned, check the serial port connection
  3. wifi_reset is to configure the wifi mode to AP+STA mode. The wifi name of the ap is Yahboom_ESP32_WIFI, no password, and it will reset automatically without manual reset

5. Command to configure ROS ip

CommandDescriptionExampleNotes
ros2_ip:Host agent to connect toros2_ip:192.168.2.105192.168.2.105: is the IP address of the proxy host

Notes

  1. The proxy host is a system with ROS2 (humble) environment unbutu
  2. The command can be sent in all uppercase or all lowercase
  3. ros2_ip must be followed by an English character such as comma (,), colon (:), period (.), etc.
  4. The connected host IP must be in the same network segment as the wifi connected to esp32
  5. ROS2 can only be started in STA mode/or dual mode coexistence mode, not only AP hotspot mode, otherwise the ROS system will not be implemented
  6. The proxy port is 9999, the command to start in the host terminal is as follows:
docker run -it --rm -v /dev:/dev -v /dev/shm:/dev/shm --privileged --net=host microros/micro-ros-agent:humble udp4 --port 9999 -v4

6. Configure domain id: command

commanddescriptionexamplenotes
domain_id:Host agent to connect todomain_id:2020: is the domainid of ROS

Notes

  1. The agent host is a system with ROS2 (humble) environment unbutu
  2. The command can be sent in all uppercase or all lowercase
  3. The domain_id must be followed by an English character such as comma (,), colon (:), period (.) and so on
  4. The default domain_id firmware is 20
Viewing camera on ROS2

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
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文