
ESP32 Cam EZB
Hardware:
ESP32 Cam
Author: DJ Sures
This firmware converts a ESP32 Cam into an EZB for ARC to connect to it.
This firmware transforms the ESP32 Cam module into a fully functional EZ-B with an integrated Synthiam ARC camera, providing a powerful all-in-one solution for robotics and IoT applications. The firmware allows the ESP32 Cam to simultaneously operate as a video streaming device and a controller for peripherals like servos and sensors, making it an ideal choice for compact, feature-rich projects.
Key Features:
- EZ-B Compatibility: The firmware enables the ESP32 Cam to emulate an EZ-B, making it compatible with Synthiam ARC for controlling robotics systems and IoT devices.
- Integrated Camera: The ESP32 Cam’s built-in camera streams video directly to Synthiam ARC, offering real-time visual feedback alongside EZ-B functionality.
- Dual Functionality: Supports servo control and camera streaming simultaneously, making it versatile for applications requiring both visual monitoring and peripheral actuation.
Recommended GPIO Pins for Servos:
To ensure smooth operation of both the camera and peripheral controls, the following pins are recommended for use in servo control while the camera is active:
- D2
- D12
- D13
- D14
- D15
These pins are optimized to avoid conflicts with the camera's operation and other internal processes, ensuring reliable performance in EZ-B mode.
How It Works:
- EZ-B Functionality: The ESP32 Cam handles peripheral controls, such as servo motors, sensors, and other devices, through Synthiam ARC commands.
- Video Streaming: The built-in camera streams video directly to Synthiam ARC, enabling real-time monitoring and control.
- Resource Allocation: The firmware ensures efficient management of the ESP32 Cam's resources, prioritizing critical functions like video streaming and servo control.
Benefits:
- Compact All-in-One Solution: Combines the functionality of an EZ-B and a camera into a single, compact device, saving space and reducing complexity in your projects.
- Cost-Effective: Offers a budget-friendly alternative to traditional EZ-B and camera setups while retaining full compatibility with Synthiam ARC.
- Versatile Applications: Suitable for robotics, home automation, surveillance, and other IoT projects requiring simultaneous video streaming and peripheral control.
Use Case Example:
This setup is perfect for robotic systems that require both camera feedback and precise control of servos or other peripherals. For instance:
- A robotic arm with a camera for object recognition and manipulation.
- A mobile robot with live video streaming and servo-driven navigation or gripper control.
By converting the ESP32 Cam into an EZ-B with an integrated camera, this firmware unlocks a versatile and efficient solution for advanced robotics and IoT applications.
Try it and let me know if it works with the firmware i gave you. If t does let me know what changes you made and I'll publish them
Remember as I've been saying - the GPIOx corresponds to Dx in ARC
PS the SD card isn't being used so I can't see how that adding code for it would make a difference. There is no sd card driver in my code
Yeah I get nothing. So if GPIO3 = D3 in ARC (We know that is free as it is RXD and not listed as used by camera) this should be fine. I connect a servo and then configure in ARC and ESP32 will crash when I use it. Separate power supply for servo and grounds tied together so shouldn't be a brownout problem. Tried all the free pins nothing even if I manually set pinMode to output on the pins in setup.
Would like to see a video of the esp32 cam working with Arc
I did get the camera working with a FTDI adapter and Arduino code I found
works great
Here you go it is not brilliant. It is jittery but it does what I need it to do. Identify object and track object.
https://youtube.com/shorts/ZbuFzrfcAgA
Here is a short video of my ESP32 cam with the Arduino code (FTDI Adapter to upload code) - the code created a webserver, many adjustments, face detection an more...
Still am interested to see the esp32 cam work with ARC
EzAng
@EZAng, nink has graciously already provided you a video of what you requested in his response.
Hi Nick, that was a shot video, no audio, but very nice,
can you give more of a breakdown, in detail of how you did this with ARC?
thanks
EzAng
I downloaded firmware at top of page and flashed ESP. You select EZB camera from camera type as you would select the normal EZB camera. It just works no configuration required.