HarringayMakerSpace / ESP-Now

ESP-Now Examples
301 stars 48 forks source link

Serial bridge between NodeMCU and ESP01 #14

Open adrianmihalko opened 5 years ago

adrianmihalko commented 5 years ago

Hi,

I really want to try this project, but so far I am not lucky.

I am trying to build a gateway for ESP-NOW (https://github.com/HarringayMakerSpace/ESP-Now) and I would like to get help with connecting two esp8266 (nodemcu + esp01) with serial link (for use as gateway).

enter image description here

What I done so far:

ESP01 ... NODEMCU
-----------------
3V3   ...  3v3
GND   ...  GND
CH_PD ...  3v3
TX    ...  RX
RX    ...  TX

The problem is that with this setup NodeMCU (and I think ESP01 too) is not booting (probably because TX is connected?). What's the correct way to connect two ESP8266 as described in ESP-NOW project?

NodeMCU is running this code:

https://github.com/HarringayMakerSpace/ESP-Now/tree/master/EspNowFromSerialGateway

ESP-01 is running this code:

https://github.com/HarringayMakerSpace/ESP-Now/tree/master/EspNowToSerial

jamman9000 commented 5 years ago

Same, would be helpful to have more detailed information on the readme

Tech-TX commented 3 years ago

Use ESPsoftwareSerial on the NodeMCU DevKit. Merely a suggestion. ;-) You don't have any spare pins on the ESP-01.