ESPNOW for beginners!

  Рет қаралды 145,334

Programming Electronics Academy

Programming Electronics Academy

Күн бұрын

Пікірлер: 248
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Huge thanks to our sponsor Altium! -> Get a FREE trial of Altium PCB design software here -> www.altium.com/yt/programmingelectronicsacademy
@ayaansworkshop
@ayaansworkshop Жыл бұрын
please can you do a GitHub Link of the "Boiled Down" code for Master and Slave code?
@programmingelectronics
@programmingelectronics Жыл бұрын
@@ayaansworkshop I think this is what you are looking for? github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/ESPNow/Basic I hope it helps!
@drpibb7526
@drpibb7526 Жыл бұрын
@@programmingelectronics Can we get the code after you removed all the extemporaneous functions? I am getting an error when compiling after following your example. Thank you.
@edmundisaac2164
@edmundisaac2164 Жыл бұрын
@@programmingelectronics i think he is looking for your own code which you promised to drop the link for in dscription
@AzharKhan-cy5kt
@AzharKhan-cy5kt 6 ай бұрын
dude i need that last code you showed of master and slave that small one github says "file not found"
@TheJimtanker
@TheJimtanker 2 жыл бұрын
This is exactly what I've been needing for a project that I've been struggling with. There are other tutorials online but none as concise as this one. You've really struck a home run on this one! Thanks!
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great to hear! Thanks so much for watching Jim!
@Sri_Harsha_Electronics_Guthik
@Sri_Harsha_Electronics_Guthik 14 күн бұрын
described the troubleshooting required for boot issues well. They are more common than ppl think!
@programmingelectronics
@programmingelectronics 13 күн бұрын
Glad it helped!
@paulsharpe3794
@paulsharpe3794 2 жыл бұрын
I'm going to try this out tomorrow I have had an idea for a bit and this gives me the basics to get it done thanks
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great! Best of luck through the process.
@antextra300
@antextra300 2 жыл бұрын
By far the best teacher of all things Arduino!! This video helped me so much!! Most other videos do not explain esp NOW in a way that I could piece apart and use. But you did! Thank you so much!
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Glad it helped!
@sennabullet
@sennabullet 7 ай бұрын
Superb. By far the most comprehensive and most easy to understand explanation of the ESP Now protocol on KZbin. I am incredibly grateful for your effort to make this video and share your knowledge.
@programmingelectronics
@programmingelectronics 7 ай бұрын
Glad it was helpful!
@genewinchester932
@genewinchester932 Жыл бұрын
This is an awesome explanation of something that I have struggled with. I agree it opens a lot of doors for remote control and sensor data transport. Not having it on my network, or having to rent online "cloud" space makes this a winner. Thanks for making it easy to understand!
@programmingelectronics
@programmingelectronics Жыл бұрын
I am so glad it helped! Thanks for the note and for watching!
@gazzacroy
@gazzacroy 2 жыл бұрын
man what a brill video. i've been using esp now for just over a year and never totally understood how it works.. man this really help me to understand more.. brilliant.. :)
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great to hear! Thanks so much for watching. I hope to have some more videos on ESPNOW coming out.
@chrismolloy131
@chrismolloy131 2 жыл бұрын
Used it for a remote thermometer. Easy peasy!
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Nice!
@englandrasmussen3111
@englandrasmussen3111 Жыл бұрын
Thank you. Very very helpful. So many creative projects are curating in my head right now. I remember taking c and not understanding pointers very well. I’m glad you walked through that portion.
@programmingelectronics
@programmingelectronics Жыл бұрын
Great to hear! A lot of fun can be had!
@morpheon_xyz
@morpheon_xyz 2 жыл бұрын
This is exactly the kind of information needed to kickstart some badass projects that require wireless transmission between 2 boards. Definitely planning on using this information in a few projects as this will be an amazing way to control things over a short distance without having to use any form of internet or additional modules to make it work. By the way, that's one badass project you've got there. It's simplistic, yet really cool and functional as well. Sparking some awesome ideas by showing the basic concept of possible uses for this wireless communication feature built into the ESP boards
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thanks Morpheon! I hope to have more content on the ESPNOW stuff. Also, I'm glad you liked that project - it was a blast to make. I have some more in mind I'd like to try and develop.
@morpheon_xyz
@morpheon_xyz 2 жыл бұрын
@@programmingelectronics I'm looking forward to seeing more of your videos regarding the ESP32 and ESPNOW. Also, would be a killer to see some other projects you'll be working on, I enjoy seeing what others do and make, as it sometimes can inspire others by showing off the possibilities of these boards, so you had a perfect use case right here, and I love that! Keep up your tutorials, they're handy reference points for projects too tho, thanks
@u2bist
@u2bist Жыл бұрын
DUUUUDE! This is the best, clearest ESP-NOW intro video I've seen, exclamation point! Your explanations are super easy to understand, and taking the time for code cleanup to clarify the examples was awesome. And yes I totally agree ESP-NOW is a very underused platform more people should take advantage of, which is my goal. I can't believe I haven't been aware of your channel until now. SUBSCRIBED and looking forward to checking out more - Cheers!
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks so much Doug!
@steverileyretired
@steverileyretired 2 жыл бұрын
Great Video, I just got 3 ESP32 and made your simple program and it works great
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great to hear! They really are fun.
@OmegaB3N
@OmegaB3N 3 күн бұрын
Thank very much for the vid. Currently trying to project an e-drum kit using midi from the drum module the trigger leds on the drums and I’m hoping the esp now will allow me to set up a chip network to transmit the data to each drum. Wish me luck! 😂
@mr.bianchirider8126
@mr.bianchirider8126 2 жыл бұрын
Great video. I use ESPNow to send BME 280 data from my solar weather station to a receiver located inside my house. The receiver then sends the data to Blynk. The connection/awake time for the solar weather station using ESPNow is less than using WiFi. A definite plus when powered by a battery.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
That’s a really neat application! I’d love to play around with battery extension using deep sleep some time.
@mr.bianchirider8126
@mr.bianchirider8126 2 жыл бұрын
@@bob-ny6kn The weather data is stored on Blynk.
@aritramukherjee
@aritramukherjee Жыл бұрын
neat and especially the battery part 👌. For longer distance lora boards are also awesome 🙂
@mt-qc2qh
@mt-qc2qh Жыл бұрын
I have many devices on my wifi and when we recently switched to Hotwire they use the Eero mesh network. In order to keep my many devices, I implemented the Espnow protocol to offload many wifi sensors. I had to implement a "hub" to provide the fixed channel for Espnow, since the mesh freely hops channels. Since switching I have about 30 Espnow devices alongside the 100 or so wifi based devices. Your explanation is great and should get anyone excited about the possibilities.
@programmingelectronics
@programmingelectronics Жыл бұрын
Whoa!!! You've got quite a setup - very impressive! Thanks so much for watching.
@DaveDickens
@DaveDickens 3 ай бұрын
This is an amazing tutorial, thank you! The way you stripped down the example code, just magic! Cheers Dave
@claudiomoles
@claudiomoles 2 жыл бұрын
Excellent, best ever detailed explanation of ESPNOW. I am currently using it in my projects, and new projects like model railroad control with ESP8266-12F that I created a board to fit inside an HO locomotive with PWM driver for the motor. I do agree with you how come this ESPNOW is so under-used. It is a great tool and you do not have to mess up with TCP or sockets protocols, you do not need to be online nor in a network router structure point to point communication, fast and reliable. Thank you for your video.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thanks so much for the note Claudio! Sounds like you have an neat setup using ESPNOW with the 8266 (I have only tried it with the ESP32 so far.)
@claudiomoles
@claudiomoles 2 жыл бұрын
@@programmingelectronics I am going to try the scan feature in ESP8266. that will be top to add new slaves.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
@@claudiomoles I thought that was pretty slick as well. I really think that basic example sketch that comes with the library is pretty solid.
@kleiner159
@kleiner159 28 күн бұрын
Very nicely done !!! great breakdown and explanations !
@programmingelectronics
@programmingelectronics 27 күн бұрын
Thanks so much for that! Best of luck in your endeavors with ESP-NOW!
@kleiner159
@kleiner159 27 күн бұрын
@@programmingelectronics I can get EspNow to transmit and receive. and I can get input from a digital Caliper and display the measurement in the serial monitor. But for the life of me when I add these together.. Nothing.... I want to transmit the measurement from 1 esp32 to another. Seems like the interrupt gets broken. /* got it... I've got to be more careful when copy/pasting */
@danblankenship5744
@danblankenship5744 2 жыл бұрын
Thanks for the great video, my head is swimming as new ideas are being developed. This will definitely play into the design of my project for controlling fans and heaters in my car. Now I can control them remotely from inside my house or worksite to better conserve my battery's usage. This battery-operated module has heating and cooling features dependent upon the season. If I want to go somewhere early in the morning, I can remotely activate a heater and fan to clear my windshield from fog and dew. I think I might add a camera later to see if the fog is cleared (no white reflection) to turn off the heated fan and save battery power. If I notice that the temperature is starting to rise outside and I know I'm going to be driving it soon, I want to activate the cooling function. I have a thermometer in the car that is used to control an exhaust fan installed in one of the windows. I have a small solar panel mounted on the sunroof to help charge the battery. What kind of range is typical for this communication? I see this could also be changed from a Master/Transmitter with Slave/Receiver operation to a two-way communication system. That opens the door to adding an alarm system in case someone likes my car too.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Range looks pretty impressive from what I’ve seen online in some field tests around 500ft depending on obstacles
@morpheon_xyz
@morpheon_xyz 2 жыл бұрын
Ahh, I see someone else is also thinking of using it in their car 😋 definitely going to be using mine in the car for multiple features. I'm currently working on a customized ligting feature as I'm planning on adding DRLs to my MK1 Velociti, especially for more visibility, and some other features for show as well. Also planning on adding a camera to the mix, although that I'll probably run off a Sim module so I can use it anytime as my car sometimes need to stay at work, so the ESP32 will definitely be great for alarm features as well. Also being able to control the lights etc from my phone instead of just the 2nd ESP32 would also be an awesome addition, for when someone else likes my car too. The possibilities have shot up with these boards, and I'm glad to see that others are also looking into modding their vehicles with these systems (even if it's minor mods). You could possibly even create your own vehicle tracking system if you add a GPS module and configure it to send you a message or notification with location if the vehicle has been started without an authorization key / button / RFID tag or something. As mentioned, the possibilities are much greater now with these boards. Anyways, all the best to you with your endeavours on your project
@corsairsmitty9691
@corsairsmitty9691 19 күн бұрын
Thank you for doing this. I found it very helpful. I do see the potential.
@klif_n
@klif_n 2 жыл бұрын
This has been very helpful in getting me started with ESPNOW! Thanks.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great to hear! I hope you have fun with it!
@Indoseraya
@Indoseraya 4 ай бұрын
This video really help me to understand ESP32... great
@programmingelectronics
@programmingelectronics 3 ай бұрын
Awesome!
@jumadhaheri
@jumadhaheri 2 жыл бұрын
This time is good for remote control like the vehicle you made 👌
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Agreed!
@michaelberry950
@michaelberry950 5 ай бұрын
Pretty good video, gave me some ideas. Suggestion: put in comments like "// Register callback function", leave out ones like "chill"
@programmingelectronics
@programmingelectronics 5 ай бұрын
Thanks for this!
@trainwreck3839
@trainwreck3839 Жыл бұрын
Thank you so much for this! Easy to understand and follow!
@programmingelectronics
@programmingelectronics Жыл бұрын
Glad it was helpful!
@kiloutoo
@kiloutoo Жыл бұрын
I just found out about ESP32-Now protocol very recently and watching your video tells me this layout of communication is totally underestimated. You can hardly beat it to exchange a few bytes. It get rids of the WIFI or Bluetooth overhead and make the data exchange so easy. This IoT protocol seems to been made for my purpose. Thank you for this very clear explanation ! You've got a new subscriber :)
@programmingelectronics
@programmingelectronics Жыл бұрын
Great to hear M!
@familyplans3788
@familyplans3788 4 ай бұрын
Just wanted to add to the algorithm for you and to say a big thanks for your videos
@programmingelectronics
@programmingelectronics 4 ай бұрын
Thank you!!!
@hudsonreynolds4349
@hudsonreynolds4349 5 ай бұрын
Wow cool demo with the LEDs at the end. Did you have a delay at all for that code or just let it run as fast as it could? it looked pretty instantaneous!
@raymondmichael4987
@raymondmichael4987 10 ай бұрын
I find this video very well structured, thanks buddy. One thing though, Transmitter can scan to find the receiver MAC in the channel, how can a receiver know the MAC of a transmitter in case of many transmitters and we want to know them (where data come from) 😊 This esp-now seems loaded
@michaelkennedy4842
@michaelkennedy4842 4 ай бұрын
Thanks for your work. This video helps. (I will have to watch it a few times though!)🥴
@programmingelectronics
@programmingelectronics 4 ай бұрын
Glad it was helpful!
@Rick_Cavallaro
@Rick_Cavallaro Жыл бұрын
This is incredibly well done! Thanks!
@walthermatthau9537
@walthermatthau9537 Жыл бұрын
Excellent explanations!!!!
@programmingelectronics
@programmingelectronics Жыл бұрын
Great! I hope it was helpful!
@OsmanyFerrerBorges-cv6hw
@OsmanyFerrerBorges-cv6hw 9 ай бұрын
Can an esp32 node be connected to both esp-now and regular wifi networks?
@patrickmclaughlin6013
@patrickmclaughlin6013 2 жыл бұрын
Thank You. Very helpful.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great! Thanks for the note!
@jon_raymond
@jon_raymond 2 жыл бұрын
Great intro video to the underutilized ESPNOW. Would really like to see a video about the Neopixel project you showed at the end of the video!
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thank Jon! OK, I'll see what I can put together for that project. All the ESP code is pretty much the same.
@sumit2k
@sumit2k Жыл бұрын
I love your videos. Please make a video on ESNOW_LR (Long Range protocol) for extra long range.
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks for the recommendation Sumit!
@qzorn4440
@qzorn4440 Жыл бұрын
I enjoy using the esp32 and RemoteXY with the GPIO pins to control devices. I wish someone would make some videos on the Orange PI5 GPIO PWM pins to control some pan-tilt servo motors for projects like a servo remote control car or a robot arm. The RPi4 examples do not run turn-key on the OPi5 and the errors are difficult to fix. 😎 Anyway thanks for the great esp32 video.
@olafschermann1592
@olafschermann1592 Жыл бұрын
Thank you for sharing
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks for watching Olaf!
@jeremysnopek5442
@jeremysnopek5442 2 жыл бұрын
Great video, thanks!
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thanks Jeremy!
@madhukeshnp
@madhukeshnp 10 ай бұрын
Great video. On to the point. Clear explanation. Well done. Can you make a tutorial on ESP-WIFI-MESH on arduino ide? Thank you.
@programmingelectronics
@programmingelectronics 10 ай бұрын
Thanks! I'll see what i can do on ESP-WiFi-Mesh!
@madhukeshnp
@madhukeshnp 10 ай бұрын
@@programmingelectronics Thank you for the reply. I never expected a quick response. Thank you for considering my request.
@MrBBea4
@MrBBea4 2 жыл бұрын
@3:15.. ESPN...that was funny!
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Glad you liked the humor!
@guiller2371
@guiller2371 Жыл бұрын
This is awesome, a wireless circuit that connects like a WiFi without WiFi and that doesn't accept large multimedia files.
@programmingelectronics
@programmingelectronics Жыл бұрын
I'm sensing sarcasm, but my detector could be off.
@PranayKumar-f1s
@PranayKumar-f1s 7 ай бұрын
This Video is worth enough to Subscribe 😇.
@programmingelectronics
@programmingelectronics 7 ай бұрын
Thanks! I hope you find our other videos helpful as well!
@StevePotter
@StevePotter 2 жыл бұрын
Thank you, that was beautifully explained and demonstrated. I am using ESP-NOW for a wireless CNC pendant and I agree, this is a very under-used and powerful feature of ESP32 (and '8266). One question I have, which I could not find on Espressif's docs, is how exactly ESP-NOW deals with failed transmissions (no response from receiver). I would like details of how many retries, does it change power level, effect on transmission speed, effect on range, and can I control any of these things myself? Like, can I just tell it not to bother doing any retries, so I can move on to the next data packet as quickly as possible?
@programmingelectronics
@programmingelectronics 2 жыл бұрын
These are great question Steve - thanks so much for bringing them up! As I explore the protocol more, hopefully I can help shine some light on these (or anyone else reading, please feel free to chime in!)
@RiddledReality
@RiddledReality 18 күн бұрын
This has helped me greatly!! I appreciate all the hard work you put into your videos. I’ve got my project working because of how easy you make things. I’m currently using a nextion display, but wanting to downsize to a touchscreen with a built in esp32. It’s a 1.69” display by wave share. I can get them to connect as master and slave but the screen won’t show the number I have sent from the master: esp32 dev kit1. Any idea of where I could be going wrong?
@anithasshenoy6662
@anithasshenoy6662 6 ай бұрын
further I can't find the two libraries as shown by you ; esp8266 by esp8266 community & esp32 by Espressif systems on my manage libraries list . I am using windows 7.
@scubaken89
@scubaken89 11 ай бұрын
Thanks for the tutorial, I have ESP32 board and loaded sketches to it, but I don't have the ESP32 library listed for the ESPNow examples and cant find where to get it.
@HelloHelloXD
@HelloHelloXD 2 жыл бұрын
Can you make a video how to connect multiple relays to Arduino with a ULN2803 or any Transistor array? BTW great video as usual :)
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thanks for the recommendation!
@ChrisWard74
@ChrisWard74 7 ай бұрын
So you didn't mention the AP Password, how is the sender connecting and sending without knowing the password? Also the range seems like it would be very limited here based on the transmit/receive power of the ESP32 and if you wanted more range you would want to look at something like LoRa
@programmingelectronics
@programmingelectronics 7 ай бұрын
Good questions Chris! With ESPNOW, the boards are not connecting to a WiFi access point. ESP-NOW is a kind of connectionless Wi-Fi communication protocol that is defined by Espressif. You're right about the distance. There are some demos online showing some impressive line of sight ranges, but you're absolutely right about using LoRa for more range.
@ChrisWard74
@ChrisWard74 7 ай бұрын
@@programmingelectronics Yes I know they are not connecting to a traditional AP but you are setting up onc the device (receiver ) as an AP for the sending device to connect to.
@midhunchandran1983
@midhunchandran1983 Жыл бұрын
great sir
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks!
@sarimkhan2306
@sarimkhan2306 Жыл бұрын
I would love to see how you did neopixel project
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks! I just finished up some code on that project and hope to get a video out about it...
@jesusmorenogonzalez7093
@jesusmorenogonzalez7093 13 күн бұрын
hola, mi arduino ID no reconoce las librerías, que puedo hacer para solucionar el problema
@venkateshgovindaiah5826
@venkateshgovindaiah5826 Жыл бұрын
NIce video . In the transmitter sketch (@ 27:41) your are checking for indexOf("RX"). what if there are more than one Receivers on the network? Transmitter device will connect to the first available Slave. I know this is not production code, but just pointing out.
@UK0072066L
@UK0072066L Жыл бұрын
Loved it
@programmingelectronics
@programmingelectronics Жыл бұрын
Awesome! I am really enjoying ESP-Now, I just finished a "bigger" project using it, and I hope to post about it soon.
@markramsell454
@markramsell454 8 ай бұрын
Can I assume the range is 30' to 100' depending on obstructions?
@amrijuliadi7257
@amrijuliadi7257 6 ай бұрын
you rockkkk...💥
@programmingelectronics
@programmingelectronics 6 ай бұрын
Thanks!
@wkjagt
@wkjagt 7 ай бұрын
This is really well explained. Thank you for that! I was wondering, is there a way to have bidirectional communication between two ESP boards? Even if you need to specifically set the mode to either transmit or receive, I wonder if it would be feasible to somehow switch between both modes at a certain interval, so each board is receiver half the time, and transmitter the other half.
@programmingelectronics
@programmingelectronics 7 ай бұрын
Neat idea! I think that could be possible.
@erichertsens
@erichertsens 7 ай бұрын
Awesome explanation, One question, can you have several slaves send data to the same master?
@MaxGoddur
@MaxGoddur 2 жыл бұрын
Please! Please! How about a sketch for the 5V 28BYJ-48 stepper motor and the ULN2003 stepper motor driver.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thanks for the recommendation! I'll see what we can come up with.
@Videogame9559
@Videogame9559 5 ай бұрын
HI I'm trying to wire up joystick to the esp32 wroom to esp32 wroom car control any help I've add mac address to joystick trasmiter. It's not working.
@335_TrishankuSatpathy-xo7dh
@335_TrishankuSatpathy-xo7dh 6 ай бұрын
@programmingelectronics Can I get the code after you removed all the extemporaneous functions? . Thank you.
@programmingelectronics
@programmingelectronics 4 ай бұрын
Here it is: github.com/programming-electronics-academy/espnow-minimum Sorry for the delay on that...
@335_TrishankuSatpathy-xo7dh
@335_TrishankuSatpathy-xo7dh 6 ай бұрын
@programmingelectronics please share the code after you removed all the extemporaneous functions.
@programmingelectronics
@programmingelectronics 4 ай бұрын
Here it is: github.com/programming-electronics-academy/espnow-minimum Sorry for the delay on that...
@thakibkorede
@thakibkorede 2 жыл бұрын
Can you do a two way communication with this?
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Yes you can, it can be no-directional. I’ll see what I can do to put another video together about that.
@Equalizer-ZA
@Equalizer-ZA Жыл бұрын
How would link buttons on a sim racing steering wheel with esp32s ?
@GuilhermeGomes2
@GuilhermeGomes2 10 ай бұрын
nice!! how is energy consumption like, for a esp-now device that is constantly "listening"?
@technicalgaming7056
@technicalgaming7056 2 жыл бұрын
Sir can esp is used to give signal of sensors and the receiver esp can be connected to Arduino ?
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Great question! Yes, it could for sure. It worth noting that the rx ESP is a full fledged microcontroller that might be able to replace the Arduino in whole depending on the application. Also do note the esp operates at 3.3v, so depending on the rx Arduino you might need to level shift the signal.
@technicalgaming7056
@technicalgaming7056 2 жыл бұрын
@@programmingelectronics Thanks sir 😊
@programmingelectronics
@programmingelectronics 2 жыл бұрын
@@technicalgaming7056 Thanks for watching - best of luck on your project!
@MaxGoddur
@MaxGoddur 2 жыл бұрын
Very fundamental mind exploding step you failed to flag and that is when you connect your device to your computer and it fails to connect or show up you will need to download the drivers for the device in question. There are a couple one is the CH340 USB to serial controller the other is the CP210x USB to UART. With out these installed on the Windows machines the connection will pretty much fail. Not sure about the Mac and would be nice to know if the Mac requires similar drivers.
@programmingelectronics
@programmingelectronics 2 жыл бұрын
so true - drivers can drive you mad!
@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.
@mobagamma2096
@mobagamma2096 4 ай бұрын
How do I get the ESP-files in the Examples?
@programmingelectronics
@programmingelectronics 4 ай бұрын
If you open the Arduino IDE... 1. Select an ESP32 based board (this populate the appropriate examples) 2. and goto File > Examples > ESP32 and you should see a big list. Best of luck!
@LucidFX.
@LucidFX. Жыл бұрын
I am very new to this but I have a project for home security. I have 1 master and 6 slaves. I want to read 2 pins and states, based on state I need to send info to 6 esp32s 2 must move servo to position 1 @ 135degrees and other 4 position 1 is 90 degrees. And other pin high send position 2 to all @ 0 degrees. I can't find any tutorials like that
@Er-rayman99
@Er-rayman99 Жыл бұрын
please can i have Boiled Down" code for Master and Slave code? i didnt t find it
@programmingelectronics
@programmingelectronics 4 ай бұрын
Here it is: github.com/programming-electronics-academy/espnow-minimum Sorry for the delay on that...
@404-UsernameNotFound
@404-UsernameNotFound 2 жыл бұрын
3:13 I'm still trying to find these on ESPN 😉😂🤣
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Maybe they sold out :)
@blehprojects5776
@blehprojects5776 Жыл бұрын
Ugh you mention several times that you can hard code the receiver MAC address but I wish you’d have shown exactly how! Helpful video nonetheless
@apostolosn5536
@apostolosn5536 Жыл бұрын
I see a weird behavior in the master sketch. When the master connect to slave1 it reports in the serial monitor that the mac address of the slave that it is connected too is C8F09EF17221 but actaully the slave mac address is C8F09EF17220 (as reported by the MAC address finder sketch). Why is this happening ? The communication between the two devices is OK.
@programmingelectronics
@programmingelectronics Жыл бұрын
hmmmm. That is weird. I'm not sure what would be going on.
@muskanjhawar3383
@muskanjhawar3383 4 ай бұрын
Can I setup 2 esps with esp now protocol for full duplex system
@squilly1974
@squilly1974 3 ай бұрын
Great video many thanks for taking the time to put it together and share! Unfortunatly, when I compile I get the following error for my RX code, TX code works like a treat: error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive] 11 | esp_now_register_recv_cb(OnDataRecv); As the code is very basic and I have copied the OnDataRecv exactly, I am not sure what the error is. Do you have any suggestions what may resolve this compiler error. Many thanks!
@Rain-yh1sg
@Rain-yh1sg 2 жыл бұрын
Hello, I want to ask a question. The esp-now is through like a Frame packet transmission to other devices? How should capture esp-now Frame or Packet like we capture TCP/IP packet? Thank you.
@AmirEspy
@AmirEspy 25 күн бұрын
Hi . I'm trying to make a reliable 6 key remote for a giant crane. I have 2 identical 30pins esp32 dev modules. Can I do all 6 pins easy? Cause I don't have coding knowledge and I would probably ask chat gpt for it . I just want it to turn on when button pressed and off when released without delay. Is there going to be any problems?
@mikey38632
@mikey38632 3 ай бұрын
Theoretically, if your dog gets it, it may still work. You'll just get higher temperature readings for a while 🤣 jk Great video, I am learning a lot
@programmingelectronics
@programmingelectronics 3 ай бұрын
Ha! Thanks for watching :)
@9dm.nadamarattaqyafizein362
@9dm.nadamarattaqyafizein362 Жыл бұрын
can someone help me, when i see the preferences my arduino IDE aren't showing link or something like that and when i check to board manager i wouldn't find esp 8266 please help me
@jimpowell9205
@jimpowell9205 Жыл бұрын
Any idea of the Master/Slave WiFi range? Are there accessories to ‘focus’ the WiFi beam?
@felixt.467
@felixt.467 2 жыл бұрын
Good job doing the pairing. The only problem I see is if you want 2 way communication you don't get the other mac address. Do you have an idea regarding that?
@programmingelectronics
@programmingelectronics 2 жыл бұрын
I think it can be modified so the receiver saves the MAC address of the sender, and adds it as a peer? I need to look into 2 way communication more and see how that is normally done.
@shrill_kill9929
@shrill_kill9929 6 ай бұрын
Does esp now support Arduino UNO ESP8266 Serial wifi Expansion Board Module?
@ttac2011
@ttac2011 Жыл бұрын
I want to use this om visual studio code and its debug toolserver
@compubyte2010
@compubyte2010 Жыл бұрын
okay, because the PICO and PICO W are about.. is there a version of this that will work with it? I think they have a bit more power (dual core) and ram..? But. they defiantly are much CHEAPER.. $4 and $6 .. depending on if you get it with wifi or not
@JH-zo5gk
@JH-zo5gk Жыл бұрын
so if the receiver was off when the master was powered since the scanforslave is in the start loop then the master wouldnt see the slave? even if slave was powered up later?
@Rousecakes
@Rousecakes 6 ай бұрын
How do you use ESP NOW and Arduino OTA at the same time?
@jimsnodgrass8454
@jimsnodgrass8454 Жыл бұрын
Great Explanation of the key ESP NOW concepts.. I have a question tho.. have you found a way to extend the ESP NOW's range by lowering the bit rate of the WiFi signal, but from within the Arduino IDE 1.8.x or 2.1x? I haven't been able to do this without generating IDE compiler errors, but understand that there is a way to config the WiFi for the 1Mbit 802.11n slower rate if using the ESP IDF, and that will dramatically increases the signal's range at the expense of losing the default 54MBit data rate set by the Arduino IDE. If you know of a way to extend the range while using the standard PC card Antenna, I'd really like to hear about it. Thanks Again , jimS
@nadzlee9163
@nadzlee9163 Жыл бұрын
hi, how can I get the code? and the code after you slim down it?
@programmingelectronics
@programmingelectronics 4 ай бұрын
Here it is: github.com/programming-electronics-academy/espnow-minimum Sorry for the delay on that...
@TJenga
@TJenga Жыл бұрын
How can I add more than one function to the string. I got my code sending a battery voltage value back from the slave esp but I want to send a command from the master to turn on an led using a button as a toggle or 4 leds on 4 pins. Eventually I’ll make a menu with an oled display but I can get more than 1 led to work or just the voltage value to be received.
@thenextproblem8001
@thenextproblem8001 2 жыл бұрын
Thanks mate! İs there a way to reduce range of espnow? Like if its in 1meter range do stuff else do nothing. Or nothing received if the transmitter out of 20 meters etc
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Neat question! I know you can get the current RSSI (Received Signal Strength in dBm) from one device to another, but that not really a measure of distance.
@thenextproblem8001
@thenextproblem8001 2 жыл бұрын
@@programmingelectronics i have search the internet for days. But without rssi i couldn't find any way to reduce it
@marktrezz
@marktrezz 2 жыл бұрын
How about a partial Faraday cage around one so it has to be about 1 meter or less to work.. once out of range.. signal will drop and do nothing.
@thenextproblem8001
@thenextproblem8001 2 жыл бұрын
@@marktrezz yeah solving it like this for now but it's not practical always. I'd like to know if there is a better way
@MikeBramm
@MikeBramm 2 жыл бұрын
If it has some sort of PING functionality, you could try using that then measure with the response time. You would have to determine if the response time from 1 meter is 1/20 the time from 20 meters. There may be some additional delay in there due to processing speed, but it may be possible. The ESP device might not be fast enough to give you the resolution you're looking for, but definitely worth a try.
@naufalarie2763
@naufalarie2763 Жыл бұрын
Its a great video about ESPNow And i have question about my project. When i following this video, and i started upload the example of espnow to wemos d1 mini (esp8266), i got some error. And the error say ": no such file or directory". But, when i uploading to NodeMCU ESP32, it work. What do you think about this problem?
@dineshkrishnasamy1628
@dineshkrishnasamy1628 2 жыл бұрын
hi thanks for your valuable information. And I like to learn arduino library. do you have any solutions please
@programmingelectronics
@programmingelectronics 2 жыл бұрын
Thanks for this recommendation! I'll see what we can come up with for creating your own libray
@solidfuel0
@solidfuel0 Жыл бұрын
Espnow is buggy and doesn't work when sending messages from esp8266 to esp32 s3 if the s3 is connected to wifi . Anyone can help me with a work around?
@TechnoAutomation
@TechnoAutomation Жыл бұрын
Running espnow on esp32 with continuous data transfer heating esp board. Are there any specific requirements to throttle up data sending rate for optimum heating??
@BlondieSL
@BlondieSL Жыл бұрын
So being new to ESP32 and coming from Arduino, I found something just now that was very disappointing. For me, the whole point of going to ESP32 was the need for more memory. So in learning and focusing on networking (WiFi) I was very disappointed when I discovered that one single function: *WiFi.mode(WIFI_STA_AP)* just sucks up memory like crazy! Without it, my test sketch took 19%, but with it enabled, it jumped to a massive 51% !!! As I learn about WiFi on the board, I'll see if I really NEED that, but so far, it appears that I do if I want to implement my project as desired. I would like (prefer) to have all my remote stations (6 to 8 of them) to communicated back and forth with each other (possibly) and with 2 or more "receivers." Learning mode ENGAGED! LOL
@fggolding
@fggolding Жыл бұрын
Excelent video, it could not be better.
@programmingelectronics
@programmingelectronics Жыл бұрын
Thank you very much for watching!
@MaxGoddur
@MaxGoddur 2 жыл бұрын
You know have not found a basic explanation for what an API is and now it works with these devices?
@epicmach1332
@epicmach1332 2 ай бұрын
Hey man, I got a propably rather stupid question: How can I change the Value of the Data. For example if I would want the data to be the Reading of the analog read funktion. How would I do that? Cause I tried in the Masters code to set uint8_t data = analogRead(A0); but that did not work.
@programmingelectronics
@programmingelectronics 2 ай бұрын
Not a dumb question at all. You could try changing the data-type of the data variable from... uint8_t data = 0; to uint16_t data = 0;
@epicmach1332
@epicmach1332 2 ай бұрын
@@programmingelectronics Thanks man I'll try to do that🙂👍🏻
@f47h3r
@f47h3r Жыл бұрын
Thank you for this! What the average delay between devices ?
ESPNOW mix with #ESP32 and #ESP8266
25:37
Programming Electronics Academy
Рет қаралды 39 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 604 М.
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,4 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 12 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 297 М.
Getting Started with ESP32 - Step-By-Step Tutorial
19:50
Tomasz Tarnowski
Рет қаралды 353 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 582 М.
ESP-NOW - Peer to Peer ESP32 Network
43:02
DroneBot Workshop
Рет қаралды 362 М.
ESP-Now Range Test: Real-World Results for ESP32 Devices!
8:01
The ESP32 Simulator you've been looking for!
8:04
Programming Electronics Academy
Рет қаралды 24 М.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Рет қаралды 624 М.
ESP NOW: Espressif's Wireless-Communication Protocol
9:20
Espressif Systems
Рет қаралды 115 М.
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,4 МЛН