This is absolutely FAB - I've had a nightmare trying to work all this out - When you are new to a board - the sutble differences between boards can be VERY Frustrating ... Thanks a Million
Life saver. Went through a bit of pain(2hrs) with the function definition differences for esp_now_register_recv_cb for ESP32 and ESP8266. Was doing the same dance with the printing the full error on notepad++ to work out what was required, when I thought I'd check you tube. Bingo great definition of what to do!
This is great info! I have a practical project where everything will be two way communication, but my controller will be an ESP32-S3 box, with a screen and some buttons plus my IO and each of the other devices are D1 MINI Pro boards with the external antenna because, for what they are, they must be inside a steel box. I did manage to get the ESP8266 example talking to the ESP32 example by figuring out that the examples used different channels *and* different SSIDs. Being able to just use the SAME example on both ends is golden!
been following you,.. incredibly detailed tutorial, that's what makes you different from others. They just feed us beginners with codes, but yours, surpasses them. AWESOME!
So glad it helps Karel! Sometimes I feel like I have to search around for 10 days before I land on something that helps me get things done in 10 minutes :) Best of luck!
What a great explanation on how to fix the code errors. I followed the entire process of your excellent explanation. I've become a lot wiser from this. I have not been able to see and explain on many different other sites what the causes of the errors in the code can be solved. Thank you very much for your great TH-cam video explanation.
I didn't thought about to maintain open a second session of the IDE for using the library "Peek" function, it was really useful. Sometimes i think about using a different IDE instead of the arduino's one (maybe Visual Studio Code would be perfect)
very helpful, just found this after trying to add an 8266 to a couple of esp32's i'm using as transceivers and came up with all kind of issues, this put me on the right track to solve the problems, much appreciated!
Elegant detective work! The right click "definition" hint will be very helpful - never knew it existed. I will be right clicking everything to see what other tools might be available. Thank you.
Another splendid video. Thanks for the crystal clear explanation, especially regarding how you broke down finding out what each error message meant. 👍👍👌
Thanks so much Joshua! It's great to hear this feedback, sometimes I worry I am getting too verbose. Those two sketches I used in the video had been working great with esp32s, but when I tried using it with a couple esp8266, I was getting all those errors. I was able to google and find examples of working ESP8266 ESP-now sketches, but I really found working through the errors line by line helped me get a better handle on those differences.
I'm curious , why is a high level programmer (you) watching a video on how to get an esp32 to talk to an esp 8266 , i would have thought you would have known how to do all this already!! as for us non-high level programmers its brilliant to have an in depth look at the differences and code
Very well laid out video and explanation of how to systematically deal with compiler errors. Do you have any videos specifically about using pointers in programming? Often a trap for new programmers.
Thanks Chainsaw! I definitely agree with you, pointers can wrack the brain at times (just last week I was reaching out to a friend trying to understand some errors I was encountering and it had to do with my mishandling pointers). We should have a couple lessons coming it in the next couple months about using pointers. Thanks again for the comment and recommendation.
I have different ESP boards that didn't have the examples that you mentioned. To get the code, I said that I had a SparkFun ESP and looked at the examples. At least there was an example of ESPNow in there, but not the code that you were showing. The code didn't even have the handy search for MAC address bits in it. Is there a repository of that original code that I can hoover up?
Firstly, thank you for this information. I know this video is couple years old, but is it possible to extend the range in any way so that the range can be increased for long distance remote control from miles away? Or even across the world? By chance do you know of any videos or any information of this that could help me? I’m new to this and would love to learn more!
Please make a video of Esp now sending data with timings. I've been searching such video but couldn't find one. Been one of your fan in this journey. Thank you for this video I learn a lot even thou I'm not a programer.
Thanks for the great video! My question: I want to control lights on one esp32 c3 with another esp32 c3 all with battery power over Bluetooth 5.0. Am I’m using the correct microcontroller?
Una duda que no consigo solventar.!!! Puede el esp8266 siendo esclavo enviar algún dato al maestro? Por ejemplo el valor de un sensor de temperatura?. Gracias de antemano. Algún ejemplo en el que me pueda basar?
is there an example of sending the other way? tried to modify the espnow -esp32 master for esp8266 but its more complicated than slave. and i am looking for esp8266(Master/TX) -> esp32(Slave/RX)
Eres un fenómeno !!!! Era tan fácil como cambiar unas líneas en el código. !!! Puede el maestro ser un esp8266 ? o solo sirve para los esp32 ser maestro?.. Gracias.
Thanks so much for this video,I was looking for the differences between esp32 and esp8266 in espnow for long time. do you have any idea about the broadcasting mode or combo mode
Thank so much for the video, would you be able to show us how to use the data that is sent to control Gpio pins in different ways. When I “mencpy” the data after it’s received I can’t seem to use it effectively. I’m a super beginner to coding so I might be missing something. Thanks
Hi Richard - great question - thanks for posting this!! I'll see what we can come up with. I've be building a project using ESP-Now, and I hope through this experience I'll be able to show off some more of the intricacies.
What is your arduino ide setup. I would like to know about that "peek" ability and how to set it up. I am currently using Arduino 1.8.13. Great video very clearly done. The recommendation on using ALL ESP32 or ALL ESP8266 is very good. Less work for me as I am just a hobbist and not a pro. Thanks.
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.
Hi, thanks for the video, do you know if it is possible to use an ESP8622 as a transmitter? I have been unsuccessful adapting the ESP32 transmitter code and i cannot find anything about it on the internet.
Awesome video, I've been getting a lot of out your videos trying to do some DIY projects. I'd love to see a videos on heltec's CubeCell AB0x boards for LoRaWAN applications on the IoT. There seems to be a ton of potential for sensor integration with smart home applications that utilize the IoT network instead of WiFi.
Thanks Frank! Our paid membership includes access to a private forum where we do our best to help answer member questions. We usually do our best when helping folks with questions about the lesson material, but will always try to point people in the right direction. I hope this answers your question - have a great holiday!
This is absolutely FAB - I've had a nightmare trying to work all this out - When you are new to a board - the sutble differences between boards can be VERY Frustrating ... Thanks a Million
Glad it was helpful! I ran into the same issues and spent quite some time working through it.
Life saver. Went through a bit of pain(2hrs) with the function definition differences for esp_now_register_recv_cb for ESP32 and ESP8266.
Was doing the same dance with the printing the full error on notepad++ to work out what was required, when I thought I'd check you tube.
Bingo great definition of what to do!
So glad it helped. Most of our material is born from hours/days of our won confusion on these subjects :)
Another great video! "A little gang of ESP boards that were causing trouble in my drawer." Cracked me up.
Thanks Jon! When those ESP01 boards first came out, I was buying them by the pound -> now I swear they are colonizing my office.
This is great info! I have a practical project where everything will be two way communication, but my controller will be an ESP32-S3 box, with a screen and some buttons plus my IO and each of the other devices are D1 MINI Pro boards with the external antenna because, for what they are, they must be inside a steel box. I did manage to get the ESP8266 example talking to the ESP32 example by figuring out that the examples used different channels *and* different SSIDs. Being able to just use the SAME example on both ends is golden!
Glad it helped! Sounds like a neat project.
been following you,.. incredibly detailed tutorial, that's what makes you different from others. They just feed us beginners with codes, but yours, surpasses them. AWESOME!
Thanks so much for the kind words!
Great work man . For amateur like me the only solution. I was searching for 3 weeks on the web. Appreciate your work. Great Thanks. Chay.👌😇
So glad it helps Karel!
Sometimes I feel like I have to search around for 10 days before I land on something that helps me get things done in 10 minutes :) Best of luck!
What a great explanation on how to fix the code errors.
I followed the entire process of your excellent explanation.
I've become a lot wiser from this.
I have not been able to see and explain on many different other sites what the causes of the errors in the code can be solved.
Thank you very much for your great TH-cam video explanation.
So glad to hear it helped - thanks for the kind note and for watching!
I didn't thought about to maintain open a second session of the IDE for using the library "Peek" function, it was really useful. Sometimes i think about using a different IDE instead of the arduino's one (maybe Visual Studio Code would be perfect)
For anything other than Arduino I usually use VSCode - but you can use VS Code with Arduino as well.
Thanks for the code-modification walkthrough, it i always nice to see behind the scenes on the libraries as well as the working of the C-language!
Thanks for watching and glad to here it helped!
very helpful, just found this after trying to add an 8266 to a couple of esp32's i'm using as transceivers and came up with all kind of issues, this put me on the right track to solve the problems, much appreciated!
So glad it helped - Best of luck and thanks for watching!
Elegant detective work! The right click "definition" hint will be very helpful - never knew it existed. I will be right clicking everything to see what other tools might be available. Thank you.
Glad it helped Jeff! Thanks so much for the note!
Another splendid video. Thanks for the crystal clear explanation, especially regarding how you broke down finding out what each error message meant. 👍👍👌
Thanks so much Joshua! It's great to hear this feedback, sometimes I worry I am getting too verbose.
Those two sketches I used in the video had been working great with esp32s, but when I tried using it with a couple esp8266, I was getting all those errors. I was able to google and find examples of working ESP8266 ESP-now sketches, but I really found working through the errors line by line helped me get a better handle on those differences.
I just spent 6 hours trying to sort this out. I wish i had seen this earlier. Thank you.
I hoped it helped some - thanks for the note Terry!
Wow!!
What a great idea of resolving the errors line by line. That's way more efficient than writing the code from scratch
I'm curious , why is a high level programmer (you) watching a video on how to get an esp32 to talk to an esp 8266 , i would have thought you would have known how to do all this already!!
as for us non-high level programmers its brilliant to have an in depth look at the differences and code
You answered the question I had been struggling with at 17:00 re: data type mismatch
thanks so much
Great - glad it helped!
Excellent explanation, love the peek function in the IDE, I will be using that a lot from now on. Thanks for sharing.
Thanks so much for watching Glen!
Like the lesson and the laid-back approach to getting the point across!
Thanks!
Thank you, you are very good as explaining things.
Thanks so much Steve!
Great explanation and exactly what I needed :D You saved my graduation project!
Yay! Have fun after graduation!
Very well laid out video and explanation of how to systematically deal with compiler errors. Do you have any videos specifically about using pointers in programming? Often a trap for new programmers.
Thanks Chainsaw! I definitely agree with you, pointers can wrack the brain at times (just last week I was reaching out to a friend trying to understand some errors I was encountering and it had to do with my mishandling pointers). We should have a couple lessons coming it in the next couple months about using pointers. Thanks again for the comment and recommendation.
I have different ESP boards that didn't have the examples that you mentioned. To get the code, I said that I had a SparkFun ESP and looked at the examples. At least there was an example of ESPNow in there, but not the code that you were showing. The code didn't even have the handy search for MAC address bits in it. Is there a repository of that original code that I can hoover up?
Here a link to our site where the code is: bit.ly/3qIn75a
Link also in description - best of luck on your project!
This is a really great tutorial! Thank you! Cheers Dave
Glad it was helpful!
Teşekkür ederim dostum. esp_now / espnow hatası için yeterli düzeyde açıklma yapmışsın. aydınlatıcı oldu.
Harika!
Firstly, thank you for this information. I know this video is couple years old, but is it possible to extend the range in any way so that the range can be increased for long distance remote control from miles away? Or even across the world? By chance do you know of any videos or any information of this that could help me? I’m new to this and would love to learn more!
Many thanks for sharing your knowledgment !
Thanks so much for watching!
Absolutely loved it. Crystal clear explanation!
I followed you to the end and I'm gunna try an ESP01s
Excellent presentation.
Well done, crazy good video
Thank you so much!!! Bets of luck getting your project to work well!
@@programmingelectronics Thank you!
Please make a video of Esp now sending data with timings. I've been searching such video but couldn't find one.
Been one of your fan in this journey.
Thank you for this video I learn a lot even thou I'm not a programer.
Thanks for this idea! I'll see what we can do!
Great video as always
Good pace in the video
Thanks for sharing your experiences with all of us :-)
Thanks so much for watching Asger!
I am planning out something for RC and it's interesting to dive into.
Weldone video, code explained good for us beginners. 👍good job & thanks for sharing 💕
Thanks Jimmy!
Great video. Thank you.
Thanks for watching!
Thanks for the great video! My question: I want to control lights on one esp32 c3 with another esp32 c3 all with battery power over Bluetooth 5.0. Am I’m using the correct microcontroller?
Esto es increible, gracias !!!
¡Gracias por la nota!
That was really interesting! Thank you. I learned a lot.
Thanks so much for watching!
Una duda que no consigo solventar.!!! Puede el esp8266 siendo esclavo enviar algún dato al maestro? Por ejemplo el valor de un sensor de temperatura?. Gracias de antemano. Algún ejemplo en el que me pueda basar?
Thanks for such a nice video. There is no code present on your website for this project. please make it available.
Sorry about that! Should be there now.
Awesome and Superb.
Thanks!
is there an example of sending the other way? tried to modify the espnow -esp32 master for esp8266 but its more complicated than slave. and i am looking for esp8266(Master/TX) -> esp32(Slave/RX)
Eres un fenómeno !!!! Era tan fácil como cambiar unas líneas en el código. !!!
Puede el maestro ser un esp8266 ? o solo sirve para los esp32 ser maestro?.. Gracias.
Creo que el esp8266 también puede ser el maestro.
Thanks so much for this video,I was looking for the differences between esp32 and esp8266 in espnow for long time. do you have any idea about the broadcasting mode or combo mode
VERY NICE , YOU ARE THE BEST
Thank you so much 😀
very helpful thank you. a brilliant video :)
Great! Thanks a ton for watching!
Thank so much for the video, would you be able to show us how to use the data that is sent to control Gpio pins in different ways. When I “mencpy” the data after it’s received I can’t seem to use it effectively. I’m a super beginner to coding so I might be missing something. Thanks
Hi Richard - great question - thanks for posting this!! I'll see what we can come up with. I've be building a project using ESP-Now, and I hope through this experience I'll be able to show off some more of the intricacies.
@@programmingelectronics Thanks so much, that would be awesome.
great job
Thank you!!
What is your arduino ide setup. I would like to know about that "peek" ability and how to set it up. I am currently using Arduino 1.8.13.
Great video very clearly done. The recommendation on using ALL ESP32 or ALL ESP8266 is very good. Less work for me as I am just a hobbist and not a pro.
Thanks.
Really helpful Thanks
Glad it helped Dominic!
I'm liking this.
ESP-Now is a ton of fun!
Thanks, this helped me ....
Glad it helped
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.
Hi, thanks for the video, do you know if it is possible to use an ESP8622 as a transmitter?
I have been unsuccessful adapting the ESP32 transmitter code and i cannot find anything about it on the internet.
Sure, no issue.
Awesome video, I've been getting a lot of out your videos trying to do some DIY projects. I'd love to see a videos on heltec's CubeCell AB0x boards for LoRaWAN applications on the IoT. There seems to be a ton of potential for sensor integration with smart home applications that utilize the IoT network instead of WiFi.
Thanks a ton for this recommendation!
hi Guys
i have an esp cam can i use it instead of esp32 ?
or i have node mcu v3 & esp01 if i can use
Yes - I think the ESPCAM should work ok.
Thank you, you really help me!
Great! Thanks so much for watching!
Will this code modification work with the esp8285?
do you know of a way (or if it is possible) to use an esp32 to transmit a web radio station to a Bluetooth speaker ?
Great question! I'm not sure...but yes, I think it is possible. I have seen some internet radio player projects out there. Pretty cool stuff!!
I went through the video but I get a delivery fail. Anyone getting this. I am sending data from ESP32 to Wemo 1 mini ESP8266
me too. any solution? I did one way ESP32-ESP32 data transmission
It doesn't work when you try from esp8266 to esp32 s3 . If s3 is connected to wifi ap
is it possible to use with esphome?
There is no code on your web site to indicate a download. Please correct
Thanks for pointing this out. Should be there now!
Does espnow work with micro Python?
Not sure, but I would imagine it does.
❤❤❤
Thanks Atta!
love your content, if I purchase your "paid lessons" I know I'll have questions... does someone answer those?
Thanks Frank! Our paid membership includes access to a private forum where we do our best to help answer member questions. We usually do our best when helping folks with questions about the lesson material, but will always try to point people in the right direction.
I hope this answers your question - have a great holiday!
👍👍👍👍
Thanks!
проще было написать код самому с нуля
Lovely. Helped a lot!
Glad it helped!
How to contact you