Forget WiFi! This Wireless Method is WAY Better?

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ค. 2024
  • Elektor Offer: Enjoy 50% off an annual subscription to Elektor GOLD (print + digital) or Elektor GREEN (digital). This offer is available in English, German, French, and Dutch. Valid until May 31, 2024.
    www.elektormagazine.com/great...
    Special Offer for the LiPo Supercharger: Valid until May 31, 2024
    www.elektormagazine.com/great...
    Previous video: • This $0.70 Component S...
    ESP32 WiFi video: • How to add WiFi Contro...
    ESP32 Bluetooth video: • Hacking my Robot Vacuu...
    nRF24 videos: • Make your own very cru... • HACKED!: TV Remote bec...
    433MHz RF Module video: • Creating a Walkie-Talk...
    LoRa videos: • LoRa Module VS nRF24 V... • Transmitting an Alarm ... • Automating a Greenhous...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Instagram: / great.scott.lab
    TikTok: / greatscottlab
    Discord: / discord
    Support me for more videos: www.patreon.com/GreatScott?ty=h
    Wireless communication is awesome! Right? Only problem is that there are many different methods and techniques which all use different frequencies and sometimes require extra hardware. But if you do not want to spend extra money on hardware, then the ESP microcontroller boards offer WiFi and Bluetooth. Those only come with a "short" range though. So in this video I will test ESP-NOW which is a wireless communication method that can be used with the ESP boards. It gets rid of many disadvantages while not needing extra hardware. So let's see what it can do and ultimately push it to the limit by building a crude Walkie-Talkie. Let's get started!
    Websites shown/used in the video:
    www.elektormagazine.com/artic...
    www.espressif.com/en/solution...
    randomnerdtutorials.com/esp-n...
    Thanks to Elektor for sponsoring this video
    0:00 A New Wireless Communication Method?
    1:46 Intro
    2:53 The Problem with WiFi & BT
    4:22 Extra Hardware?
    4:33 ESP-NOW Theory
    5:10 First Test ESP-NOW
    6:20 Range Test ESP-NOW
    7:30 Comparison of all Wireless Methods
    7:59 Walkie-Talkie Build with ESP-NOW
    11:32 Verdict
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 531

  • @thenextproblem8001
    @thenextproblem8001 19 วันที่ผ่านมา +177

    For those who don't know,
    Any ESP can be switched to external antenna with small soldering skills
    You can use espnow or espnow long range.
    Espnow can be used simultaneously with wifi if you need a Gateway but not recommended

    • @yasirrakhurrafat1142
      @yasirrakhurrafat1142 19 วันที่ผ่านมา +5

      Woah!
      I was wanting to know if they can be used simultaneously.
      And if the range can be extended.
      😂
      Thanks mate.
      I'm not currently very techy, or anymore than a novice learner (programming).
      But I love this kinda shkit!

    • @JB-fh1bb
      @JB-fh1bb 19 วันที่ผ่านมา +15

      @@yasirrakhurrafat1142 “Simultaneously” is a bit of a misnomer but it does work. The underlying method is that both ESP-NOW and wifi share the radio the same way multiple cars can share a single lane.

    • @yasirrakhurrafat1142
      @yasirrakhurrafat1142 19 วันที่ผ่านมา +3

      @@JB-fh1bb would it mean that I'll lose the connectivity with the esp modules that are connected to the WiFi (router), when I use the esp-now?
      Or that the esp modules will extend the wifi range like a wifi extender to expand the base wifi (router) range to connect with the furthest esp device using the esp now connection?

    • @JB-fh1bb
      @JB-fh1bb 19 วันที่ผ่านมา +8

      @@yasirrakhurrafat1142 great question. It's sharing clock cycle to clock cycle so you will maintain connection, but you will see lower performance on each and possible collisions if there is a lot of data going through each protocol.

    • @JB-fh1bb
      @JB-fh1bb 19 วันที่ผ่านมา +3

      @@yasirrakhurrafat1142 As for the second part, they are separate protocols so ESP-NOW will not extend wifi

  • @CaseyConnor
    @CaseyConnor 19 วันที่ผ่านมา +89

    As others have said: the esp32 can function in AP wireless mode, so you can connect to it without a router involved. Additionally many (most? all?) can function in STA and AP mode simultaneously, so they can connect to a wifi net at the same time something is connecting to them. I do this and it works great.

    • @LuxBacelo
      @LuxBacelo 19 วันที่ผ่านมา

      Didn't tried espnow yet but I have been uysing the method you describe for my last project and sometimes depending on the environment it stops working. It's not a software problem as if the device are close (like 2 meters) it works perfectly but when the distance is larger the client device doesn't find the AP or it disconnect after a few minutes. I'll try espnow as it looks like the definitive solution for my problem.

    • @CaseyConnor
      @CaseyConnor 18 วันที่ผ่านมา

      @@LuxBacelo Are you using the built-in antenna or a module with an external antenna jack? I use one with an external antenna (DevKit-CVIE which uses WROVER-CVIE) and haven't had any issues, but I haven't really stress tested the AP range.

    • @LuxBacelo
      @LuxBacelo 18 วันที่ผ่านมา

      @@CaseyConnor Built-in, sadly I don't have space for an external one.

  • @CapnBry
    @CapnBry 19 วันที่ผ่านมา +32

    ESP-NOW really shines when it comes to low power designs, since it is connectionless. I converted a sensor over from wifi to espnow and it went from draining an 18650 in under a month to lasting over 6 months at which point I just ended the test. It should be noted that ESP-NOW does have a built in retry mechanism when used in unicast mode (which is when you tell it the destination MAC, i.e. not FF-FF-FF-FF-FF-FF). It will retry 11 total times at 11, 5, then 1Mbit, or even slower if "long range" is activated. This is important when you're going for a low latency connection like voice, that the total send time can be 0.1ms or 3-4ms for one packet!

  • @RohrAtom
    @RohrAtom 18 วันที่ผ่านมา +36

    Approx. 2 years ago, you was one of the TH-camrs that motivated me to start tinkering with electonics myself. Meanwhile I finished a few successful projects. For example, I have built my own telemetry system for my RC helicopters using ESP-NOW communication. I also built a „customer detector“ with 2x ESP8266, a sonic distance measuring module, a few LEDs and ESP-NOW communication. Great videos, GreatScott!

  • @pixieh.9302
    @pixieh.9302 18 วันที่ผ่านมา +11

    I'd like to give you a big thanks. Years ago I didn't even own a soldering iron. Thanks to your videos and inspiration-- I've tackled the basics all the way through to building my own ESC for an electric quad bike! Your videos are more than entertainment and/or tutorials-- they inspire and change peoples lives! Thank you Great Scott :). Thank you!

  • @nathanielakkermans
    @nathanielakkermans 19 วันที่ผ่านมา +56

    ESPnow is super cool, and there is also a long range mode. That in combination with the wifi on the lowest bitrate and some external antennes(but just simple 2dbi ones) i got 2,5km of bi directional communication. But i have to say it was mounted on a rc plane

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +12

      Thanks for the feedback. Sounds promising :-)

    • @Jefferson-ly5qe
      @Jefferson-ly5qe 16 วันที่ผ่านมา +2

      Wow that's serious range!

    • @Sohailkhan-zw1gl
      @Sohailkhan-zw1gl 13 วันที่ผ่านมา

      do u have github repos for your projects?

    • @nathanielakkermans
      @nathanielakkermans 13 วันที่ผ่านมา

      @@Sohailkhan-zw1gl i dont store my projects in git. But if you look for espnow long range mode then you find the examples. But external antennes do the trick. And remember a had one side on a plane in the air so these kind of range you dont get that in the ground

    • @outstanding1403
      @outstanding1403 13 วันที่ผ่านมา

      @@greatscottlab I would really like a long range test from you :)

  • @TD-er
    @TD-er 19 วันที่ผ่านมา +106

    ESP-NOW is nice to play with, but it does have some quirks you need to know or else you will loose a lot of time debugging it.
    For example, you better not use the full 250 byte payload length as this tends to work less reliable.
    Better stay below 200-ish bytes per packet.
    Also it seems like ESP-NOW does do some acknowledgements as the round-trip time increases when you extend the range. Like it does seem to lower the bandwidth and thus increase the possible range.
    You need to set the MAC address as peer for sending to some other node, but not for receiving. So you can make it more dynamically with some coding effort. The maximum number of peers you can set depends on whether or not you use encryption.
    And from experience, the broadcast feature tends to work even more unpredictable when adding more peers. So do not rely on broadcast packets.
    Also there is some really odd stuff going on with the ESP radios when using any channel other than channel 1. So best to stay on channel 1 unless you have a very good reason to use another channel (e.g. when STA is connected to some other AP to try and use as a gateway)
    You also need to set the channel when adding a peer, as the ESP-NOW code will remember the channel for a specific peer and if for some reason it assumed the peer was on another channel, you will see really poor performance as the radio needs to switch channels constantly.
    You need to have a stable power supply when using an ESP-NOW node via its AP interface as this is constantly on. This is the fastest and most reliable mode for nodes that can be always powered as you will less likely miss a packet.
    You can send packets via the STA interface, but only use this for nodes that really need to save the last bit of energy like some wake-up, fire and go to sleep again. In all other situations, use AP interface for ESP-NOW traffic. This also allows to properly set the channel.
    If you keep all of these in mind, then ESP-NOW can be a really fun protocol to experiment with and the distance can get surprisingly long between nodes.
    It also is quite fast as you mentioned. Like a few msec round-trip-time is to be expected when using the AP interface.

    • @Nono-hk3is
      @Nono-hk3is 19 วันที่ผ่านมา

      You need to publish this somewhere, like maybe in a GitHub gist

    • @bigtexuntex7825
      @bigtexuntex7825 19 วันที่ผ่านมา +3

      Reliability is linear to payload size. So 200 is good, but 25 is much better. It has to do with the rf environment, such as competing noise makers and the gap between /their/ packets you need to exploit for a successful transmission. I have seen devices that send tiny packets completely disrupt anything with larger packets.

    • @zyghom
      @zyghom 19 วันที่ผ่านมา +5

      "You need to set the MAC address as peer for sending to some other node,'" - that is NOT true. ESPnow supports broadcast to all who listens.
      "The maximum number of peers you can set depends on whether or not you use encryption." - true but partially. If you delete peer you can have unlimited of them.
      "Also there is some really odd stuff going on with the ESP radios when using any channel other than channel 1" - completely not true - my network works on all channels but 1.
      "You also need to set the channel when adding a peer," - not true - you can send on all channels one by one and hope someone will finally receive

    • @alysdexia
      @alysdexia 15 วันที่ผ่านมา

      not nice < niais < bravos := not-skilled but you are; can’t write adverb/adjective nor chain a nonprospective verb; fast → swift; will → shall; try _what?_ and use

    • @pllagunos
      @pllagunos 14 วันที่ผ่านมา

      Thanks for the suggestions. I have a network of 3 esp-now devices, where the 3 devices are gathering data and one of them pushes this data to a web server. For that what I do is set this ESP device to WIFI_AP_STA mode. The issue is that this will set this device in the same channel as the wifi network, so what I do with the other non-wifi ESP devices is to search the channel of the wifi ssid.
      This solution was sort of working for some months, but in the last weeks I've been getting disconnections way more often. Since I need reliability on my system, I am looking for solutions but can't think of much. Do you have an idea on how to approach this issue?

  • @muhammadahsan7841
    @muhammadahsan7841 19 วันที่ผ่านมา +7

    Almost 3 years ago i have created a complete system based on ESP Now as a part of my FYP. It includes ESP now gateway, multiple sensors and actuator nodes, complete custom backend and mobile app for controlling everything. I made some modification to esp now based systems to increase it reliability as esp now is based on udp. Also everything is dynamic thanks to the esp now gateway i have designed. ESP now is very great low power protocol only if we use it properly.

    • @rchilro
      @rchilro 19 วันที่ผ่านมา

      Hi Muhammadahsan, this would be great to share. Do you have a link to your project? I would be interested ffor Example. I need to change my sensors arround and espnow maybe the way. Thank you! And thanks @greatscott for this video!!

  • @g-whiz286
    @g-whiz286 13 วันที่ผ่านมา +3

    When I was in college (circa 1985), I built a one-way digital audio link (in this case using an LED and a photodiode) that employed a delta modulator (Analog Devices chip
    ?). The key benefit of the delta modulator is that the bit rate is low as data is only sent when the audio waveform is changing. I was quite impressed by the fidelity I achieved well below the Nyquist theorem.

    • @jimbotron70
      @jimbotron70 วันที่ผ่านมา

      Impressive for the era.

  • @Tony-rl2fr
    @Tony-rl2fr 19 วันที่ผ่านมา +25

    I love the WW1 sound of the esp transmission.

    • @fitybux4664
      @fitybux4664 13 วันที่ผ่านมา

      Video killed the radio star!

    • @sonkira
      @sonkira 2 วันที่ผ่านมา

      Fallout vibes

  • @sorinl8467
    @sorinl8467 19 วันที่ผ่านมา +16

    Good video. But your comparison may generate some confusion. 433Mhz it's a frequency but Lora it's a modulation protocol. 433Mzh have been used for quite long time before Lora but here in EU Lora transmissions use same frequency plus 868Mhz. Living in Germany you must know that this country have a strong Meshcom community. For those who don't know Meshcom it's a Meshstatic like project that use only 433Mhz frequency.

  • @kindablue1959
    @kindablue1959 19 วันที่ผ่านมา +2

    Very cool. There's so much happening in the microcontroller and wireless worlds these it's impossible to keep up, so I'm glad to see this. WiFi without a router - Thank You ESP!

  • @name_is_taha
    @name_is_taha 19 วันที่ผ่านมา +6

    I have found out that if you use the ESP-32 Dev Modules that has external antenna connector you can greatly improve the range.

  • @silverjohnson3163
    @silverjohnson3163 19 วันที่ผ่านมา +2

    I'd never heard of this protocol. Thanks!

  • @saitamatechno
    @saitamatechno 19 วันที่ผ่านมา +7

    best feature for espnow is "transfering data quickly" from my experience. And i did not know the lora module is in the low speed category as you showed in the video, thanks for it.
    Comments are very informative! Thank you all, maker community!

    • @dacomputernerd4096
      @dacomputernerd4096 18 วันที่ผ่านมา

      I recall looking into LoRa for one project. It's in the kilobits range, if I recall correctly. On the other hand, it seems the range is measured in miles.

    • @nikthefix8918
      @nikthefix8918 15 วันที่ผ่านมา

      @@dacomputernerd4096 LoRa latency is very high too - compared with esp-now.

  • @napiton
    @napiton 14 วันที่ผ่านมา +2

    Video of Zigbee network using a full set of ESP32 C6/H2 as a Coordinator,Router,End Device mode and as a HA bridge would be Super 👌

  • @hxtec32
    @hxtec32 19 วันที่ผ่านมา

    I made a little 150g combat robot using an ESP32-C3-MINI-1, and, can confirm, ESP-NOW is indeed awesome. I put the robot in my house, then walked outside, past my gate, and it still worked (probably 30m or so). Past that it stopped receiving signals though, probably because my transmitter ESP32 was very small and had a chip antenna which was probably low gain (not to mention the antenna had no ground clearance or anything. Thanks for your awesome videos GreatScott!

  • @reinux
    @reinux 15 วันที่ผ่านมา +1

    I put together a zigbee network for my old workplace. Super low power, totally open protocol with encryption and mesh networking by default, works with a ton of off-the-shelf stuff (like IKEA lights and buttons), no single point of failure except for setting up the initial connection.
    Industry routinely tries to kill it off beacuse it's really not that profitable and makes external data collection more difficult, but for users, it's really an ideal protocol.

  • @SeMoDrix
    @SeMoDrix 19 วันที่ผ่านมา +1

    I recently used ESP8266 with wifi for a project to switch alot of relais and with multiple esp‘s. Yes you need a gateway and a server but the communication was super fast and also secure with certificates.

  • @sean2k54
    @sean2k54 19 วันที่ผ่านมา +6

    THANK YOU! This video is exactly what I have been trying to research for my project. Alternatives to all the other wireless standards. I use ESPs from adafruit and never knew about ESP-Now. Your channel has informed me about soooo much! Thank you!

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +3

      Glad I could help :-)

  • @jamesphillips2285
    @jamesphillips2285 19 วันที่ผ่านมา +8

    You also need filtering to filter anything above the Nyquist frequency: otherwise you get aliasing.

    • @cpK054L
      @cpK054L 18 วันที่ผ่านมา +1

      He just needs to LPF at the highest frequency voice band, 16kHz RC should be enough.
      Nyquist is the ideal sa pling frequency, because beyond that rate starts causing follower issues. You can see this on MatLAB and in real-life

  • @codebeat4192
    @codebeat4192 19 วันที่ผ่านมา +7

    3:14 That isn't true, you can make a private network between modules without a router and when you do this with websockets it blazingly fast. Range can also be pretty good.

    • @bielespolet4388
      @bielespolet4388 19 วันที่ผ่านมา

      Hey do you have any link or info about this? I want to learn more about it. Thanks

  • @ShafaqIftikhar-pw9ld
    @ShafaqIftikhar-pw9ld 19 วันที่ผ่านมา +2

    Very lovely insight. Thank you for the upload!!!!!!❤

  • @familyplans3788
    @familyplans3788 19 วันที่ผ่านมา +5

    Great video (as always) I love ESP-NOW as i dont like having my stuff connected to the internet for obvious reasons and you are only scratching the surface of what ESP-NOW can do, looking forward to the projects you have lined up for it

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +2

      Thanks for the feedback :-)

  • @user-go1tn9yd5q
    @user-go1tn9yd5q 10 วันที่ผ่านมา +1

    and he did it again he connected the voice source without directly without any filters.

  • @phoperdox_sore
    @phoperdox_sore 19 วันที่ผ่านมา +8

    Just a side note that if you have multiple ESP32 boards communicating with each other via ESP-NOW especially for fast data transfer applications (like RC Car), there might be noticeable lags in the data transfer (but no data loss I think) until you leave only one ESP32 pair communicating. This is, from what I have experienced, due to too much activity in the ESP-NOW channel you set for each ESP32 pair.
    There are a few lines of code mentioned in the Espressif docs that allow you to change the channel, just like WiFi, but it was not obvious (at least for me) :(

    • @zyghom
      @zyghom 19 วันที่ผ่านมา

      setting channel is one command: esp_wifi_set_channel(channel, WIFI_SECOND_CHAN_NONE);

    • @nikthefix8918
      @nikthefix8918 15 วันที่ผ่านมา +1

      In Broadcast mode (one to many) there is no acknowledge even tho the ack callback function reports a successful transmission.
      For exclusive pairs - point to point - the ack reports successful reception so decent flow control is possible in this scenario.
      Of course, a manual broadcast with full acknowledgement can be achieved by iterating thru a list of peers sequentially. This should be fast enough to be practical.

  • @MCsCreations
    @MCsCreations 19 วันที่ผ่านมา +1

    Brilliant, dude! Fantastic project!!! 😃
    Stay safe there with your family! 🖖😊

  • @bethaltair812
    @bethaltair812 17 วันที่ผ่านมา +1

    Its astounding how capable esp32 is...theres so much just built in!
    Coming from arduino nano to esp32 is a lot of fun :)

  • @dentarinc7214
    @dentarinc7214 19 วันที่ผ่านมา +2

    I am DEFINITELY going to look into ESP-NOW as a (potential) replacement for RF24 modules. The RF24 modules are great so far, but could do with getting rid of the extra wiring.

  • @tysondeal4369
    @tysondeal4369 19 วันที่ผ่านมา +2

    Love your videos Great Scott! Thank you for creating. I’ve learned a lot from watching your channel.

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +1

      My pleasure! :-)

  • @dr_jaymz
    @dr_jaymz 18 วันที่ผ่านมา

    esp now works really well I use it a lot. Where it gets tricky is with wifi / bluetooth at the same time.

  • @mr.anonymous298
    @mr.anonymous298 18 วันที่ผ่านมา +1

    Thank you sir, this seems super interesting to me! 😊😊

  • @MrChanw11
    @MrChanw11 18 วันที่ผ่านมา +1

    ESPnow reminds me of the ELRS (ExpressLRS) protocol for hobby rc controllers. Very efficient, long range, and also 2.4ghz.

  • @eliasnassour366
    @eliasnassour366 19 วันที่ผ่านมา +1

    GreatScott you inspired me a lot, thank you!

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +1

      My pleasure! Thanks for watching :-)

  • @photocanonn
    @photocanonn 16 วันที่ผ่านมา

    thanks bro! awesome project

  • @KC-pf4tj
    @KC-pf4tj 15 วันที่ผ่านมา

    I didn’t know about espnow or espnow long range!
    Cool video…. Thanks so much!

  • @SirDella
    @SirDella 18 วันที่ผ่านมา +1

    3:00 WiFi is a bit slower but not that much, the response time is pretty much instantaneous, notice that the request isn't being sent as soon as you release the button (look at the reload wheel on the top right)

  • @marekjakimowicz
    @marekjakimowicz 13 วันที่ผ่านมา

    Thanks. It's something new for me, and it's interesting.

  • @luthodyiki5902
    @luthodyiki5902 19 วันที่ผ่านมา

    Thanks for the video.
    I’m currently working on a project that involves energy consumption from the chillers I just want my devices to sense whether I’m using generator/Grid, since the feed change over is 20m away from the chillers.
    Hopefully ESP32 Now gonna solve my problem

  • @CooLDEaFY4204Me
    @CooLDEaFY4204Me 19 วันที่ผ่านมา

    Great Scott, Thank for video.... 😊

  • @Rev22-21
    @Rev22-21 17 วันที่ผ่านมา

    I don't have a wifi range problem myself. I can transceive approximately one mile without a bridge. Granted it is a commercial building to building system but I see your point. 😅

  •  19 วันที่ผ่านมา +2

    Love the content, hate the soldering, that thing gave me nightmares...

  • @the_smart_home_maker
    @the_smart_home_maker 18 วันที่ผ่านมา

    Awesome, thank you 🙏

  • @cipanmandul
    @cipanmandul 4 วันที่ผ่านมา

    Im using ESP Now also for mesh ad-hoc network setup of my group of ESP32 devices.

  • @urgaynknowit
    @urgaynknowit 15 วันที่ผ่านมา

    I love your videos, they are soooo informative, easy to follow, and just overall great quality

  • @ElektorTV
    @ElektorTV 9 วันที่ผ่านมา

    Excellent Video! Thank you!

  • @vladimir0rus
    @vladimir0rus 14 วันที่ผ่านมา

    For the Bluetooth you also can use a Long range mode which increase distance significantly.

  • @GreenAppelPie
    @GreenAppelPie 19 วันที่ผ่านมา +1

    i was just recently thinking about how how 20 years ago about how cheap but capable micro controllers changed so much. Now everything needs to also be wireless and have an app. Sure, I think it's overused sometimes but its also useful as well

  • @PrajjalakChattopadhyay
    @PrajjalakChattopadhyay 18 วันที่ผ่านมา +1

    WiFi interference of ESP32 is a big problem. I faced it for the first time when I was designing a super stable and noise-free power supply for some specific project of our lab. The power supply output voltage was being controlled by the ESP. The WiFi interference was adding noise to the output voltage. Later we switched to STM32.

  • @TarzanCHG
    @TarzanCHG 19 วันที่ผ่านมา

    And one suggestion for next esp project is esp wireless surveillance camera with auto motion capture, sending the footage to it's IP address and maybe on google drive or local storage if it's possible somehow. You can use SD card module for storing footage but it's got a lot of limitations you know. And to power all of that, utilizing a solar cell would be fascinating idea. That could be a great project IMO. Hope you'd think about it. Thank you so much BTW for your hard work and teaching us so much that no one could. #Respect

  • @Homeuser3231
    @Homeuser3231 19 วันที่ผ่านมา +1

    Great video as usual. Can you consider making a followup with a version of ESP32 with external antenna connection ?

  • @davidkotval1183
    @davidkotval1183 3 วันที่ผ่านมา

    The slow response time problem for wifi is likely due to Nagle bandwidth shaping. You can get insanely rapid responses over a tcp connection if you disable Nagel (which you can do when you establish the tcp connection). Always something to try depending on how much of a delay you notice.

  • @McNificoTube
    @McNificoTube 19 วันที่ผ่านมา

    I've been wanting to use ESP-now from the start in one of my IoT projects, but haven't gotten around to it yet. While all my IoT boards come with GSM capabilities, WiFi is the more popular choice. However, when WiFi isn't available, using multiple IoT + GSM connections in one location gets expensive. So, I'm thinking of using one IoT device as an ESP-now internet gateway for the others. Time to put this idea to the test!

  • @Hal-Zuzzu_Model_Railway
    @Hal-Zuzzu_Model_Railway 14 วันที่ผ่านมา

    Thanks for this inspiring video :)

  • @stefanwelker956
    @stefanwelker956 16 วันที่ผ่านมา

    one of the best things about ESP Now is its really low latency. It does not guarantee delivery, like udp, but to send then receive a packet takes under 1 ms . I have measured this myself.

  • @ianhawkins4979
    @ianhawkins4979 19 วันที่ผ่านมา +1

    Großartig. 👏🏽

  • @chrismanson3859
    @chrismanson3859 19 วันที่ผ่านมา

    I would love to see total cost for a project go on that awesome comparison table you had there ❤

  • @dark4evermgk115
    @dark4evermgk115 19 วันที่ผ่านมา +1

    Really cool!

  • @fritzlb
    @fritzlb 19 วันที่ผ่านมา +3

    Did you try out the long range mode too? In my experience that makes a huge difference, the only downside is a smaller bandwidth

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +2

      Actually only tried out the standard mode since that was already good enough for me.

  • @blenderbuch
    @blenderbuch 18 วันที่ผ่านมา

    We covered esp now in the german make magazin in issue 3/22 😊

  • @moeburn
    @moeburn 19 วันที่ผ่านมา +6

    I've got a dozen ESP32's around the house as various temperature/weather/climate sensors. But they all connect to wifi and then talk to a Raspberry Pi server to upload their data.
    I guess if I wanted to use this, I'd need another ESP32 acting as a host/gateway? And all the other ESP32's would send their data to it over ESP-NOW, and then the gateway would upload to the Raspberry Pi.

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +1

      Sounds plausible like this. But not sure how easy to pull off.

    • @deslomeslager
      @deslomeslager 19 วันที่ผ่านมา

      @@greatscottlab I'd think of connecting an ESP to the RPI on data level. The RPI has sufficient pins for that. You could use 19k2 speed, how much data do you need to transfer? If more, then you could go over 100k bits/second. Main thing of ESP-NOW is fast connection speed.
      All said? No, the ESP is a development board. We use it as a end product already. So far my 2 cents.

    • @josratsma8438
      @josratsma8438 19 วันที่ผ่านมา +2

      I've done something like this. I connected the ESP to one of the usb ports of the Pi and then simply used the serial connection to communicate back and forth. The ESP simply acted as a relay between the Pi and all the other ESPs. The Pi had enough juice to also power the ESP through the usb port.

    • @moeburn
      @moeburn 19 วันที่ผ่านมา

      @@josratsma8438 Thats really cool, thanks for telling! Real confidence booster knowing someone else got it to work. I am debating the benefits though. It would require a lot of extra programming and some hardware, just to have a bit of extra range, which I don't need, less power consumption, which isnt an issue, and less wifi noise, which again isnt an issue. Instead I have my battery powered devices connect only once every few hours and upload the past few hours of data all in one burst, that way the wifi radio is only used for a few seconds every few hours anyway, so ESP-NOW wouldnt really make much of a difference for battery life there either.

  • @RaOne-gk3ok
    @RaOne-gk3ok 19 วันที่ผ่านมา

    Thinking of using it for every robotics controller now onwards

  • @connecticutaggie
    @connecticutaggie 19 วันที่ผ่านมา

    I agree ESPnow is a good protocol for ESP-ESP communications but, unfortunately, most of the projects I do, I use the RF connection for connection to a PC or phone for UI or data collection.

  • @Dewal4
    @Dewal4 19 วันที่ผ่านมา

    Try hc12 433. Eazy to use. Based on only 4 pins to module. Range to 1 km outside

  • @isaiahfreerksen334
    @isaiahfreerksen334 19 วันที่ผ่านมา

    Great video as usual. Have you ever measured the latency between the input and output of those different systems? I am curious if the ESP-now is better in terms of latency.

  • @johnhricko8212
    @johnhricko8212 19 วันที่ผ่านมา

    Sounds like it's better for control data than sending audio. Have you checked out MIDI over Bluetooth?

  • @NutSure
    @NutSure 18 วันที่ผ่านมา

    สุดยอด 🤩
    ขอบคุณ

  • @xricsi1097
    @xricsi1097 19 วันที่ผ่านมา

    I discovered ESP NOW a month ago. I was very excited about it, since I want to build a home automation system and this protocol looks ideal for the project. I saw a lot of videos about the range, it is much better than the standard wifi protocol. I built a little test circuit to check this range. Only two ESP32-s, one is switching the state of a bool twice in a second and transmitting the value, the other is receiving and write it to a little oled screen. I barely left my apartment, just closed the door and the signal was already lost. I thought, maybe the walls are too thick, so I put the transmitter to my balcony, and I went to the street in front of the house. Approx 12 meters only (4 story house), I saw the transmitter with my eyes, so no blocking at all, but I didn't get the value. Not impressed. However, it is pretty fast and responsible, so it will be the right choice to my project.

    • @tarakivu8861
      @tarakivu8861 19 วันที่ผ่านมา +1

      After all its still 2.4GHz, which is limited, specially with such low transmission power

    • @cesarpadilla8358
      @cesarpadilla8358 19 วันที่ผ่านมา

      you know, you should try it again but adding an external antenna for each

  • @PabloB740
    @PabloB740 19 วันที่ผ่านมา +2

    I can see your custom made designs do not have the esp32 in the corner so i thought you might not be aware of that using a properly placed footprint, following the espressif antenna placement recommendations for active esp32 modules (tldr: put the antena in a corner without pcb behind) will give you MUCH LONGER range.
    The devkits you are using as examples in this video have pcb (probably with ground) routed under the antenna and they have terrible wireless performance, you can easily get >15m for wifi out of a good design. You can also see the change in antenna placement in newer espressif devkits like the S3 ones, they all have the antenna outside the pcb. it can even work quite well from inside a closed metal enclosure.
    Thnx for the video, i didn't know about ESP-NOW, i will be using it from now on!

  • @maneeshs3876
    @maneeshs3876 19 วันที่ผ่านมา +1

    Nice video, mesh networking algorithm implementation could be tested for the same form factor and specs.

    • @ozi2277
      @ozi2277 19 วันที่ผ่านมา

      espNowFloodingMeshLiblary v2 from Leodesigner, for mesh network, i used this for my smarthome

  • @Cha0sNicr0
    @Cha0sNicr0 13 วันที่ผ่านมา

    Now ESPNow is obviously awesome for embedded devices. But with the problem description I immediately thought of ad-hoc-wifi/wifi-direct, which use the normal band and lack the gateway requirement of infrastructure mode. But I get that the point was to show off the new protocol.

  • @PeetHobby
    @PeetHobby 19 วันที่ผ่านมา +1

    The NRF24L01 works almost the same as ESP-NOW in BLE mode, which is what you used in this project. ESP32 BLE and NRF24L01 can communicate with each other. NRF24L01 was already in use before the BLE standard was certified in 2009, and products that used the BLE standard came much later. I still love the NRF24 series, it's cheap and easy to use.

    • @chadenfreude
      @chadenfreude 19 วันที่ผ่านมา

      In the video, he states he got a 110 meter range. Are you achieving that with an NRF24?

    • @murraymadness4674
      @murraymadness4674 19 วันที่ผ่านมา

      I'd really like to see examples of a esp32 talking to a nrf24l01 !! The esp wifi has a 20dbm power output compared to nrf24 1dbm, so if I can send via esp and recv via nrf24 that would work much better, the nrf can operate with almost zero power consumption.

    • @leocurious9919
      @leocurious9919 19 วันที่ผ่านมา

      All the NRF24L01 I ever bough were extremely unreliable and if I happen to get it to work, it had abysmal range (say 10 meters). Yes with all the tricks like extra 100 µF cap right across and direct solder connections bla bla bla. Complete trash. Got a whole bag of them, since I tough maybe I have counterfeit ones and bought more from different vendors.

    • @szundaj
      @szundaj 19 วันที่ผ่านมา

      @@leocurious9919 there are a lot of fakes out there, hope you didn't bought it from AliExpress

  • @PexiTheBuilder
    @PexiTheBuilder 19 วันที่ผ่านมา

    ESP-now is practical to expand IOs with wemos D1s.

  • @ThebusWay76
    @ThebusWay76 17 วันที่ผ่านมา

    Thanks for the video, I would like to know if this board could be used for a wireless controller or diy wireless sim racing wheel.

  • @ParodieHecker-mobile
    @ParodieHecker-mobile 19 วันที่ผ่านมา

    Hey, du kannst in der Shelly App übrigens auch einstellen, dass der Akteur ein Rollo ist - dann kannst du da auch hoch/runter und Prozentangaben machen.

  • @MoritzvonSchweinitz
    @MoritzvonSchweinitz 18 วันที่ผ่านมา

    I know there are many DIY guides and 3D printed projects - but I would really love to see a open source (or at least hackable and reflashable) ESP32 based walkie-talkie in a 'real' rugged case.

  • @nullvoidpointer
    @nullvoidpointer 19 วันที่ผ่านมา +2

    You really need to get a proper antenna on those 344 MHz modules, just a 21 cm length of wire will perform much better then that tiny coil. You can also get modules like the RFM69HCW line (6 € from mouser) which have a much better superheterodyne receiver.

    • @jamesphillips2285
      @jamesphillips2285 19 วันที่ผ่านมา

      I think the advantage of a coil is that you can put a 21cm wire in a smaller space.

    • @tarakivu8861
      @tarakivu8861 18 วันที่ผ่านมา

      @@jamesphillips2285 Thats not how antennas work

    • @jamesphillips2285
      @jamesphillips2285 18 วันที่ผ่านมา

      @@tarakivu8861 I assure you it is.
      If there are space constraints for long wavelength antennas: you start seeing coils and capacity hats to simulate the same antenna length in a smaller space.

    • @deterdamel7380
      @deterdamel7380 16 วันที่ผ่านมา

      He already makes use of a superheterodyne receiver in the video- he is not using the trash receiver MX-05V. But he used the 433MHz setup in a wrong way.

  • @daschacka
    @daschacka 19 วันที่ผ่านมา

    I think the only downside is that you need 2 devices then to communicate? for example my Esp32 wifi garage opener i can control with my phone and out of wifi also with port forwarding in my router

  • @devttyUSB0
    @devttyUSB0 19 วันที่ผ่านมา +4

    How does this differ from zigbee? I wish the zigbee protocol would be more accessible to the hobbyist user with a soldering iron. :)

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +7

      I will show off zigbee in a future video ;-) It is on my to do list.

  • @TarzanCHG
    @TarzanCHG 19 วันที่ผ่านมา +1

    I guess you know about it or at least have heard of it that you can use esp32 as a wifi repeater. That project would be great to test and push esp32 to it's limits

  • @stylesoftware
    @stylesoftware 18 วันที่ผ่านมา

    I use those cheap $2 rf modules, and I get upto 2km if in sight, did you check the power setting? Orientation should be upright, and the antenna maybe needs length tuning.

  • @jdabramson
    @jdabramson 19 วันที่ผ่านมา

    Great video

  • @billferner6741
    @billferner6741 17 วันที่ผ่านมา +3

    I am surprised that ELEKTOR is still alive. I started this magazine in the 70s and made many projects over a period of 15 years. Later, I purchased only the double issue in August.

    • @ElektorTV
      @ElektorTV 17 วันที่ผ่านมา +4

      Of course we are! :)

    • @fitybux4664
      @fitybux4664 13 วันที่ผ่านมา

      @@ElektorTV $20/mo for a magazine seems expensive!

  • @N1ghtR1der666
    @N1ghtR1der666 19 วันที่ผ่านมา +1

    I am interested to know the problems you have with LoRA seeing as its capable of around 27kbps that should be more than enough for basic audio communication and significantly longer range.

  • @TheOleHermit
    @TheOleHermit 19 วันที่ผ่านมา

    Very interesting!
    I want to control a Teensy Laser Synth, remotely via MIDI. So, bandwidth is minimalized. Seems like a perfect solution, if transparent to the user.
    Great Scott! You've just added another year to my to-do list.
    Thanks! 😎

    • @nikthefix8918
      @nikthefix8918 15 วันที่ผ่านมา

      ESP-NOW seems like a perfect candidate for wireless MIDI.

  • @KnightsWithoutATable
    @KnightsWithoutATable 19 วันที่ผ่านมา +1

    The quality of your audio amp circuit also has a major effect on the results of the audio you get as well. The cartridge mic's quality, the amp circuit you used for the mic (the mic amp used here looks to be class A, so high fidelity, but also high power consumption), and the amp circuit used for the speaker (this looks to be some sort of IC amp, so I am not sure if this is creating any of the distortion or not).
    I bring this up because the audio didn't sound like it was being distorted from the ADC and DAC all that badly. There was some packet loss in there, but it sounded more like an audio amp circuit wasn't all that great in the circuit, but I could be wrong. One of the biggest mistakes I have seen done is using op-amps for audio amplification. This should never be done since op-amps don't have even amplification across all frequencies, so they sill distort audio signals. They are for amplifying signals where the fidelity doesn't matter as much, like a simple hi-lo signal from a sensor that is really far away or it doesn't put out that much voltage between the two states.

    • @jankomuzykant1844
      @jankomuzykant1844 19 วันที่ผ่านมา

      Have you heard about Gain Bandwidth Product? Other parameters? 🤔

    • @KnightsWithoutATable
      @KnightsWithoutATable 19 วันที่ผ่านมา

      @@jankomuzykant1844 I have and if you are willing to sacrifice fidelity, an op amp does have a nice amount of gain, but with audio signals, you don't want to be adding in random distortions at random frequencies because it makes the audio sound bad, unless the intention is to distort the audio. Hence why I mentioned fidelity being very important for audio.
      I do happen to have a degree in electronic communication and a copy of the most recent edition of Audiology handy, if we wanted to redesign the circuit to be better. I personally would have just used another class A amp circuit built with a BJT or a class D amp IC in a DIP to handle the output speaker since I know it would work and is a simple circuit.

  • @name_is_taha
    @name_is_taha 19 วันที่ผ่านมา +2

    I’ve been waiting for this video for so long 🎉

    • @greatscottlab
      @greatscottlab  19 วันที่ผ่านมา +2

      Hope you liked it :-)

    • @MegaTechno
      @MegaTechno 18 วันที่ผ่านมา +1

      Same!

  • @thesimplicitylifestyle
    @thesimplicitylifestyle 15 วันที่ผ่านมา

    This would be good for robotics, less wires and energy loss!
    I'm interested in what you're going to create!

  • @jazzjohn2
    @jazzjohn2 19 วันที่ผ่านมา

    The absolute easiest, longest range and dependable rf link is with the Digi Xbee modules. A little pricey, but very simple to use.

  • @pasjeihobby
    @pasjeihobby 18 วันที่ผ่านมา

    Very cool video

  • @JB-fh1bb
    @JB-fh1bb 19 วันที่ผ่านมา

    You’ve got me curious about how far the walkie talkie works when you add ESP32s along the path. Is it distance times the number of ESPs? Does signal drop off after a certain amount? What if there are multiple ESPs at each “leg of the relay”?

  • @Francooo..
    @Francooo.. 19 วันที่ผ่านมา

    Maybe i will try it one day

  • @ckafam
    @ckafam 19 วันที่ผ่านมา

    Hi. Thanks for the video. Can you create a mesh with this?

  • @DamienLaRocque
    @DamienLaRocque 6 วันที่ผ่านมา +1

    Is ESP-now still working well in an environment with lots of 2.4GHz noise ? (Like in an urban setting with lots of 2.4GHz Wi-Fi routers or with lots of microwaves)

  • @mrtechie6810
    @mrtechie6810 19 วันที่ผ่านมา

    What would you use to reach the roof a few floors above in a concrete building? I want to add a remote controlled thermostat to my solar water heater.

  • @robertburdoff1789
    @robertburdoff1789 13 วันที่ผ่านมา

    what sort of range do you think you could achieve with an optimized antenna?

  • @pomegranatechannel
    @pomegranatechannel 15 วันที่ผ่านมา

    FYI Router is not mandatory. Two wifi devices can connect directly through Wi-Fi Direct protocol.

  • @Chrislee0709
    @Chrislee0709 19 วันที่ผ่านมา

    Ask which dashboard do you use for the blind control scene, i.e. which overlay on your cell phone that looks great (Homeassistant dashboard?)

  • @amirahmadi794
    @amirahmadi794 19 วันที่ผ่านมา

    if you did a range test on voice transmiting it would be perfect!and how about transmiting video with a esp32 cam?great job by the way

  • @urgaynknowit
    @urgaynknowit 15 วันที่ผ่านมา

    It’s like you redid 1930’s radio tech but with Wi-Fi and other frequencies, wicked cool