Тёмный

ESP-NOW - Peer to Peer ESP32 Network 

DroneBot Workshop
Подписаться 607 тыс.
Просмотров 363 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 343   
@Dronebotworkshop
@Dronebotworkshop 8 месяцев назад
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!)
@MrBobWareham
@MrBobWareham 27 дней назад
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
@alanmusicman3385
@alanmusicman3385 2 года назад
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!
@raspberrypibuenosaires
@raspberrypibuenosaires Год назад
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.
@SY_ViralShorts360M
@SY_ViralShorts360M 2 года назад
well explain. Thanks for shareing the knowledge but if we communicate in multiple ble devices, then overlapping may occured so how to avoid overlapping.
@arnoldialessandro
@arnoldialessandro 2 года назад
Hello, is it possible to set receiver also as a wifi client to be able to make http connections to save data?
@JamesWattMusic
@JamesWattMusic 11 месяцев назад
show us how to send this data to a wifi page, that would be gold
@DennisMurphey
@DennisMurphey 11 месяцев назад
Can we do this on a ESP8266 Di Mini???
@anithasshenoy6662
@anithasshenoy6662 6 месяцев назад
Nice tutorial. However I am not able to install the espnow library. I download the zip file. Tried installing by add zip file . It didn't work. Then added the unzipped folder to the libraries folder. . Ide is now showing, the folder is containing invalid library in folder.... what could be done to install it properly?
@anithasshenoy6662
@anithasshenoy6662 6 месяцев назад
I created a folder in the libraries - espnow and copied all the header files. However espnow.h has esp_now.h as an include. This file is now included in the zip file from espressif. where can one find that file? any idea how to solve this issue ? I tried downloading esp8266-framework from mange libraries. However it shows incompatible . what could be reason for this to be so? (I am using windows 7 64bit).
@joachimmadlener9281
@joachimmadlener9281 2 года назад
👍Perfekt!!
@chizybanana
@chizybanana Год назад
Sorry if this is a bit of a dumb question, but where can i find the esp now library, I searched "Esp now" in the library manager but nothing came up, google led me to random github pages none of which seemed official. A link would be nice if anyone can help, thanks
@chizybanana
@chizybanana Год назад
Turns out it was a dumb question, no need to install it as its already included when you install esp32 as a board. I got an error when compiling cause i was set to a different board. Hopefully this comment helps someone who was as lost as i was
@captainnemo6873
@captainnemo6873 Месяц назад
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.
@tonntoh8829
@tonntoh8829 20 дней назад
Thank you, WROOM32 worked with delay(1000) and Esp32 Nano worked with delay(2000).
@BerndSchmitt-Martinique
@BerndSchmitt-Martinique 2 года назад
Always important things to learn from the drone-bot headquarters in toronto. Thank you BILL ! This is absolutely usefull.
@fritzfindeklee8629
@fritzfindeklee8629 2 года назад
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!
@The_Unobtainium
@The_Unobtainium 2 года назад
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?
@chnoo1062
@chnoo1062 5 месяцев назад
Dude , do you have an update on this?
@TudorChislaru
@TudorChislaru Месяц назад
​@@chnoo1062I recommend using http instead of mqtt
@sinjhguddu4974
@sinjhguddu4974 2 года назад
Fantastic. Been yearning for this tutorial. My lucky day I guess. Thank you for your beautifully structured lessons.
@jstro-hobbytech
@jstro-hobbytech Год назад
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
@michaelbishton9439
@michaelbishton9439 2 года назад
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?).
@usefulelectronics
@usefulelectronics 2 года назад
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
@zyghom
@zyghom 2 года назад
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
@hanshaerdtle4682
@hanshaerdtle4682 2 года назад
@@zyghom I have tried but ESP32 seems not to connect to WiFi...? Maybe ESP-NOW controls the WiFi?
@hanshaerdtle4682
@hanshaerdtle4682 2 года назад
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?
@Adrian-yz7oe
@Adrian-yz7oe 2 года назад
Your channel has been a great discovery for me, Sir! Congratulations! Your videos are excellent!
@jamesfalkofske6399
@jamesfalkofske6399 Год назад
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!!!)
@mikemonti968
@mikemonti968 2 года назад
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.
@JonathanDeWitt1988
@JonathanDeWitt1988 2 года назад
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
@MarioMoreno-w2w
@MarioMoreno-w2w Месяц назад
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!
@your_utube
@your_utube 2 года назад
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.
@michelfrance75
@michelfrance75 Год назад
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.
@ahmadaboshaker9549
@ahmadaboshaker9549 Год назад
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
@baldrickdaisy8982
@baldrickdaisy8982 2 года назад
Great tutorial Bill 👌 As usual, very informative and well structured 👏 I’ve learned so much from this video 👍
@hanshaerdtle4682
@hanshaerdtle4682 2 года назад
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.
@Abc-sl1nf
@Abc-sl1nf Год назад
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.
@walker68020
@walker68020 2 года назад
You always do an outstanding job! Thanks 😊
@Sikuq
@Sikuq Год назад
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.
@bipedalspecies2086
@bipedalspecies2086 2 года назад
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.
@nobodyeverybody8437
@nobodyeverybody8437 2 года назад
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 ))
@SaifulIslam-ql6eb
@SaifulIslam-ql6eb 2 года назад
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.
@bigpickles
@bigpickles 2 года назад
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!
@tedthisius4778
@tedthisius4778 4 месяца назад
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.
@LordPhobos6502
@LordPhobos6502 2 года назад
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 🙂
@todddrumheller6726
@todddrumheller6726 2 года назад
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.
@saajidthakur6027
@saajidthakur6027 2 года назад
Thanks for your guidance Sir. Kindly help. How can install library to Arduino IDE by json link or other source? I didn't found and explanation regarding this topic.
@rommudoh
@rommudoh Год назад
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.
@holgerkeller6902
@holgerkeller6902 2 года назад
Hi Bill, that's verry interesting and usefull. But I wonder, if it's possible to have both in parallel running, WIFI and ESP-Now. Did you try this allready and is it possible?
@capohd28
@capohd28 2 года назад
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!
@Barnaclebeard
@Barnaclebeard Год назад
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.
@davidmaloney4860
@davidmaloney4860 2 года назад
Very nice. Any idea on what to expect for typical battery life when powering a transmitter with a 18650 (with 2 sec temp info)?
@doylemaleche9937
@doylemaleche9937 2 года назад
Awesome demonstration and explanation! Buying more ESP32's! Thank you for such exceptional work!
@MitzpatrickFitzsimmons
@MitzpatrickFitzsimmons 2 года назад
This is just EXCELLENT! Thank you so much Bill for all of your great work.
@senorjp21
@senorjp21 2 года назад
Great detail. I heard about the routerless communications but never saw how it actually works. I suppose WiFi is not available simultaneously? Thanks
@YoutubeBorkedMyOldHandle_why
@YoutubeBorkedMyOldHandle_why 2 года назад
Great video ... thank you Bill. This is very interesting, definitely worth a closer look. Perhaps some human-robot or robot-robot communication next?
@axisdynamics3588
@axisdynamics3588 2 месяца назад
Thank you for this detailed tutorial but for some reason my MAC Address just shows 00 : 00 : 00 : 00 : 00 : 00. I've tested with 4 different brand new ESP32 boards, they upload successfully but all displaying 'zeros'.
@moses5407
@moses5407 2 года назад
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?
@mouseminer2978
@mouseminer2978 9 месяцев назад
Hi, I am getting this error while uploading. Please check ... Thanks! Compilation error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]
@beingpartofsomethingspecia5817
@beingpartofsomethingspecia5817 6 месяцев назад
Hello friends, I have a query, I want to make a network with multiple esp32. Basically, it would be like this: MASTER1---send data to slave1--> SLAVE1 (receive data from master1) (SLAVE1 becomes master and sends the information to slave2) SLAVE1---send data to slave2--> SLAVE2 (receive data from slave2) And so on... Is it possible to convert a slave into a master so that it sends the information to the next one? Greetings and thank you
@tomduncan3547
@tomduncan3547 2 года назад
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.
@Thangheo12233
@Thangheo12233 29 дней назад
can anyone use ESP-NOW answer my question please? How reliable is this ESP-NOW ? can i use this in critical mission such as smart fish farming where failure in reading can cause huge damage?
@patonaranjo9394
@patonaranjo9394 5 месяцев назад
hello IS IT POSSIBLE TO COMBINE ESP-NOW AND WIFI? I want to send data from a cell phone app inventor wifi to an esp32 and have this esp32 send via esp-now the same data that it receives via wifi to another esp32
@dienau6313
@dienau6313 Год назад
hello sir, I have a problem, I added this part in void setup(): // WiFiManager wm; // bool res; // res = wm.autoConnect("AutoConnectAP","password"); // password protected ap // if(!res) { // Serial.println("Failed to connect"); // } // else { // Serial.println("Connected"); // } into the "send" code and "receive"code , but when I run them, the output of "receive"code showed nothing, while the output of "send"code still show 2 values temp and humi. May you help me?
@carlarrowsmith
@carlarrowsmith 2 года назад
I ordered three ESP32s just to try this out last week. Great timing, thanks Bill.
@jamesmoon5632
@jamesmoon5632 2 месяца назад
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?
@twinprimeable
@twinprimeable Год назад
I have an idea I'd like to run by you that could change your approach to the temperature logging. I'd like to know your thoughts. Many versions of the ESP32 have a core temperature sensor. If you are doing a timer wakeup, lets say: every 3 min WAKE READ TEMP TRANSMIT TEMP DEEP SLEEP 180000ms Would the core temp remain very close to room temp during WAKE and READ? Surely 3 min would be more than enough for the core to dissipate any heat for transmit. Then you could slap a battery and esp32 anywhere and have a temp sensor super cheap and easy and I assume would have much longer battery life than using an I2C temp sensor like MCP9808
@hockey_now
@hockey_now 6 месяцев назад
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.
@HariBabuL
@HariBabuL 2 месяца назад
I am getting compile error Invalid conversion from void(*)(constant uinit8_t ********
@danman32
@danman32 2 года назад
For that last experiment, the receiver output having received 'nan' once from station 1. What was that about?
@elorrambasdo5233
@elorrambasdo5233 2 года назад
the data is sent as a float or a double, each have a value for when they are invalidly formated called NaN, which is Not a Number
@billkichman7770
@billkichman7770 4 месяца назад
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
@stuartfisher4210
@stuartfisher4210 2 года назад
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!
@pimanbob6051
@pimanbob6051 Год назад
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.
@compubyte2010
@compubyte2010 Год назад
Curious if this ESP-NOW can be configured to work with the PICO W .. it has a lot more memory .. and better speed than 8266 .. etc.. But As cheap as a Pico W is .. ( Just bought 11 of them $6 ea ) .. would like to be able to do this around my Property via solar and batteries etc.. with PICO w. ..
@ChaplainDaveSparks
@ChaplainDaveSparks 5 месяцев назад
How robust is *ESP NOW?* For example, can it detect packet collisions, such as when two units attempt to transmit at the same time (like regular WiFi does)?
@donnytrisandi8862
@donnytrisandi8862 Год назад
thank you for making the video, but I ran into a problem when I managed to make sure the recipient's MAC address was correct but the sender's serial monitor kept telling me that delivery failed. i can confirm the distance between ESP32 is very close. please help me, I'm dizzy.
@dejecj
@dejecj 3 месяца назад
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.
@michaelkennedy4842
@michaelkennedy4842 5 месяцев назад
I am waiting for admission to the forum. In the meantime.. when I load the sketch for receiver ( at the 17min mark ), I get a compilation error: C:\Users\mpken\AppData\Local\Temp\.arduinoIDE-unsaved2024327-3516-37se6q.stlop\sketch_apr27a\sketch_apr27a.ino: In function 'void setup()': C:\Users\mpken\AppData\Local\Temp\.arduinoIDE-unsaved2024327-3516-37se6q.stlop\sketch_apr27a\sketch_apr27a.ino:56:28: error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive] 56 | esp_now_register_recv_cb(OnDataRecv); | ^~~~~~~~~~ | | | void (*)(const uint8_t*, const uint8_t*, int) {aka void (*)(const unsigned char*, const unsigned char*, int)} In file included from C:\Users\mpken\AppData\Local\Temp\.arduinoIDE-unsaved2024327-3516-37se6q.stlop\sketch_apr27a\sketch_apr27a.ino:11: C:\Users\mpken\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-3662303f312/esp32c3/include/esp_wifi/include/esp_now.h:156:54: note: initializing argument 1 of 'esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t)' 156 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb); | ~~~~~~~~~~~~~~~~~~^~ Multiple libraries were found for "WiFi.h" Used: C:\Users\mpken\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-rc1\libraries\WiFi Not used: C:\Users\mpken\OneDrive\Documents\Arduino\libraries\WiFi exit status 1 Compilation error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive] PLEASE HELP. Controller is ESP C3 Dev Module Arduino 2.3.2
@fransvanenschot3286
@fransvanenschot3286 4 месяца назад
I have the same problem. Was working perfect, but after an update the problem appears. hopefully they come soon with a sulution.
@albob4225
@albob4225 28 дней назад
After board update to 3.0.0 you must change this function void OnDataRecv(const uint8_t * mac, const uint8_t *incomingData, int len) { memcpy(&myData, incomingData, sizeof(myData)); to this OnDataRecv(const esp_now_recv_info_t *info, const uint8_t *data, int len) { memcpy(&myData, data, sizeof(myData));
@lostmarble0318
@lostmarble0318 14 дней назад
Excellent demonstrations. Thank you so much for time and effort in sharing this information!
@aksaluja1
@aksaluja1 9 месяцев назад
Its very helpful Tutorial! I tried sending packets wit fake mac address, it failed. But when i tried sending packet using Broadcast address, delivery is successful. How the device knows broadcast is successful, while fake mac device delivery unsuccessful. I have only one device which was sending packets and I wanted to receive back packets on same device. I tried receiver's mac address same as senders address also, but failed.
@stepstan6981
@stepstan6981 10 месяцев назад
Great, Bill, like always, thanx. But what do I have to change, if I use an ESP8266?
@khatharrmalkavian3306
@khatharrmalkavian3306 2 года назад
Is this just a software protocol, or do I need to buy new boards with that logo on them?
@jeffro.
@jeffro. 2 года назад
You should listen: in the beginning, he said you can use any manufacturer's boards. So, it doesn't matter what logo is on them. Yes, it's a software protocol. Every ESP32 has the same capabilities, they're not making "new versions" that just now have BT and WIFI capability! They've ALWAYS had that!
@khatharrmalkavian3306
@khatharrmalkavian3306 2 года назад
@@jeffro. No, YOU listen. That's not a manufacturer's logo, it's a feature logo for ESP-NOW. Manufacturers aren't features, and he never said anything about the protocol running on the wifi hardware. In point of fact, the only mention of wifi was that a wifi connection was not required, which suggests that the wifi hardware may or may not be responsible for carrying the protocol. If you're just going to be a condescending jerk for no reason, then keep it to yourself.
@TheUnofficialMaker
@TheUnofficialMaker 4 месяца назад
excellent, i am building an outlet / breaker device checker with 5 initiators and 1 receiver to map plugs to breakers.
@the1spyderryder
@the1spyderryder Год назад
How many other devices can the ESP32 BE CONNECTED TO at the same time?
@Steve-xb7dn
@Steve-xb7dn 6 месяцев назад
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?
@EnergeticWaves
@EnergeticWaves 2 года назад
I get 3065 error ESP-NOW not Init. trying to go from 32 to 8266. no luck.
@TerraMagnus
@TerraMagnus 2 года назад
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.
@jeffro.
@jeffro. 2 года назад
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.
@TerraMagnus
@TerraMagnus 2 года назад
@@jeffro. throwing slurs at people for having different brains is a dick move.
@gorillaau
@gorillaau Год назад
How could I gateway the ESPNow network to a MQTT which is running on an SBC?
@coolergappney1943
@coolergappney1943 11 месяцев назад
Could i hook up a joystick to one esp32 and a servo or something to another esp32 and run wirelessly or is there a simpler way of doing something like that
@marinehm
@marinehm Год назад
I would like to see more on BLE MESH and BLE input from IOS (Apple) phone.
@hekk_tech5975
@hekk_tech5975 Год назад
Can I use Raspberry Pi Pico W with ESPNOW? Will it work?
@shashikantabiswal7911
@shashikantabiswal7911 2 года назад
How multiple Temperature received the receiver and show TFT display???
@dilangunawardhana
@dilangunawardhana 11 месяцев назад
Can you please explain how to connect ESP32 to home wifi connection while using ESP now two way communication
@TJenga
@TJenga Год назад
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?
@Videogame9559
@Videogame9559 6 месяцев назад
😅Hi I am trying use joystick on one esp32 wroom as trasmiter and one as reciver on a car it's not working I download the code and add mac address ?
@medienmond
@medienmond Год назад
Is it possible to create a gateway between ESP now and WLAN/mqtt?
@donaldkormos5529
@donaldkormos5529 2 года назад
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 ...
@ronalexander758
@ronalexander758 2 года назад
Can one of the ESP's be set up as a WiFi server as well?
@collinbetten5631
@collinbetten5631 2 года назад
Oh yeah, just use a little code from the esp32cam video he made
@danman32
@danman32 2 года назад
I think Ron meant can a module run ESP32 Now at the same time as a traditional WiFi STA. That is an excellent question, and was thinking that myself. I suspect not.
@aaronalquiza9680
@aaronalquiza9680 2 года назад
i tried but espnow and wifi don't normally run together. you can try making that device a WiFi.mode(WIFI_STA)
@ronalexander758
@ronalexander758 2 года назад
@@danman32 Actually can, see my reply to myself
@ronalexander758
@ronalexander758 2 года назад
@@aaronalquiza9680 See my reply to myself
@keneflucas937
@keneflucas937 4 месяца назад
Does ESPNOW work with Micropython?
@collinbetten5631
@collinbetten5631 2 года назад
Thanks Bill! This is just what I need
@tubeDude48
@tubeDude48 2 года назад
Bill, At 22:50, you did not explain line 27
@s.h7124
@s.h7124 2 года назад
I’m wondering if any dislike for this video as you always know some how always people dislike what they see.
@EnergeticWaves
@EnergeticWaves 2 года назад
I get Last Packet Send Status: Delivery Success 07:12:07.552 -> Sending confirmed but the esp8266 does nothing.
@Cordic45
@Cordic45 2 года назад
What is the biggest difference betwence esp-mesh & esp-now? Is it Esp-now not a network
@cameronbarclay5407
@cameronbarclay5407 Год назад
Does this work with the new Seeed XIAO ESP32S3 board?
@cccloud3256
@cccloud3256 2 года назад
Is there anyway to change MAC address with ESP32?
@daryl7237
@daryl7237 Месяц назад
Hi i try to use the receiver code you shared after compile it show this message and i don't know where and what went wrong can you please help me? invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]
@zenon5940
@zenon5940 2 года назад
This is just what I was dreaming of. Thank you Bill. GREAT JOB!
@chesshooligan1282
@chesshooligan1282 Год назад
Now you know dreams can come true.
@amiyosadhukhan18
@amiyosadhukhan18 8 месяцев назад
Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno" C:\Users\Amiyo\Documents\Gestur control car\ESP32 Gesture Control Car Receiver-20231228T054310Z-001\ESP32 Gesture Control Car Receiver\Get_MAC_Address\Get_MAC_Address.ino: In function 'void setup()': Get_MAC_Address:19:8: error: 'class WiFiClass' has no member named 'mode' WiFi.mode(WIFI_MODE_STA); ^~~~ Get_MAC_Address:19:13: error: 'WIFI_MODE_STA' was not declared in this scope WiFi.mode(WIFI_MODE_STA); ^~~~~~~~~~~~~ C:\Users\Amiyo\Documents\Gestur control car\ESP32 Gesture Control Car Receiver-20231228T054310Z-001\ESP32 Gesture Control Car Receiver\Get_MAC_Address\Get_MAC_Address.ino:19:13: note: suggested alternative: 'AUTH_MODE_WPA' WiFi.mode(WIFI_MODE_STA); ^~~~~~~~~~~~~ AUTH_MODE_WPA Get_MAC_Address:23:34: error: no matching function for call to 'WiFiClass::macAddress()' Serial.println(WiFi.macAddress()); ^ In file included from C:\Users\Amiyo\Documents\Gestur control car\ESP32 Gesture Control Car Receiver-20231228T054310Z-001\ESP32 Gesture Control Car Receiver\Get_MAC_Address\Get_MAC_Address.ino:11:0: C:\Program Files (x86)\Arduino\libraries\WiFi\src/WiFi.h:137:14: note: candidate: uint8_t* WiFiClass::macAddress(uint8_t*) uint8_t* macAddress(uint8_t* mac); ^~~~~~~~~~ C:\Program Files (x86)\Arduino\libraries\WiFi\src/WiFi.h:137:14: note: candidate expects 1 argument, 0 provided Multiple libraries were found for "WiFi.h" Used: C:\Program Files (x86)\Arduino\libraries\WiFi Not used: C:\Users\Amiyo\Documents\Arduino\libraries\WiFiNINA exit status 1 'class WiFiClass' has no member named 'mode' This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. What should I do for this error?
@emran.e
@emran.e 11 месяцев назад
please make a vidio wifi audio receiver & transmitter for 5.1 sarrainodu sound
Далее
Build an ESP32-CAM Robot Car
46:04
Просмотров 229 тыс.
Forget WiFi! This Wireless Method is WAY Better?
12:14
Просмотров 610 тыс.
Qalpoq - Amakivachcha (hajviy ko'rsatuv)
41:44
Просмотров 360 тыс.
This isn't a normal mini PC... and I love it.
14:17
Просмотров 306 тыс.
ESPNOW for beginners! #ESP32 #ESP8266
35:09
Просмотров 146 тыс.
Getting Started with ESP32 - Step-By-Step Tutorial
19:50
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
12 Mind-Blowing ESP32 Projects to try in 2024!
8:50
Просмотров 138 тыс.
ESPNOW mix with #ESP32 and #ESP8266
25:37
Просмотров 39 тыс.
Qalpoq - Amakivachcha (hajviy ko'rsatuv)
41:44
Просмотров 360 тыс.