Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!! It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com. Thanks! Bill (The real one!)
Hi Bill, it's a shame being used and abused this way, and I note that Telegram is run by a Russian so you can't expect anything else, but if I see anything then I will let you know, all the best Bob in the UK
You just blew my mind. For 30 years I'd believed as I'd been told, that "MAC address" was short for "machine address", never noticing that it's clearly an acronym.
Bill, A while back I started looking into ESP32's using your Introduction Video on the topic. Then I stared working on developing a 6-servo remote controller using 2 ESP32 Node MCU development boards that used the WiFi protocol but did not require any internet or even the wireless router. One board is a server which sends the readings from 6 potentiometers to the receiver board which then uses the 6 angles to control 6 servo motors. I used your ESP32 servo video to learn how to control servos with the ESP32. It works great! This project wet my appetite for remote control applications with ESP32. The video you just uploaded has expanded greatly what I can now do with the ESP32 in remote control applications. Thank you so much for putting this video out and all of the quality content you produce. It is very much appreciated. Jonathan
Your video is easy to reach everyone. I do not understand the complex English language. But I can easily understand your speech. Thank you very much for teaching us electronics.
In case you got an all 00 MAC address by using the sketch provided in the tutorail, just add 1 second delay after the line " WiFi.mode(WIFI_MODE_STA);", i.e. add "delay(1000);", that will solve the problem.
I agree with the other people who said that your lessons are well structured. You are an inspiration. Because of you I have ordered an ESP32 to start my own journey. God bless from here in South Africa.
Thanks to the ESP NOW video and several others. I have completed my project which I call Batcher II. It is an extension of a project I made a couple of years ago which is now referred to as Batcher I. The purpose of the Batcher is to show a running total of the gallons I have pumped through my mixing station to mix batches of spray for my farm sprayer. The system uses a commercial flow meter that uses a Hall Effect sensor and a meter calibration number to convert the raw pulses to Gallons. The running total is shown on a 4 digit 7-segment display. Batcher I used a Nano. The flowmeter is connected and programmed via an Interrupt Service routine. The ISR merely increments the raw count variable. The system displays the result of the raw count divided by the meter cal to display the gallons on the display. I have a black momentary button on top which is connected as a second ISR. Its purpose is to reset the raw count back to zero for a new batch. I also have a Yellow, a Green and a Red momentary button that can show the meter cal and change it if necessary. I use a "While" conditional so the meter cal can only be changed by a conscious effort to do so. Any change in the meter cal is written to EEPROM so it is retained for the future. Again an idea from Bills tutorials. Batcher I worked very well. Over Winter, I noticed that Sparkfun has some very large 7 segment displays available. I also read about using ESP NOW to communicate between ESP 32's. I decided to try to create Batcher II using an ESP 32 in the same way as I did with the Nano but incorporate the idea of wirelessly transferring the running total to another ESP 32 which would display it on the Sparkfun large 7 segment display. The Sparkfun display would be sort of scoreboard that could be viewed from quite a distance. I got the individual sketches working and was able to meld them together. Initial testing seems favorable. I have some pictures which would make the whole project clearer but I don't see a way to attach them.
Great explanation, thank you! for some users experiencing some troubles replicating these results, here are some aspects to consider, it all varies on your ESP32 boards and drivers, in my case I came across some issues: Here are my fixes: **I am using an esp32 by Espressif driver. *Issues flashing the board: I had to adjust the Arduino IDE to an upload speed of 115200, you may find this option on your Tools menu. *Issues during verification, e.g. invalid conversion from 'void ()(const uint8_t, const uint8_t*, int)... etc. I had to downgrade my ESP32 by Espressif driver to version 2.0.12 as suggested on a post I found, haven't tried later models yet. *Issues retrieving the MAC address. add a delay before printing the address e.g. delay(1000); Serial.print("MAC Address: "); Serial.println(WiFi.macAddress()); Good luck and happy hardware coding!
Thank you so much for your "ESP NOW - Peer to Peer ESP32 Communications" video as well as the code listings on your web site. It absolutely got me up and running with my old DHT11 and two new Adafruit ESP32 Feather boards. Just getting the MAC addresses was a huge help. You are my primary ESP32 source of help and examples. And your 4K picture quality makes it all clear to read.
Thank you so much for your videos! Not only are they very informative, you also create an atmosphere that makes it such a pleasure to learn. You truly are an amazing teacher!
I am so grateful for all of your excellent tutorials. I am a photographer / videographer who is planning on building a combination camera slider, pan & tilt mechanism with remote focusing system. Your awesome tutorials and detailed explanations help me feel confident buying and building with microcontrollers for my needs. I subscribed to this channel and also signed up for your newsletter. I am so happy that I stumbled upon your channel! (I've watched at least a dozen of your videos so far, and this wireless peer communication is exactly what I needed to set up my remote camera operations platform!!!)
One of my fav channels to watch. Even if some of the videos are basic knowledge to me, it's refreshing to listen to and have playing in the background. A great presenter, great topics and excellent delivery. Thank you, kindly!
This method of communication makes so much sense for a small, low power radio. I was looking for the best way to remote control battery powered devices, and this might be it. Thank you!
Brilliant tutorial and elegant solution which saves the use of nRFxx or other transmitters which I use in similar meshed projects, at least within the shorter range coverage normally sufficient for home automation projects. Thank you.
Excellent tutorial - thank you. For some years I have been using Particle's ARM based microcontrollers where you get this kind of thing built in - i.e event generation and event receive (encrypted) all built into their bundled system and messages are handled via their secure infrastructure - but there's the rub. If they have a problem on their infrastructure or if your comms to the internet go down then the event messaging stops working. If (as in my case) the messages are between people sensors and lighting systems, then that can leave you fumbling around in the dark now and then! I really like Particle's events handling system, cos you can use it between any two points on the planet where you have net access, but I think for my local sensor/appliance messaging I shall seriously consider a gradual re-implementation using 8266 and ESP-Now. Many thanks!
I'm a begginer in everything but just copying and going through the code , I had learned many things like installing libraries, how baud rates work and com port assigning.
His videos are great but he's a professional programmer and uses alot of code that would stump a new person if they tried to change it. I'm surprised he's doesn't use constexpr everywhere haha
I just subscribed to your channel. I have been using ESP-NOW for a little over a year. It took me some struggles to get it working. I wish I would have seen your video back then when I started with my project. I want to say I really like your videos. I have retired and now have more time for my projects. I look forward to following more of your projects. Thank you for sharing with us all.
Excellent tutorials! I've wrote each program from this video. Ordering 3 ESP32-CAM Dev Kits with the built-in FDDI daughter board to test this code. I have an immediate application to remotely monitor the temp, %RH, and visual (cam) monitoring and 1 photo/day logging to a 4GB card app for my unconditioned space oil burner tank level indicator.
Thank you, it's really well done, the video but also the written support provided by following the link. Professional work as usual ! Just a small suggestion, it would be interesting to have an addendum dealing with the introduction of a deep sleeping mode of the ESP32/ESP8266 boards which provide the temperature and the humidity in order to save the batteries (for example sends measurements every minute). Otherwise congratulations.
Thank you for the clear and concise explanation of how this works. I was able to understand it all an the demo worked on the first try. The good thing is, I understand all of it so making my next project will be much easier! Now to dig into transmitting audio through ESPNOW. Audio data from the I2S mic that you also have up. It too worked on the first shot and your clear explanation helped me to understand fully what was going on. Thank you again.
Very nice lesson! What about time synch? When I saw the broadcast mode, I wondered whether one ESP32 (with a real-time clock) could broadcast the time on startup so that all devices around a house (or factory floor with more space between devices) will have the same time to synch activities. The startup routine would somehow measure round trip time or something else to set time accurately (within a millisecond?).
Thanks Bill for a great tutorial on ESP-NOW which elegantly solves a problem for me!! I'm planning on building a large model train layout with multiple modules. On each module, there will be multiple buildings/structures/traffic signals each with lights, sounds, and motions controlled by "little" microcontrollers like ATTiny85s. Plan was to have one "large" microcontroller for each module that would communicate with all the little ones on it via wired I2C. Was planning to also use a wired method to network the "large" module microcontrollers together but if I use ESP32s and ESP-NOW it's much easier!! All the best ...
Nice tutorial. I have always wondered what ESP-NOW is. ESP-NOW can save a lot of hardware and software work to let several CPU talk to each others. The number of applications that can be done with such an interface is endless!!. I still wonder if an ESP32 can connect to WiFi and communicate over ESP-NOW at the same time. Thank you again for sharing your work
yes it can but it is a bit more complicated - so you might have i.e. 5 sensors, that measure, send over ESPNow, go to sleep, then 1 device that receives them all, don't go to sleep and instead send all the received data i.e. to your web server or home assistant over wifi/your router
I've tried several combinations but since ESP-NOW is a separate network and service from the standard WiFi they can possibly not run concurrently. If any of the modules is connected to WiFi, the ESP-NOW service isn't working any longer, showing "Delivery Fail". I wanted to use the WiFi for OTA. Maybe Bill has an idea?
Thanks for this. In your last example, rather than sending an 'ident', could you key off of the MAC via a lookup table in the receiver? That way the code is the same for all sending ESPs... I.E. no need to modify an ident for each sending ESP32.
Interesting. I did the exact same project in Micropython, and had issues with reading the sensor (DHT11 on both) on cold boot. Warm boot had no issue. Then I tried it with Arduino IDE and it works perfectly on cold boot. Micropython is my preferred language, but I guess the load of the interpreter when booting up causes issues initializing the sensor. Even tried putting delays in and it didn't help. Almost like the bootup causes a hang on the sensor itself. Thanks for this video!
Can ESP-NOW and WifiManager be used togther to make the remote sensors report to a web page ? Maby an example of this usage. Thanks for the great lessons and examples.
I'm grateful for you making these videos. I'm pretty well-steeped in the IT side of things, with Linux servers, Docker containers, etc. These embedded systems are uncharted territory for me and what you're doing is making it more accessible. If you're looking for ideas for content, I think something that would really make this corner of DIY much more accessible would be to start intentionally curating a playlist of "Electronics 101: Start here!" and "ESP32/ESP8266: Start here!" to really break down a curated path for getting started, really understanding how it all works. Your workshop is impressive but also daunting. Another valuable series might be "Bootstrapping your workshop" for folks who are approaching this maybe more casually or as beginners in this field. It can be a little hard to know what steps 1, 2, and 3 are vs. feeding my ADHD and just bouncing all over the place without having the fundamentals down.
Dude, there are plenty of books (and probably websites) out there already! Let the guy do his thing. I know I wouldn't want to be responsible for teaching a self-proclaimed "ADHD" Idjut how to do electronics, how to solder, etc. Teach yourself, like so many of us did. It's really not that hard. Especially if you're just learning digital stuff, you won't need to spend hours futsing around with temperamental analog circuits trying to figure out why they don't work, only to eventually discover the gain on your op amp needs to be less.
What a great tutorial! Clean and understandable. Thanks for your efforts and look forward of seeing your later tutorials, sir! Just one request. It would be great if you could make another tutorial to show how to do connect and send/receive data between these devices and Python. Thanks in advance ))
This is a great video. I've been looking building my own garden irrigation system (pumping stored rainwater) / weather monitoring, and this seems to be an interesting way to link all the elements together. You've inspired me to actually place an order for multiple ESP32s and I'm looking forward to this project. Thank you for all your content!
Stuart Fisher, i'm looking at doing the same! If you have a GIThub repo, I'd love to review. I'm considering a pressure sensors inside the tanks to assess their levels, and then pump water between them to balance them out. Other priorities keep on getting in the way.
Hello, I'm thrilled once again, an understandable and clear video. I tried all the variants straight away and they worked straight away - simply great... I've been looking for a video like this for a long time - thank you very much and please make many more such perfect videos.
Sweet, I have 4 of these boards on their way to me ATM, couple of weeks. Doing a bunch Arduino and C/#/++ Pi and Python tutorials atm. Good video library BTW.
I'm a 70 years guy, have been Arduino fan. Now I want to use two ESP32-S3, First one 16 ch DI, second receiver of the 16 DO's, relayed to hydraulics. Can you make a (rude) scratch figure of this?? DroneBot is the best!!
I wish all my teachers were like you, I would've fooled everyone around me that I'm a genius 🤣 Thank you so much your tutorials are fantastic, clear and practical. Cheer Bill
This looks very nice. I wonder if there are any limitations when using WiFi in parallel. I'll have a look at the ESPHome integration and if I can use it for my purposes.
As always a wonderful explanation. I wonder if this would be a better solution for sending sensor data to a robots motor control board. My robotics team is using I2C now and can be a bit flaky. For example sending Pixy2 data to the motor control board for line flowing, bar code reading and object avoidance.
Thanks for the video, i m one of the great follower of this channel but honestly speaking most of these things are already covered well by many reputed channels like yours for long time now so i was expecting some advanced demonstrations of ESP now here like using Same ESP board as esp now receiver and transferring the same over internet using wifi or gsm for a real world application. It would be helpful if cover it in next video of ESP now.
I might never have known about this if UA-cam hadn't randomly recommended this video, but this is something I have lots of uses for, so I'm very glad you made the video and that I saw it.
Nice tutorial, although I think you should have presented your last point about multiple senders a little differently, those last modifications aren't really required at all but it was presented as something you HAVE to do to get that particular setup to work. Looking at the changes you made it seems to be an optional thing only so that you can tell which board sent the packet, I imagine it would work just fine even without that ident integer.
well explain. Thanks for shareing the knowledge but if we communicate in multiple ble devices, then overlapping may occured so how to avoid overlapping.
Thank for this! How accurate is the synchronization from multiple sensors? If not too accurate as is, is there a way to timestamp the data collection datetime on each sensor so the datastreams on the responder side can be synchronized vs. skewed due to transmission delay?
Thank you very much, your videos are quick yet comprehensive guide to getting started on any new concept. Just one query , in case multiple nodes transmit simultaneously, would there be packet collisions ? If so how are they handled.
If you set Multicast option will connect ¨more¨ quickly, that happen with the normal esp32 and esp8266 with the example esp smart config, i had the same curve of learning with lilygo rp2040+esp32, was more usefull the issues on lilygo github that the readme. But the seller on description in aliexpress advice about the android app to connect to wifi.
Amazing. Have you ever considered doing a tutorial on true multi-tasking? For example running Infrared transmitter to IR receiver using a single Arduino or Raspberry Pico? Not interrupts, actual multiple threads. I'm sure you like a challenge.
Hello, first thank You very much for your workshops. They are soooo great!!! I want use ESP32-WRoom-32 for a couple of sensors (DHT22) and display on a central board (Receiver) with a 3.5" LCD Shield (LCD Display Module 480 x 320 for Arduino UNO & MEGA 2560 Board) to display the values. Which bard would you suggest. It should be not to expensive.
Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!
It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com.
Thanks!
Bill (The real one!)
Hi Bill, it's a shame being used and abused this way, and I note that Telegram is run by a Russian so you can't expect anything else, but if I see anything then I will let you know, all the best Bob in the UK
You just blew my mind. For 30 years I'd believed as I'd been told, that "MAC address" was short for "machine address", never noticing that it's clearly an acronym.
Bill,
A while back I started looking into ESP32's using your Introduction Video on the topic. Then I stared working on developing a 6-servo remote controller using 2 ESP32 Node MCU development boards that used the WiFi protocol but did not require any internet or even the wireless router. One board is a server which sends the readings from 6 potentiometers to the receiver board which then uses the 6 angles to control 6 servo motors. I used your ESP32 servo video to learn how to control servos with the ESP32. It works great! This project wet my appetite for remote control applications with ESP32. The video you just uploaded has expanded greatly what I can now do with the ESP32 in remote control applications.
Thank you so much for putting this video out and all of the quality content you produce. It is very much appreciated.
Jonathan
Your video is easy to reach everyone. I do not understand the complex English language. But I can easily understand your speech. Thank you very much for teaching us electronics.
In case you got an all 00 MAC address by using the sketch provided in the tutorail, just add 1 second delay after the line " WiFi.mode(WIFI_MODE_STA);", i.e. add "delay(1000);", that will solve the problem.
Thank you, WROOM32 worked with delay(1000) and Esp32 Nano worked with delay(2000).
Thanks you brother ❤❤❤❤
Thank you, I was getting always 00:00:00... as MAC Address and you solved it with the "delay(1000)"
Thanks a lot bro...
You have really saved a lot of my time. ❤
Even chat GPT didn't solve the problem.
Thank you ❤
I agree with the other people who said that your lessons are well structured. You are an inspiration. Because of you I have ordered an ESP32 to start my own journey. God bless from here in South Africa.
Thanks to the ESP NOW video and several others. I have completed my project which I call Batcher II. It is an extension of a project I made a couple of years ago which is now referred to as Batcher I. The purpose of the Batcher is to show a running total of the gallons I have pumped through my mixing station to mix batches of spray for my farm sprayer. The system uses a commercial flow meter that uses a Hall Effect sensor and a meter calibration number to convert the raw pulses to Gallons. The running total is shown on a 4 digit 7-segment display.
Batcher I used a Nano. The flowmeter is connected and programmed via an Interrupt Service routine. The ISR merely increments the raw count variable. The system displays the result of the raw count divided by the meter cal to display the gallons on the display. I have a black momentary button on top which is connected as a second ISR. Its purpose is to reset the raw count back to zero for a new batch. I also have a Yellow, a Green and a Red momentary button that can show the meter cal and change it if necessary. I use a "While" conditional so the meter cal can only be changed by a conscious effort to do so. Any change in the meter cal is written to EEPROM so it is retained for the future. Again an idea from Bills tutorials. Batcher I worked very well.
Over Winter, I noticed that Sparkfun has some very large 7 segment displays available. I also read about using ESP NOW to communicate between ESP 32's. I decided to try to create Batcher II using an ESP 32 in the same way as I did with the Nano but incorporate the idea of wirelessly transferring the running total to another ESP 32 which would display it on the Sparkfun large 7 segment display. The Sparkfun display would be sort of scoreboard that could be viewed from quite a distance. I got the individual sketches working and was able to meld them together. Initial testing seems favorable. I have some pictures which would make the whole project clearer but I don't see a way to attach them.
Always important things to learn from the drone-bot headquarters in toronto. Thank you BILL ! This is absolutely usefull.
Great explanation, thank you! for some users experiencing some troubles replicating these results, here are some aspects to consider, it all varies on your ESP32 boards and drivers, in my case I came across some issues: Here are my fixes:
**I am using an esp32 by Espressif driver.
*Issues flashing the board:
I had to adjust the Arduino IDE to an upload speed of 115200, you may find this option on your Tools menu.
*Issues during verification, e.g. invalid conversion from 'void ()(const uint8_t, const uint8_t*, int)... etc.
I had to downgrade my ESP32 by Espressif driver to version 2.0.12 as suggested on a post I found, haven't tried later models yet.
*Issues retrieving the MAC address.
add a delay before printing the address e.g.
delay(1000);
Serial.print("MAC Address: ");
Serial.println(WiFi.macAddress());
Good luck and happy hardware coding!
Thank you so much for your "ESP NOW - Peer to Peer ESP32 Communications" video as well as the code listings on your web site. It absolutely got me up and running with my old DHT11 and two new Adafruit ESP32 Feather boards. Just getting the MAC addresses was a huge help. You are my primary ESP32 source of help and examples. And your 4K picture quality makes it all clear to read.
Thank you so much for your videos! Not only are they very informative, you also create an atmosphere that makes it such a pleasure to learn. You truly are an amazing teacher!
I am so grateful for all of your excellent tutorials. I am a photographer / videographer who is planning on building a combination camera slider, pan & tilt mechanism with remote focusing system. Your awesome tutorials and detailed explanations help me feel confident buying and building with microcontrollers for my needs. I subscribed to this channel and also signed up for your newsletter. I am so happy that I stumbled upon your channel! (I've watched at least a dozen of your videos so far, and this wireless peer communication is exactly what I needed to set up my remote camera operations platform!!!)
One of my fav channels to watch. Even if some of the videos are basic knowledge to me, it's refreshing to listen to and have playing in the background. A great presenter, great topics and excellent delivery. Thank you, kindly!
I enjoy watching you very much my dear brother, I hope to see you healthy always, you have the love from the Syrian Arab Republic
I ordered three ESP32s just to try this out last week. Great timing, thanks Bill.
This method of communication makes so much sense for a small, low power radio. I was looking for the best way to remote control battery powered devices, and this might be it. Thank you!
Brilliant tutorial and elegant solution which saves the use of nRFxx or other transmitters which I use in similar meshed projects, at least within the shorter range coverage normally sufficient for home automation projects. Thank you.
Excellent tutorial - thank you. For some years I have been using Particle's ARM based microcontrollers where you get this kind of thing built in - i.e event generation and event receive (encrypted) all built into their bundled system and messages are handled via their secure infrastructure - but there's the rub. If they have a problem on their infrastructure or if your comms to the internet go down then the event messaging stops working. If (as in my case) the messages are between people sensors and lighting systems, then that can leave you fumbling around in the dark now and then!
I really like Particle's events handling system, cos you can use it between any two points on the planet where you have net access, but I think for my local sensor/appliance messaging I shall seriously consider a gradual re-implementation using 8266 and ESP-Now. Many thanks!
Your channel has been a great discovery for me, Sir! Congratulations! Your videos are excellent!
I'm a begginer in everything but just copying and going through the code , I had learned many things like installing libraries, how baud rates work and com port assigning.
Fantastic. Been yearning for this tutorial. My lucky day I guess. Thank you for your beautifully structured lessons.
His videos are great but he's a professional programmer and uses alot of code that would stump a new person if they tried to change it. I'm surprised he's doesn't use constexpr everywhere haha
I just subscribed to your channel. I have been using ESP-NOW for a little over a year. It took me some struggles to get it working. I wish I would have seen your video back then when I started with my project. I want to say I really like your videos. I have retired and now have more time for my projects. I look forward to following more of your projects. Thank you for sharing with us all.
Excellent tutorials! I've wrote each program from this video. Ordering 3 ESP32-CAM Dev Kits with the built-in FDDI daughter board to test this code. I have an immediate application to remotely monitor the temp, %RH, and visual (cam) monitoring and 1 photo/day logging to a 4GB card app for my unconditioned space oil burner tank level indicator.
Thank you, it's really well done, the video but also the written support provided by following the link. Professional work as usual !
Just a small suggestion, it would be interesting to have an addendum dealing with the introduction of a deep sleeping mode of the ESP32/ESP8266 boards which provide the temperature and the humidity in order to save the batteries (for example sends measurements every minute). Otherwise congratulations.
Thank you for the clear and concise explanation of how this works. I was able to understand it all an the demo worked on the first try.
The good thing is, I understand all of it so making my next project will be much easier!
Now to dig into transmitting audio through ESPNOW. Audio data from the I2S mic that you also have up. It too worked on the first shot and your clear explanation helped me to understand fully what was going on.
Thank you again.
Very nice lesson!
What about time synch? When I saw the broadcast mode, I wondered whether one ESP32 (with a real-time clock) could broadcast the time on startup so that all devices around a house (or factory floor with more space between devices) will have the same time to synch activities. The startup routine would somehow measure round trip time or something else to set time accurately (within a millisecond?).
Finally, a thorough, high quality intro to ESP-NOW. Thanks!
Thanks Bill for a great tutorial on ESP-NOW which elegantly solves a problem for me!! I'm planning on building a large model train layout with multiple modules. On each module, there will be multiple buildings/structures/traffic signals each with lights, sounds, and motions controlled by "little" microcontrollers like ATTiny85s. Plan was to have one "large" microcontroller for each module that would communicate with all the little ones on it via wired I2C. Was planning to also use a wired method to network the "large" module microcontrollers together but if I use ESP32s and ESP-NOW it's much easier!! All the best ...
What a great easy way to receive data from multiple devices. I could I then send data from my receiver to say mqtt protocol. Great series thanks.
your background wall with tools and instruments explains everything
Your presentation and teaching style is excellent. Thank you for the education.
Nice tutorial. I have always wondered what ESP-NOW is. ESP-NOW can save a lot of hardware and software work to let several CPU talk to each others. The number of applications that can be done with such an interface is endless!!. I still wonder if an ESP32 can connect to WiFi and communicate over ESP-NOW at the same time.
Thank you again for sharing your work
yes it can but it is a bit more complicated - so you might have i.e. 5 sensors, that measure, send over ESPNow, go to sleep, then 1 device that receives them all, don't go to sleep and instead send all the received data i.e. to your web server or home assistant over wifi/your router
@@zyghom I have tried but ESP32 seems not to connect to WiFi...? Maybe ESP-NOW controls the WiFi?
I've tried several combinations but since ESP-NOW is a separate network and service from the standard WiFi they can possibly not run concurrently. If any of the modules is connected to WiFi, the ESP-NOW service isn't working any longer, showing "Delivery Fail". I wanted to use the WiFi for OTA. Maybe Bill has an idea?
Thank you Bill, I'm really struggling to get my microcontrollers to communicate with each other, this should be a great help
Thanks for this. In your last example, rather than sending an 'ident', could you key off of the MAC via a lookup table in the receiver? That way the code is the same for all sending ESPs... I.E. no need to modify an ident for each sending ESP32.
Interesting. I did the exact same project in Micropython, and had issues with reading the sensor (DHT11 on both) on cold boot. Warm boot had no issue. Then I tried it with Arduino IDE and it works perfectly on cold boot. Micropython is my preferred language, but I guess the load of the interpreter when booting up causes issues initializing the sensor. Even tried putting delays in and it didn't help. Almost like the bootup causes a hang on the sensor itself. Thanks for this video!
I love that your Videos are such long, and you understand everything because you explain from a -z ! Thanks!
Best ESP-NOW tutorial that I have watched so far. Thanks for the detailed explanations.
Love it! I have been searching for a ESP32 tutorial for multiple remote (peer-to-peer) push buttons. Thank you so much!
Can ESP-NOW and WifiManager be used togther to make the remote sensors report to a web page ? Maby an example of this usage. Thanks for the great lessons and examples.
I'm grateful for you making these videos. I'm pretty well-steeped in the IT side of things, with Linux servers, Docker containers, etc. These embedded systems are uncharted territory for me and what you're doing is making it more accessible.
If you're looking for ideas for content, I think something that would really make this corner of DIY much more accessible would be to start intentionally curating a playlist of "Electronics 101: Start here!" and "ESP32/ESP8266: Start here!" to really break down a curated path for getting started, really understanding how it all works.
Your workshop is impressive but also daunting. Another valuable series might be "Bootstrapping your workshop" for folks who are approaching this maybe more casually or as beginners in this field.
It can be a little hard to know what steps 1, 2, and 3 are vs. feeding my ADHD and just bouncing all over the place without having the fundamentals down.
Dude, there are plenty of books (and probably websites) out there already! Let the guy do his thing.
I know I wouldn't want to be responsible for teaching a self-proclaimed "ADHD" Idjut how to do electronics, how to solder, etc.
Teach yourself, like so many of us did. It's really not that hard.
Especially if you're just learning digital stuff, you won't need to spend hours futsing around with temperamental analog circuits trying to figure out why they don't work, only to eventually discover the gain on your op amp needs to be less.
@@jeffro. throwing slurs at people for having different brains is a dick move.
What a great tutorial! Clean and understandable. Thanks for your efforts and look forward of seeing your later tutorials, sir! Just one request. It would be great if you could make another tutorial to show how to do connect and send/receive data between these devices and Python. Thanks in advance ))
Excellent demonstrations. Thank you so much for time and effort in sharing this information!
Awesome demonstration and explanation!
Buying more ESP32's!
Thank you for such exceptional work!
I changed something with channel maybe, but now it's working!!
That was a good one!
Would you do a video on Xbee Lora from Digikey? They have a 1W module with a range of 60 miles.
Great video as always, Bill, thank you so much for sharing... I think ESP-NOW has a lot of potential in so many applications...
This is a great video. I've been looking building my own garden irrigation system (pumping stored rainwater) / weather monitoring, and this seems to be an interesting way to link all the elements together. You've inspired me to actually place an order for multiple ESP32s and I'm looking forward to this project. Thank you for all your content!
Stuart Fisher, i'm looking at doing the same! If you have a GIThub repo, I'd love to review. I'm considering a pressure sensors inside the tanks to assess their levels, and then pump water between them to balance them out. Other priorities keep on getting in the way.
Thanks, Bill, for a very interesting video on ESP NOW, thanks Bob in the UK
Hello, I'm thrilled once again, an understandable and clear video. I tried all the variants straight away and they worked straight away - simply great... I've been looking for a video like this for a long time - thank you very much and please make many more such perfect videos.
Great tutorial Bill 👌 As usual, very informative and well structured 👏 I’ve learned so much from this video 👍
Sweet, I have 4 of these boards on their way to me ATM, couple of weeks. Doing a bunch Arduino and C/#/++ Pi and Python tutorials atm. Good video library BTW.
This is just EXCELLENT!
Thank you so much Bill for all of your great work.
Very timely, I was considering espnow in my next project, a wireless control panel for my watermaker. Thanks!
Awesome info, just what I needed. Thank you for making all microcontroller series tutorials.
You always do an outstanding job!
Thanks 😊
How about collecting sensors data from esps by one receiver and the this receiver to connect to my wifi to report these data to IoT via MQTT?
Dude , do you have an update on this?
@@chnoo1062I recommend using http instead of mqtt
Just what I was looking for, knew I would find it in the workshop. Any guides on sleeping the boards until they are required to send data?
Nice basic tutorial of Esp-now Bill.
excellent, i am building an outlet / breaker device checker with 5 initiators and 1 receiver to map plugs to breakers.
This is just what I was dreaming of. Thank you Bill. GREAT JOB!
Now you know dreams can come true.
I'm a 70 years guy, have been Arduino fan. Now I want to use two ESP32-S3, First one 16 ch DI, second receiver of the 16 DO's, relayed to hydraulics. Can you make a (rude) scratch figure of this?? DroneBot is the best!!
I wish all my teachers were like you, I would've fooled everyone around me that I'm a genius 🤣 Thank you so much your tutorials are fantastic, clear and practical. Cheer Bill
Great video ... thank you Bill. This is very interesting, definitely worth a closer look. Perhaps some human-robot or robot-robot communication next?
This looks very nice. I wonder if there are any limitations when using WiFi in parallel. I'll have a look at the ESPHome integration and if I can use it for my purposes.
Wonderful overview, I have played with esp now, but now I understand it!
Atomic14 Channel made a walkie-talkie using ESP-Now.
Packets are 250 bytes, but you can send one after the other, to form a stream.
Love your videos.
Thank you , I have been looking for this information for some time now. You style is very informative and at a understandable pace
As always a wonderful explanation. I wonder if this would be a better solution for sending sensor data to a robots motor control board. My robotics team is using I2C now and can be a bit flaky. For example sending Pixy2 data to the motor control board for line flowing, bar code reading and object avoidance.
Thank you, i'm new to ESP32 and this was very useful
very useful and great learning! hope to see in the near future a similar video about the ESP-MESH. Thanks Bill.
Thanks for the video, i m one of the great follower of this channel but honestly speaking most of these things are already covered well by many reputed channels like yours for long time now so i was expecting some advanced demonstrations of ESP now here like using Same ESP board as esp now receiver and transferring the same over internet using wifi or gsm for a real world application. It would be helpful if cover it in next video of ESP now.
Great Video !!! More, more, more ESP32 videos please. Also include LoRa WAN too.!!
Excellent demonstration as usual , many thanks !
Great detail. I heard about the routerless communications but never saw how it actually works. I suppose WiFi is not available simultaneously? Thanks
I might never have known about this if UA-cam hadn't randomly recommended this video, but this is something I have lots of uses for, so I'm very glad you made the video and that I saw it.
Excellent primer, I am looking for a shtf comm method if other comms go out. I wonder if wifi was actively jammed, this would be too? Thinking yes
This protocol sounds amazing!
I was wondering if you can use bluetooth or wifi at the same time as esp-now?
Thanks for the video 🙂
Nice tutorial, although I think you should have presented your last point about multiple senders a little differently, those last modifications aren't really required at all but it was presented as something you HAVE to do to get that particular setup to work. Looking at the changes you made it seems to be an optional thing only so that you can tell which board sent the packet, I imagine it would work just fine even without that ident integer.
Receiving data and not knowing what sent the data makes no sense.
This man is just awesome! Thank you for making this project!
Great tutorial! You got me back into electronics and microcontrollers.
well explain. Thanks for shareing the knowledge
but if we communicate in multiple ble devices, then overlapping may occured so how to avoid overlapping.
Thank for this! How accurate is the synchronization from multiple sensors? If not too accurate as is, is there a way to timestamp the data collection datetime on each sensor so the datastreams on the responder side can be synchronized vs. skewed due to transmission delay?
Another great video! going to view the website to get the code to play with!
Votre exposé est très intéressant. Merci beaucoup...
Thank you very much, your videos are quick yet comprehensive guide to getting started on any new concept. Just one query , in case multiple nodes transmit simultaneously, would there be packet collisions ? If so how are they handled.
These are great videos. Better than Jon Skeet.
@27:42 - super example of turning on/off the light from multiple places in the house, i.e. big room or stairs - 1 light, 5 switches ;-)
Thanks Bill! This is just what I need
Fantastic, have got a few of these modules knocking around and this is just what I was waiting for :)
Thank you!
Really interesting Bill, thanks.
Worries me that this and Wlan I the same area might interfere with each other.
Great, Bill, like always, thanx. But what do I have to change, if I use an ESP8266?
Very nice. Any idea on what to expect for typical battery life when powering a transmitter with a 18650 (with 2 sec temp info)?
If you set Multicast option will connect ¨more¨ quickly, that happen with the normal esp32 and esp8266 with the example esp smart config, i had the same curve of learning with lilygo rp2040+esp32, was more usefull the issues on lilygo github that the readme. But the seller on description in aliexpress advice about the android app to connect to wifi.
Amazing. Have you ever considered doing a tutorial on true multi-tasking? For example running Infrared transmitter to IR receiver using a single Arduino or Raspberry Pico? Not interrupts, actual multiple threads. I'm sure you like a challenge.
Thanks heaps. This is going to come in very very handy.
Any idea how ESP-NOW handles collisions??
Great video, really useful bit of kit, I can think of loads of ideas for this unit.Well done and thank you!!
Hello, first thank You very much for your workshops. They are soooo great!!!
I want use ESP32-WRoom-32 for a couple of sensors (DHT22) and display on a central board (Receiver) with a 3.5" LCD Shield (LCD Display Module 480 x 320 for Arduino UNO & MEGA 2560 Board) to
display the values. Which bard would you suggest. It should be not to expensive.
Just the area of interest I am looking at the moment, reading multiple sensor.
Great explanation, I will try it myself.
Another beautiful video plenty of useful info ! Great work ! 👍👍👍