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:

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:


ESP-01 is running this code:


  • RX to TX. receive to transmit. and pull-up for io 0 of the esp-01 – Juraj Feb 26 '19 at 18:10
  • Ahoj Juraj, I tried this as well, but the main problem is not this. If I remove ESP-01, it boots correctly. – adrianmihalko Feb 26 '19 at 18:12
  • 1
    the code running on nodemcu seems to use softwareserial (on pins 14 and 12 - which are Dx and Dy on the NodeMCU - where x and y are seemingly arbitrary numbers), but you're connecting the hardware serial - I could be misreading the code though - I mean, how do you know it's not booting anyway? – Jaromanda X Feb 26 '19 at 22:31
  • This was the problem, problem solved. Thank you. If you post this as answer I can accept as solution. – adrianmihalko Feb 27 '19 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.