Is it possible for the Arduino to communicate with the ESP32-CAM (with SD card) using serial communication? I am trying to use the Arduino to send a string to the ESP32 and then for the ESP32 to take a photo when it receives the string. I tried using GPIO 12 and 13 for RX and TX on the ESP32 by initializing the microSD card in 1 bit mode to free up the pins 12 and 13 and then connecting the Arduino to those pins with a common GND too.
( I hope this makes sense, I’m very much a beginner).
Hi.
Yes. That should be possible, but we don’t have any tutorials about serial communication.
However, any example ESP32 <->Arduino serial communication should work as long as you use the right pins.
I’m not sure if the SD card will cause issues. The best way is to try to only send some bytes at first to see if it works, and only then add the other project features.
Regards,
Sara
Thank you! I managed to get it to work on the ESP32 with pins 12 and 13. I think my mistake was using == to compare strings.