How to make connection between ESP32 and ESP8266
How to make connection between ESP32 and ESP8266
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
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
I'm trying the same thing with ESPNOW... but no joy right now....
Re: How to make connection between ESP32 and ESP8266
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
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.
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
SPI communication between 8266 and esp32, Can you please share any links or any documentation referering this communication between these 2 boards?DrDoom wrote: ↑Thu Dec 20, 2018 11:22 amin 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.
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
Who is online
Users browsing this forum: No registered users and 112 guests