Hey, so I'm trying to use the facial recognition that comes with the ESP32 Cam (web server), to control a stepping motor on an arduino uno when a face is detected, is there anyway to communicate this two ?
UART serial works well for communication between processors. To get started, see the Serial Input Basics tutorial on this forum.
Use a 3.3V Arduino to avoid problems with connecting to the 3.3V ESP32-CAM. With a 5V Arduino, logic level shifters are required to connect to 3.3V MCUs and devices.
I moved your topic to an appropriate forum category @ivndx.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
1. You can use the UART1 Port of ESP32-CAM Module using the following command:
Serial1.begin(115200, SERIAL_8N1, 12, 13); //GPIO12 = RX1, GPIO13 = TX1
2. You can use the I2C Bus of ESP32-CAM Module using the following command:
Wire.begin(14, 15); //SDA = GPIO14, SCL = GPIO15
3. Example of a typical use of Level Shifter (shown for I2C Bus of ESP32 Classic):
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
