ESP-NOW with ESP32 EXPLAINED: Easiest Wireless Communication Between Boards (ESP8266 Compatible)

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • For complete project details (schematics + source code), visit ► RandomNerdTutorials.com/esp-n...
    Getting Started with ESP-NOW on ESP32 ► RandomNerdTutorials.com/esp-n...
    Getting Started with ESP-NOW on ESP8266 ► RandomNerdTutorials.com/esp-n...
    ESP-NOW is a fast connectionless communication protocol developed by Espressif that features short packet transmission and allows multiple boards to exchange data without using Wi-Fi.
    Learn how to establish a two-way communication between two ESP32 boards using ESP-NOW. As an example, two ESP32 boards will exchange sensor readings (with a range in open field up to 220 meters ~ 722 feet).
    This protocol also works with the ESP8266 NodeMCU board and we've tested the communication range between the two boards up to 140 meters (approximately 459 feet) in open field. In this experiment both ESP8266 on-board antennas were pointing to each other.
    Like my page on Facebook:
    / randomnerdtutorials
    Follow me on twitter:
    / ruisantosdotme
    Subscribe for more projects like this!
    bit.ly/subscribeRNT
    #ESP32 #ESP8266 #IoT #Arduino
  • НаукаНаука

Комментарии • 167

  • @Corgitronics
    @Corgitronics 4 года назад +8

    Great timing! I was just going to look into that for a project I'm hoping to start soon.
    Looking forward to the next video on this.

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад +3

      More projects on this subject coming soon

  • @wimalmanage
    @wimalmanage 2 года назад +2

    ‌Thanks a lot Rui. Happy to see a person like you. Your site is very interesting. I learned lot from you. Wish you all the best.

  • @tinkmarshino
    @tinkmarshino 4 года назад

    very interesting I just stumbled on to your site by accident but I am rather glad I did.. I have been wanting to play around with my esp boards but just haven't really had the time to investigate them much.. I just popped onto your site and found that this is the place to come.. so I have subed up and will be pursuing your sites and gleaning all of your teaching very soon.. thanks for sharing what you have learned.. carry on..

  • @KevCoLabs
    @KevCoLabs 10 месяцев назад

    Thank you for explaining this concisely and providing the code in your demo so we can experiment with it. Very much appreciated.

  • @cometmace
    @cometmace 2 года назад

    Exactly the information I need for my project. Thank you.

  • @RuiSantosdotme
    @RuiSantosdotme  4 года назад +9

    Find the complete project details (schematics + source code) on my blog ► RandomNerdTutorials.com/esp-now-two-way-communication-esp32/
    You might also like reading our Getting Started with ESP-NOW Protocol ► RandomNerdTutorials.com/esp-now-esp32-arduino-ide/
    Getting Started with ESP-NOW on ESP8266 NodeMCU board ► RandomNerdTutorials.com/esp-now-esp8266-nodemcu-arduino-ide/

  • @FilmFactry
    @FilmFactry 4 года назад +3

    Absolutely excellent. So, I haven't looked at the code yet. So, the incoming data, sensor data, on the receiver is just a variable? Can't wait to try this.

  • @kimoymilo3700
    @kimoymilo3700 4 года назад +5

    Amazing videos Rui, do you have a video about bluetooh low energy using esp32?

  • @WistrelChianti
    @WistrelChianti 3 года назад +7

    Thanks! Very clear overview and explanation and nice test results. Out of interest, does ESPNOW work as an addition to wifi and bluetooth? Could all 3 protocols/radios be active at once? So for example, could I send control commands to an ESP32 via bluetooth, receive telemetry via wifi, and have it communicate with other ESP32's via ESPNOW all at the same time?

  • @onboard3441
    @onboard3441 4 года назад +1

    How many esp now videos have I watched now... think you are the only one that actually says how to send data.. thanks. :)

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад +2

      You're welcome. I'm glad it was helpful!

    • @onboard3441
      @onboard3441 4 года назад

      @@RuiSantosdotme with this video I managed yesterday to connect a m5stickc with env hat to an esp32 sending all temp, acc, gyro, humidity and heading flawlessly. Works brilliantly. Thanks again.

  • @deeksharahanoo5092
    @deeksharahanoo5092 3 года назад

    This is a great project. I am actually trying to make communication between two esp32 with different message to be sent. I have seen your detail tutorial, just wondering about power supply thing for the working

  • @shakerileiwat4341
    @shakerileiwat4341 4 года назад +1

    @Rui Santos you are a great , I love it ♥♥♥

  • @projecthivemind3239
    @projecthivemind3239 4 года назад +2

    This is why I subscribe!

  • @vaibhavbhapkar8780
    @vaibhavbhapkar8780 2 года назад

    thank you so much amazing video

  • @InterneteCoisas
    @InterneteCoisas 4 года назад

    Hello Rui,
    As always, very interesting content.
    Greetings!

  • @middelbh
    @middelbh 4 года назад +1

    Thanks a lot for your explanation! I just had a problem sending a string with a space between two words: all seems to go OK, ( sending and receiving) but the string is not received in the variable... what could be the cause?

  • @jaynottelling5892
    @jaynottelling5892 4 года назад +9

    Espnow is great, I use it for my greenhouse sensors as they don't get WiFi. The hardest part I found was getting the data to my MQTT server while still listening for espnow data. I settled storing 10 readings, restart with WiFi squirt the data and repeat. I'd be very happy if you could do a follow up video showing a better way than I managed

    • @Adam-tk4fm
      @Adam-tk4fm 4 года назад

      That's a pretty clever way of doing it if there's no way for both protocols to run at the same time

  • @Ownedyou
    @Ownedyou 4 года назад +1

    Love it!

  • @jpcme2002
    @jpcme2002 4 года назад +2

    Ob Rui pelo teu excelente trabalho!

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      Espero que tenha sido útil. Abraço, Rui

  • @gazzacroy
    @gazzacroy 3 года назад

    cool stuff fella really good video thanks fella :)

  • @TJenga
    @TJenga 11 месяцев назад

    I was trying to change the code to add about 4 push buttons to change 4 leds when pressed in addition to the sensor readings. Would you consider making a video over that?

  • @woolfy02
    @woolfy02 Год назад

    That is still beyond what my brain can handle but its interesting! What brand ESP32 boards do you recommend?

  • @certified-forklifter
    @certified-forklifter 4 года назад +1

    thank, very interesting

  • @werachaisrisupinanont3353
    @werachaisrisupinanont3353 4 года назад

    I really want like this ...thanks a lot

  • @AlexeyFyodorov80
    @AlexeyFyodorov80 4 года назад

    Thanks a lot!

  • @abbddullah
    @abbddullah 10 месяцев назад

    Impressive my friend ... 🙃

  • @krishnatiwari8028
    @krishnatiwari8028 2 года назад

    Great video, but it could be much helpful if you showed connections of wire and the things to buy in description

  • @partouelectric2353
    @partouelectric2353 3 года назад

    Hi, Rui Thanks for your great video Your video is very close to my application. Is it possible to use it for audio streaming? I don't need high-quality audio
    Regards, Kazem

  • @longngo2418
    @longngo2418 4 года назад

    Hi, Rui, how long the many ESP 8266 communicate together in ESP-NOW protocol ?Thanks for useful video

  • @pkilo2811
    @pkilo2811 4 года назад +1

    Great video..Can you implement ESP-NOW with Micropython?

  • @jesuscardona5184
    @jesuscardona5184 4 года назад

    Excellent. Which is the difference between LORA and this protocol?.

  • @winters.innovative.solutions
    @winters.innovative.solutions 4 года назад

    Rui,
    Great video!!! Can you make a super simple video/program, that has two esp32's controlling each others led's with a simple button on each device. And maybe how to expand it to 3 or 4 devices. Thank you very much.

  • @gg-gn3re
    @gg-gn3re 4 года назад

    Does esp now allow you to lower transmission rates so you can get several km/miles like you can with other protocols?

  • @HedSiDee
    @HedSiDee 11 месяцев назад

    thanks !!

  • @isov4345
    @isov4345 Месяц назад

    awesome..

  • @avejst
    @avejst 4 года назад

    Looking great
    Tanks for sharing

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      Thanks for your feedback, I'm, glad it was helpful!

  • @ATS3788
    @ATS3788 4 года назад +1

    Cool, That was what I'm looking for.

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад +1

      I'm glad it was helpful!

    • @ATS3788
      @ATS3788 4 года назад +2

      @@RuiSantosdotme Actually you are a great guy doing wonderful Project. I'm just jealous

  • @WaschyNumber1
    @WaschyNumber1 4 года назад +1

    Very cool video 👍

  • @TheOleHermit
    @TheOleHermit 4 года назад

    Thanks for the ESP-NOW video. This looks like just what I need. But, I'm currently coding w/Python & microPython using MQTT. Can ESP-NOW be configured from within Python and replace MQTT?
    Okay, I'll RTFM. But, thanks for the pointer.😎

  • @piconano
    @piconano 3 года назад

    Enjoyed your video very much.
    I wonder if I can use 4 ESP32 boards to make 2-way intercom 200 feet apart in a wooded area?
    I want to use the I2S along side ESP-NOW to accomplish this. Am I dreaming?
    PS: I can design and build Op Amp amplifiers and active filters to use in this project.

  • @jairoalbertoreyes
    @jairoalbertoreyes 3 года назад

    Nice video, I'm making a project where I need to communicate multiple esp to one, and then send this data via Bluetooth to a cellphone. Is this protocol compatible with Bluetooth? Thanks

  • @raymondmichael4987
    @raymondmichael4987 2 года назад

    Two years latter, do you have a part two for this?

  • @bobbydowngrades
    @bobbydowngrades 4 года назад +1

    Bluetooth does the same thing.
    SPP profile is both fast and reliable.
    You can setup a larger network with Bluetooth EDR and the speed of transmission is instant for a distance of say 30 meters through multiple walls.
    Not sure why so many new wireless types are being made when we have had Bluetooth 2.1 for so long.
    But fair play for making a video to show people and help publicise ESP.

    • @DSSlocksmiths
      @DSSlocksmiths 2 года назад +2

      Because you can't have 20 devices all talking via Bluetooth to one device, and to all the others, at the same time.

    • @UserName-cb6jz
      @UserName-cb6jz 8 месяцев назад

      ​@@DSSlocksmithsPlus, the distance is larger with ESP NOW.

  • @mtraven23
    @mtraven23 2 года назад

    just learning about board to board communication....I think this can be done via bluetooth too...is the only advantage of wireless to have great range, or are there other reason? I ask because my project will have mutli boards just a few feet apart.

  • @Ed19601
    @Ed19601 4 года назад +2

    Interesting. I will see if i can combine it with regular wifi and if i can make it work on an esp8266

    • @pipercolt1963
      @pipercolt1963 4 года назад

      Curious if you got both Wi-Fi and esp now working Simultaneously

  • @JKUAV
    @JKUAV Год назад

    Hi a query, is ESPNOW a full duplex or half duplex communication

  • @hansdegroot652
    @hansdegroot652 3 года назад

    Hi. Wil wifi still work when using esp now?

  • @hedleyfurio
    @hedleyfurio 4 года назад

    Thanks - clear and concise . Wonder why the pressure values are different with sensors at same altitude 😀

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      The humidity values are actual quite different, but that's why you should test multiple sensors to see which one gives you the most accurate readings

    • @hedleyfurio
      @hedleyfurio 4 года назад

      Rui Santos thanks for reply . I use these sensors my airplane so guess for product each sensor has to be individually calibrated and then software offset inserted before shipping .

    • @eddymaue1291
      @eddymaue1291 4 года назад

      with regard to the BMP280 I tested on 10 units and I noted minus 1% of errors. The test was done in a closed environment. however I was not interested in atmospheric pressure .. I should have ... on my next order I will
      pour ce qui est du BMP280 j'ai fait le test sur 10 unités et j,ai noté moins 1% d'erreurs. Le test a été fait dans un environnement clos. cependant je ne me suis pas intéressé à la pression atmosphérique.. J'aurais du ... à ma prochaine commande je le ferai

  • @saqibjaved1900
    @saqibjaved1900 2 года назад

    Hi rui, can you plz make a video for controlling a servo motor over espnow based on soil moisture sensor reading from another esp board. Im stuck with this project. Everythingvworked fine but servo did not worked. Thanks

  • @muratturel
    @muratturel 4 года назад

    Thanks for all your videos that have NO crazy shity music on the background.

  • @alejandrocaceres4379
    @alejandrocaceres4379 2 года назад

    Gran video por cierto lo hice en esp idf y la verdad no varian mucho las funciones

  • @FPChris
    @FPChris 3 года назад

    So you have to put the mac address of the OTHER board into the .ino?

  • @lukaszpodgorski
    @lukaszpodgorski 4 года назад

    Great :)

  • @aleksandarzivkovic1792
    @aleksandarzivkovic1792 Месяц назад

    Is it possible to use and esp 01(8266) to send data to an esp32 using ESP now?

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 4 года назад

    Thank You

  • @valendorn
    @valendorn 4 года назад

    I'm trying to find a project for a board
    ESP32
    but I can’t find anything
    I need to do a radio control on the sticks of the joystick, can you help?

  • @jozefgoral6812
    @jozefgoral6812 2 года назад

    What is max possible bit rate, between devices ? Is it possible to speed up bit rate in p2p connection ?

  • @jipede
    @jipede 4 года назад

    Very great

  • @jairogarcia1499
    @jairogarcia1499 Год назад

    Hello, Rui, I have a quistion for you. I've implemented a one way communication with ESPNOW; I did it, but In one of my cases I've a problem. In normal cases, I have an output which have been activated only for 10ms and no problem, but one of them must be activated BUT no recive any new order in that 15s... as you "close" the communication reception events that you have it only that 15s.. Is there any way, that once you recive an order, start to work on your action, stop listening communication event for a while and them, when you finish, sart again to listen events? thanks

  • @Ravewayvideos
    @Ravewayvideos 4 года назад

    Novo seguidor aqui ... =)

  • @saajidthakur6027
    @saajidthakur6027 2 года назад

    Thanks for your guidance Sir.
    How can install library to Arduino IDE by json link.
    I didn't found and explanation regarding this topic

  • @user-mu1tc2ls6e
    @user-mu1tc2ls6e 4 года назад

    hello
    i have problem solving difference between code for ESP32 and ESP8266.
    also where can i found sample code for two way multiple boards ( 5 boards)

  • @tracuettaxila
    @tracuettaxila 4 года назад +1

    Thank you so much

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад +1

      You're welcome! Thanks for watching

    • @tracuettaxila
      @tracuettaxila 4 года назад +1

      @@RuiSantosdotme actually I was waiting for it from a long time 😊

  • @ziomalZparafii
    @ziomalZparafii 2 года назад

    What a huge difference on humidity from both sensors.

  • @jettaglnegro
    @jettaglnegro Год назад

    En español no tienes videos de este protocolo espnow... se puede esp32 con una esp8266

  • @3dFirefly
    @3dFirefly 2 года назад

    can ESP-NOW work on ESP-01?

  • @viniciusnoyoutube
    @viniciusnoyoutube 4 года назад

    Could you make a exemple where it is possible to alter the values of the variable through the webpage?

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      Take a look at this guide: randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/
      Or this one: randomnerdtutorials.com/esp32-esp8266-input-data-html-form/

  • @donnytrisandi8862
    @donnytrisandi8862 Год назад

    thank you for making the video, but I ran into a problem when I managed to make sure the recipient's MAC address was correct but the sender's serial monitor kept telling me that delivery failed. i can confirm the distance between ESP32 is very close. please help me, I'm dizzy.

  • @weerobot
    @weerobot 4 года назад

    Cool...

  • @melbryant4269
    @melbryant4269 4 года назад +1

    hello! i want to know if it is possible to use an encryption algorithm or something if i want to secure the data that transmit between those two nodes???

    • @jairoalbertoreyes
      @jairoalbertoreyes 3 года назад

      Hi, I have the same question, did you you find something related?

  • @zhoucrance2090
    @zhoucrance2090 3 года назад

    Woow i was looking for this video for long time you are a live saver. Can i calculate distance between two those two and when it reaches 2 meters then beeps an alarm. Reply please i working on my final school project.
    Thank you!!

    • @ismzaxxon
      @ismzaxxon 3 года назад

      No effective distance measurement is available on ESP_now

  • @claudiobosco716
    @claudiobosco716 Год назад

    Hi, i've a little problem... i'm not able to find the library esp_now.h !!! Can you help me ? Many thanks.

  • @silentknife24
    @silentknife24 3 года назад

    Dear Rui Santos
    I am trying to send flex sensor value which i am receiving serially from arduino uno
    i am able to read the serial values on ESP Master and able to read the values on ESP Client but they don't get updated over time
    everytime i have to press RESET button on master ESP to update to date values on Client side
    Please let me know if you can help it's urgent
    Best regards

  • @viniciusnoyoutube
    @viniciusnoyoutube 2 года назад

    Please, make a example of a remote control using ESP-Now.

  • @machgt
    @machgt 2 года назад

    Question. With the bi-directional communication, can I send one struct message from board A to board B and send a different struct message from board B to board A? Or do they have to both be formatted the same?

    • @machgt
      @machgt 2 года назад

      Nevermind, I just got it working with 2 different struct's :)

  • @princebanini
    @princebanini 3 года назад

    Is esp now MQTT?

  • @abdulraheemm5797
    @abdulraheemm5797 3 года назад

    Is this function possible with esp8266 ????

  • @Abbici
    @Abbici 4 года назад

    Good evening.
    This library is very very good...
    But two questions:
    1) is possible one device can be bridge too?
    2) I have throuble to transmission a structure message: If I use this example... after some time all data are stable except one: String type... myData.d. Why?
    @}-,-'---------
    Gianfranco

  • @uweri_3851
    @uweri_3851 4 года назад +1

    awesome stuff. I'll try it soon. I get in trouble with amount of all my internet device connection in the MASH enviroment. These can be a solution. Combine a group of ESP devices in a group. But in these scenario I need one ESP in the group that can communicate with multiple ESP devices and a raspberry pi MQTT server at same time. Do you believe these is possible ?

    • @robk5969
      @robk5969 4 года назад

      maybe try uart between master esp and the pi?

  • @kumarjha1729
    @kumarjha1729 3 года назад

    Dear Sir, You have done great work. Still I have one doubt regarding Multiple transmitters and single receiver that>>>>>> I am getting the data from all transmitters with their ID. But want to achieve data sequentially. How to obtain data coming from 3 transmitter sequentially? Thanks.

    • @DSSlocksmiths
      @DSSlocksmiths 2 года назад

      If you've got 3 sets of data just sort them and interpret them as different variables? Add a timestamp to the message at the sending end, perhaps? Or request the messages from the controller in the sequence you want?
      I don't understand the problem?

  • @michaelbishton9439
    @michaelbishton9439 4 года назад +1

    I am looking forward to an example of many-to-many devices. ESP_NOW seems like it only supports explicit data distribution; a known variable to a known (MAC address) device. What about a process like MQTT that distributes all information across any/all subscribers? How does ESP_NOW handle transmission collisions or message timing? Many thanks.

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      Hi! Unfortunately ESP-NOW doesn't support some of those features and in my opinion MQTT will be more reliable. If you set this MAC Address: uint8_t broadcastAddress[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
      Your ESP-NOW sender will broadcast your message (data) to all nearby ESP-NOW devices that can receive the same data structure.

    • @michaelbishton9439
      @michaelbishton9439 4 года назад

      @@RuiSantosdotme You response, in conjunction with what Jay Nottelling said below, I was wondering...
      Can ESP-NOW and WiFi run simultaneously? If so, the ESPs can create proper MQTT strings that are passed out to all ESP-NOW devices that read the string into a variable and consume parts of the string as appropriate. The EXP32 running WiFi can bridge the MQTT string to the internet. You form the data one time as an MQTT message and use it across both communications methods. I'm sure I'm missing something...

  • @nagueshverlekar1834
    @nagueshverlekar1834 4 года назад

    Hi sir, is there any external antenna connected to make it 220 meters?? When I tried I lost the signal at 50 metres.

    • @MucitPilot
      @MucitPilot 3 года назад +1

      he says "we used onboard antennas" in the video which means they did not use any external ones.

  • @namernum5692
    @namernum5692 4 года назад

    How about communication with computer

  • @DocMicha
    @DocMicha 4 года назад +1

    Very nice project, I know understand esp-now a bit more. Does this also work on the esp8266??

    • @chrisleech1565
      @chrisleech1565 4 года назад

      not possible

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад +2

      The ESP-NOW protocol should work with the EPS82666, but we haven't tried this code on those boards (some of functions are probably slightly different)

    • @DocMicha
      @DocMicha 4 года назад

      @@RuiSantosdotme Thank You

    • @eddymaue1291
      @eddymaue1291 4 года назад +1

      @@DocMichayes it works for the esp8266 and you can mix

    • @DocMicha
      @DocMicha 4 года назад

      @@eddymaue1291 Thanks, mixing was the 2nd question!!

  • @bm830810
    @bm830810 4 года назад +1

    Can ESP Now work alongside traditional WIFI, for example each slave do its initialization and MAC address exchange via wifi and then switch to ESP now, for this the masters wifi should be always enabled

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад +1

      I think it should work, but I haven't tried it yet.

    • @eddymaue1291
      @eddymaue1291 4 года назад

      this is doable ... The problem with Arduino is that everything is declared as global (public). It becomes simple if you wrap classes in different modes of communications. So what becomes public is the declaration of objects and in each of these objects you fill in the attributes specific to each mode of communication (espNow, Web, client, server and others). By using an interruption based on the clock in mili-seconds you scan your client, retrieve information and redistribute yourself according to your good wishes to whom it may concern
      .
      the only limit I know is the one you imposed on yourself
      cela est faisable ... Le probleme avec Arduino c'est que tout est déclaré comme global(publique) . Cela devient simple si vous encapsulé dans des classes les différents modes de communications. Alors ce qui devient publique c'est la déclaration d'objets et dans chacun de ces objets vous renseignez les attributs propre à chaque mode de communication (espNow, Web,client,server et autres). En utilisant une interruption basé sur l'horloge en mili-secondes vous scruter vos clients , récupérer l'information et vous redristibuer selon vos bons plaisires à qui de droit
      la seul limite que je connaisse c'est celle que vous vous imposé

    • @bm830810
      @bm830810 4 года назад

      @@eddymaue1291 thanks for the response, how can you multiplex both ESP now and WIFI on the same 2.4GHz radio, don't WIFI need to be always available?

  • @justinanderson9747
    @justinanderson9747 3 года назад +1

    Does this have to come from github? I have a “simple esp now connection.h” in IDE but no espnow.

    • @daninwy2681
      @daninwy2681 3 года назад

      clone the github repo for esp8266 rtos. It's in the examples directory when you clone it.

  • @forgiven_lightofficial3732
    @forgiven_lightofficial3732 2 года назад

    Would I be able to use an lcd screen? How would I program that I'm totally new

    • @forgiven_lightofficial3732
      @forgiven_lightofficial3732 2 года назад

      And can I run program with a menu controlling the other boards im gonna have 3 boards all with wifi related testing tools. Is it legal to run through other scripts and pick and pull portions?

  • @AdrianSchwizgebel
    @AdrianSchwizgebel 4 года назад

    Wow that's very interesting! Do you know if ESP-NOW and a regular WiFi connection to a router can be done simultaneously?

  • @omnianti0
    @omnianti0 4 года назад +15

    mate you get a 12% hunidity diference betwwen the ten centineter of your desktop

  • @lukaszpodgorski
    @lukaszpodgorski 4 года назад

    What od somebody set Mac and there are two devices with same address?

    • @mikeshaw9873
      @mikeshaw9873 4 года назад

      MAC Addresses should be unique.

  • @electricalcoder3025
    @electricalcoder3025 3 года назад +1

    when i tried practical communication of two esp boards using espnow i get only 15-20metre maximum range not a completely open area ,almost 2-3 walls were there between the two boards. I still dont understand how people claim to have range of above 200metres oin blogs and videos .Do you experience the same Santos?

    • @DSSlocksmiths
      @DSSlocksmiths 2 года назад

      With foil backed plasterboard you'll get even less than that. But the clue is the walls. They stop radio waves.

  • @mohammadetek9772
    @mohammadetek9772 4 года назад

    Can we make mesh network from esp 32?

    • @DSSlocksmiths
      @DSSlocksmiths 2 года назад

      That's literally what this protocol is for.

  • @bismahendra
    @bismahendra 3 года назад

    How to send receive data between 2 board ESP32 over BLE?

    • @bismahendra
      @bismahendra 3 года назад

      please make the tutorial

  • @saurabhshukla435
    @saurabhshukla435 4 года назад

    if one slave how many master is connected ,and range of maximun slave and master;

  • @yasirali9190
    @yasirali9190 4 года назад

    can we have same mac address for number of esp32 slaves

  • @YigalBZ
    @YigalBZ Год назад

    Is there a way for the master to ask "who is out there" and get messages from all slaves near by? This is for the case the master is waking up, without prior knowledge of the MAC addresses of the sales.

  • @PeetHobby
    @PeetHobby Год назад

    This seems to turn an eps32 into an nrf24, with a simplified protocol on 2.4 GHz.

  • @louxamd5819
    @louxamd5819 2 года назад

    Just need a gps and a script to pair them in a line to extend it past the limits

  • @silentknife24
    @silentknife24 3 года назад

    Dear Rui
    Thanks for your great tutorial
    I'm trying to run this code on ESP8266boards and end up with the following error
    esp_now.h: No such file or directory
    while if i try to compile the same code by selecting ESP32 board I'm not getting this error
    Can you please help me out on this
    Regards

    • @silentknife24
      @silentknife24 3 года назад

      SOLVED

    • @kaushalambasana7384
      @kaushalambasana7384 2 года назад

      @@silentknife24 how, i am getting same error

    • @silentknife24
      @silentknife24 2 года назад

      @@kaushalambasana7384 Hi kaushal
      it’s been long time i solved this but i still have the code and would be glad to share n help you out

  • @jamescullins2709
    @jamescullins2709 4 года назад

    I tried to use this code on the ESP8266 Wemos D1 R1 but it would not compile. I changed the
    #include
    #include
    The above did not work
    I changed to the ESP32 D1 R1 below
    and it did compile.
    #include
    #include
    How do I make it work on the ESP8266? Thanks my friend.

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      Please use the code for the right board. ESP32 with ESP-NOW Protocol ► RandomNerdTutorials.com/esp-now-esp32-arduino-ide/
      ESP8266 NodeMCU board ESP-NOW ► RandomNerdTutorials.com/esp-now-esp8266-nodemcu-arduino-ide/
      You might also need to modify some of the code (not only the libraries imported)