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
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.
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
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.
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.
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!!!)
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!
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!
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!
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.
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.
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!
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!
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.
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?
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?).
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 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.
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.
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.
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 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.
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.
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.
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 ...
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.
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
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 ))
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!
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!!
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.
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.
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.
Great videos! I have a Dumb question though: in many of the examples you are hard coding the MAC address, but why? There is a generic broadcast (into the ether) and send the MAC address, the receiver will then have the senders MAC address and can reply with its own MAC address. In this case, there is no reason to have an ID 39:00 if you have a MAC address, or you can use a GUID (if it is supported).
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?
I might never have known about this if RUclips 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.
Having problem with the 2nd sketch on the receiver. Initialiser argument 1 on the esp_now_register bit copied from the website and still does not work. Has the library been updated?
I want to know more about this In particular. Im trying to build this with a screen and a menu to select 4 other leds to turn on and off but I can’t get the light to turn on after adding the menu system. Where can I get more info about the broadcast function or is that not possible with broadcasting?
well explain. Thanks for shareing the knowledge but if we communicate in multiple ble devices, then overlapping may occured so how to avoid overlapping.
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.
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.
Hi Bill, great video, thank you! Question: The two-way communication (broadcast /multicast mode example), cites a toggle switch function. What are the changes I need to make a "momentary switch" instead of a toggle? I tried changing digitalWrite(led1off), but it kept cycling. Any help will be appreciated!
Great lesson, Thanks. To make a weather station with a remote sensor using two ESP32's, is it possible to host a web server on the same ESP32 that is receiving data from the other ESP32?
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.
Very good. Need to keep this for future reference. Can the responder log to an SD and serve up historical on a web page also, or will that require more hardware?
@@BlondieHappyGuy I wonder if you can do ESP Now at the same time as wifi webserver and active control of a couple relays. Would be nice to go directly to source if needed. Many commercial devices use telnet for this purpose. I haven't seen telnet used on ESP yet either. Happy New Year
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
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.
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
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.
Always important things to learn from the drone-bot headquarters in toronto. Thank you BILL ! This is absolutely usefull.
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.
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!!!)
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!
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!
Your channel has been a great discovery for me, Sir! Congratulations! Your videos are excellent!
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!
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 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.
Finally, a thorough, high quality intro to ESP-NOW. Thanks!
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.
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!
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!
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.
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?
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?).
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.
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.
Love it! I have been searching for a ESP32 tutorial for multiple remote (peer-to-peer) push buttons. Thank you so much!
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.
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.
Awesome demonstration and explanation!
Buying more ESP32's!
Thank you for such exceptional work!
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.
your background wall with tools and instruments explains everything
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.
Excellent demonstrations. Thank you so much for time and effort in sharing this information!
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.
Awesome info, just what I needed. Thank you for making all microcontroller series tutorials.
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.
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.
Great video as always, Bill, thank you so much for sharing... I think ESP-NOW has a lot of potential in so many applications...
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 ...
Thanks, Bill, for a very interesting video on ESP NOW, thanks Bob in the UK
You always do an outstanding job!
Thanks 😊
This is just EXCELLENT!
Thank you so much Bill for all of your great work.
This is just what I was dreaming of. Thank you Bill. GREAT JOB!
Now you know dreams can come true.
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.
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
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 ))
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.
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!
Great tutorial Bill 👌 As usual, very informative and well structured 👏 I’ve learned so much from this video 👍
Thank you Bill, I'm really struggling to get my microcontrollers to communicate with each other, this should be a great help
Nice basic tutorial of Esp-now Bill.
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.
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.
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
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!!
Thank you , I have been looking for this information for some time now. You style is very informative and at a understandable pace
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?
Thanks!
And thank you too Fred!
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.
I changed something with channel maybe, but now it's working!!
Excellent demonstration as usual , many thanks !
very useful and great learning! hope to see in the near future a similar video about the ESP-MESH. Thanks Bill.
Great Video !!! More, more, more ESP32 videos please. Also include LoRa WAN too.!!
Very timely, I was considering espnow in my next project, a wireless control panel for my watermaker. Thanks!
Fantastic, have got a few of these modules knocking around and this is just what I was waiting for :)
Thank you!
This man is just awesome! Thank you for making this project!
Wonderful overview, I have played with esp now, but now I understand 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.
Receiving data and not knowing what sent the data makes no sense.
Great tutorial! You got me back into electronics and microcontrollers.
@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 ;-)
Great video ... thank you Bill. This is very interesting, definitely worth a closer look. Perhaps some human-robot or robot-robot communication next?
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 Bill! This is just what I need
Thank you, i'm new to ESP32 and this was very useful
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.
Great detail. I heard about the routerless communications but never saw how it actually works. I suppose WiFi is not available simultaneously? Thanks
Great, Bill, like always, thanx. But what do I have to change, if I use an ESP8266?
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
Great videos! I have a Dumb question though: in many of the examples you are hard coding the MAC address, but why? There is a generic broadcast (into the ether) and send the MAC address, the receiver will then have the senders MAC address and can reply with its own MAC address. In this case, there is no reason to have an ID 39:00 if you have a MAC address, or you can use a GUID (if it is supported).
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!
Another beautiful video plenty of useful info ! Great work ! 👍👍👍
I might never have known about this if RUclips 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.
Having problem with the 2nd sketch on the receiver. Initialiser argument 1 on the esp_now_register bit copied from the website and still does not work. Has the library been updated?
You're a belssing, may you get tens of millions of followers.
Been waiting for this, brilliant
Hello, is it possible to set receiver also as a wifi client to be able to make http connections to save data?
I want to know more about this In particular. Im trying to build this with a screen and a menu to select 4 other leds to turn on and off but I can’t get the light to turn on after adding the menu system. Where can I get more info about the broadcast function or is that not possible with broadcasting?
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 you for the great quality and detailed videos!
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.
Can I ask more about the resistors used ? Not sure what I need to get for this project. Thanks
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.
Thank for introducing me to the topic.
Hi Bill, great video, thank you!
Question: The two-way communication (broadcast /multicast mode example), cites a toggle switch function. What are the changes I need to make a "momentary switch" instead of a toggle?
I tried changing digitalWrite(led1off), but it kept cycling. Any help will be appreciated!
Great lesson, Thanks. To make a weather station with a remote sensor using two ESP32's, is it possible to host a web server on the same ESP32 that is receiving data from the other ESP32?
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.
Very good. Need to keep this for future reference. Can the responder log to an SD and serve up historical on a web page also, or will that require more hardware?
@@BlondieHappyGuy I wonder if you can do ESP Now at the same time as wifi webserver and active control of a couple relays.
Would be nice to go directly to source if needed. Many commercial devices use telnet for this purpose. I haven't seen telnet used on ESP yet either. Happy New Year