ESP 32 serial communication with Arduino Pro Mini

Hello boys ,

I would like to use the esp32-cam module to take over the date and time using NTP. Then I want to transmit them via serial communication to the arduino pro mini board.
I've seen that serial communication can be done from arduino to esp-32 cam, but i don't know how i could do it from esp-32 to arduino.

Thank you in advance !

Welcome to the forum

Where are you stuck ?

The ESP32 CAM module has Tx and Rx pins which you can use. Really the only thing to look out for is that the ESP32 is a 3V3 device and it pins must not be connected to anything that could supply 5V so a voltage level shifer between the 2 devices is advisable

this is my circuit

My esp32 cam can work with 5v... this is not a problem

Are you sure that it is 5V tolerant on all of its GPIO pins ?

The ESP32 CAM has an onboard voltage regulator that takes those 5 volts and cuts it down to 3.3V. The ESP32 is NOT 5V tolerant.

Are you using level shifters? Before connecting the mini to the ESP32 make sure level shifters are in use. Otherwise, the ESP32 may make smoke.

You might want to post your code, in code tags.

If the ESP32 is only to send data to the Mini, and never gets data back, then the issue of 3V/5V compatibility is moot.

One way...
https://create.arduino.cc/projecthub/nidhi17agarwal/uart-communication-between-arduino-uno-and-esp32-1170d5


I only put two resistors (1kohm and 2 kohm) from the tx pin of the arduino board to rx esp32

The esp 32 module works well for me at 5v as long as it is not connected as in the picture above.

Another problem would be that I'm not sure if the serial communication works if after loading the code I don't connect the esp32 module to the pc, only to the arduino.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.