Serial communication between ESP32 and ESP8266

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Serial communication between ESP32 and ESP8266

Postby DutchOrange » Sat Jul 31, 2021 4:15 pm

So a small question here:
Iam busy with a project and I need to communicate some data between two devices which is a ESP32 and ESP8266 (The ESP8266 being the receiving one)
How would you print serial data to a specific pin or would you just connect it to the RX / TX pins ?
Thanks.

User avatar
fasani
Posts: 197
Joined: Wed Jan 30, 2019 12:00 pm
Location: Barcelona
Contact:

Re: Serial communication between ESP32 and ESP8266

Postby fasani » Sun Aug 15, 2021 5:44 am

In ESP32 IDF side you can send serial to a specific pin:
https://docs.espressif.com/projects/esp ... /uart.html There are examples.
And I would receive in the RX pin on the esp8266 side.
epdiy collaborator | http://fasani.de Fan of Espressif MCUs and electronic design

Who is online

Users browsing this forum: atx823, Gaston1980, Majestic-12 [Bot] and 228 guests