Interfacing an ESP32-CAM with an Arduino Uno Board

Is it possible to interface an Arduino Uno board with an ESP32-CAM. See, I want to take advantage of my ESP32-CAM module and use it to send some information from my sensors (connected to the Arduino Uno) through wifi.

My first thought was to use UART for serial communication but the ESP32-CAM only has a single UART port (and well so does the UNO). Is there any "clean" way to do what I'm trying to do and exactly how?

Use a board with 2 hardware serial ports.
Something Atmega1284P based.
16k SRAM, 128K flash, dual hardware serial.
Here's one example


http://www.crossroadsfencing.com/BobuinoRev17/

aseef:
My first thought was to use UART for serial communication but the ESP32-CAM only has a single UART port

Not correct, the ESP32 supports 3 UART ports.

All you need to do is finf some free pins to use them. Some pins will be free if your not using the SD card or camera.

srnet:
Not correct, the ESP32 supports 3 UART ports.

All you need to do is finf some free pins to use them. Some pins will be free if your not using the SD card or camera.

Yes, the ESP32 supports 3 UART ports but I am talking about the ESP32-CAM. It's a different product. The ESP32-CAM has fewer ports because the cam takes up several of those ports internally. So I am correct. The ESP32-CAM only supports a single UART port ;).

CrossRoads:
Use a board with 2 hardware serial ports.
Something Atmega1284P based.
16k SRAM, 128K flash, dual hardware serial.
Here's one example


Cross Roads Electronics

OK, I do plan on using the Mega. But the ESP32-CAM still only has a single UART port. How else can I connect things on the ESP32-CAM side of things?

aseef:
Yes, the ESP32 supports 3 UART ports but I am talking about the ESP32-CAM. It's a different product. The ESP32-CAM has fewer ports because the cam takes up several of those ports internally. So I am correct. The ESP32-CAM only supports a single UART port ;).

I have a (working) program for an ESP32CAM that uses the camera, saves pictures to SD card, reads a GPS on Serial, outputs debug information on Serial2, and sends the data read from the GPS via an attached LoRa device.

If there is only one UART on an ESP32CAM, can you explain how I can read the GPS on one UART and send debug information out on another UART ?

1 Like