Page 1 of 1

How to make connection between ESP32 and ESP8266

Posted: Mon Oct 15, 2018 3:13 pm
by themadcap
I'm trying to send some information from ESP8266 to ESP32, but I'm stuck in the beginning. I don't want to connect them to internet, I only want a connection between those two. I have Lolin32 board and nodemcu 1.0, trying to program it with arduino ide. I tried to follow some sample codes but I am lost. I am trying to connect via WiFi but should I try bluetooth instead? Could you suggest me something to follow?

Re: How to make connection between ESP32 and ESP8266

Posted: Sun Nov 18, 2018 10:15 pm
by wan420
i am currently trying the same thing, have you been successfull? I am trying to make it happen using SDA and SCL

Re: How to make connection between ESP32 and ESP8266

Posted: Wed Dec 12, 2018 3:08 pm
by cepics
I'm trying the same thing with ESPNOW... but no joy right now....

Re: How to make connection between ESP32 and ESP8266

Posted: Fri Dec 14, 2018 1:05 pm
by wan420
sda scl was no luck, try using serial communication using hardware serial library. use gpio 16 17, rx and tx. Those once worked for me, if you can make others work do tell me how you did it.

Re: How to make connection between ESP32 and ESP8266

Posted: Thu Dec 20, 2018 11:22 am
by DrDoom
in my opinion the answer is related to the requirements:

how much data do you want to send (bandwidth)? how important is a stable connection to you (all bytes arrive correctly)? do you want to have a radio or wire connection?

There are e.g. SPI, I2C, Serial, Bluetooth, Radio. The fastest and safest thing in my opinion is SPI.

Re: How to make connection between ESP32 and ESP8266

Posted: Thu Jun 27, 2019 8:00 am
by wan420
DrDoom wrote:
Thu Dec 20, 2018 11:22 am
in my opinion the answer is related to the requirements:

how much data do you want to send (bandwidth)? how important is a stable connection to you (all bytes arrive correctly)? do you want to have a radio or wire connection?

There are e.g. SPI, I2C, Serial, Bluetooth, Radio. The fastest and safest thing in my opinion is SPI.
SPI communication between 8266 and esp32, Can you please share any links or any documentation referering this communication between these 2 boards?
Serial Connection using rx and tx is having a small problem with data loss, using flush and readline() I am trying to cover up those errors but they are there nonetheless ..
Thank you