1

I want to use ESP-NOW with esp32 and esp8266. The esp32 will mostly send data to esp8266.I was not able to find any good tutorial on YouTube to achieve this. The only videos I found was for either communicating with esp32 to esp32 or esp8266 to esp8266. Is it possible to do this if yes how.

3
  • github.com/yoursunny/WifiEspNow
    – Majenko
    Commented Oct 27, 2020 at 12:31
  • 1
    It is likely someone down voted you because you gave no indication you have tried something before asking your question. Also, your question is perhaps a bit broader then you realize and would be easier to deal with on stackexchange sites such as this one if broken down into more specific inquires. That said, I'm going to try and provide a GENERAL answer that will require you to follow up and read the links provided by @Majenko.
    – st2000
    Commented Oct 27, 2020 at 12:42
  • @majenko thanks
    – xbox gamer
    Commented Oct 27, 2020 at 13:15

1 Answer 1

2

In general, ESP-NOW uses the WIFI radio in an ESP processor as a physical layer. But uses it's own protocol which likely looks like garbage to a normal WIFI equipment. So, it's like being in a meeting room with a bunch of people only knowing German and occasionally someone pipes up taking French. As no one understands the French speaker, the French speaker is ignored.

Other things you need to know. ESP-NOW is more like UDP. There is not a higher layer looking out for you like in TCP. Any number of reasons can cause your ESP-NOW "blurp" from being received. For this reason ESP-NOW is better suited for periodically repeating information. Like reporting the temperature. Or for situations where the user can provide immediate feed back of success. Such as a remote control.

The esp32 will mostly send data to esp8266

This infers reversing the direction of data flow over the ESP processor's WIFI radios. While this may be possible it may not be a trivial task.

Is it possible to do this (communicate between an esp32 and esp8266) if yes how.

This shouldn't be problem. This link provided by Majenko appears to be a good place to start. Espressif them selves maintains this ESP-NOW web site. Likely, after programming the ESP8266 and ESP32 using the correct libraries, they will be able to send data over an ESP-NOW link.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.