How to communicate between ESP8266 and ESP32-CAM with different logics ?

Hey falks, I have a problem:

I am running an ESP8266 on a PCB which has a VCC of 6V. I am using a Voltage Regulator (AMS 1117-3.3) to run the ESP8266.

I also have an ESP32-CAM (AI-Thinker). The AI-Thinker runs with a 5V DC (I have tried 3.3V, but it did not work).

And here is my aim: I wanna send some data to the ESP32-Cam via Serial. The Problem is, that the diffrent VCCs do not allow communication. I know, that I could use a LOGIC-CONVERTER. But isn't there another way to transmit data from ESP8266 to ESP-Cam, and backwards ?

May sending data via OTA (Over the Air) ? Or are there other ways than Serial to communicate ?

I am sorry, but I am a beginner :smiley:

Just connect them together
It's the logic levels that are important, not the supply voltages.

"want to"

1 Like

wait a minute: are u suggesting, to connect 5V (only for supply), and at the same time a 3.3V for the communication ?

I'm not suggesting connecting the supply voltages, no.
Just connect the grounds.

Also "you"

1 Like

okay, wait. I will try

I'm going to bed.

okay man. I will give a report tommorrow :slight_smile: good night

You are a hero man.. it works. I have connected it like this:

  • ESP32 5V to Arduino 5V [Edit] <--- this is wrong. Please read post #9
  • ESP32 3.3V to Arduino 3.3V
  • GND to GND
  • RX to RX and TX to TX

Falks, please ignore my last post (#8). You absolutely do not need to connect them with 5V and 3.3V at the same time. Here was my problem why a single 3.3V did not work:

My Pinheader connections were shaky. This was the reason why a single 3.3V Connection did not work. The final solution now, is this:

ESP32 3.3V connect to ESP8266 3.3V
RX to TX
TX to RX
GND to GND

and that's it. Both ICs are communicating via serial very well. And the ESP32 works also with a single 3.3V VCC. So, no need of a 5V VCC.

I just wanted to set it straight.

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