Video není dostupné.
Omlouváme se.

Going Beyond Periodic Wakes: Using WiFi to Revive a Sleeping Device

Sdílet
Vložit
  • čas přidán 7. 08. 2024
  • What if we could wake up a sleeping device with just a simple Wi-Fi message? Clem loves open-source systems, not ones where you're locked into any company's ecosystem, and one of the things he'd like to develop is an open-source security system.
    He recently learned about the Renesas DA16200MOD Wi-Fi module, which supposedly can stay connected to a Wi-Fi network even when it's in deep sleep. So, the natural question to ask is, can we also wake it up with a simple UDP message over Wi-Fi, instead of having to periodically wake it up as is done with most devices? The journey to success is troublesome, involving PCB operations under the microscope, and a lot of sketchy Arduino code...
    Discuss the episode, ask Clem questions, and find all code and CAD on the element14 Community! bit.ly/3Z8EE6l
    Shop - Renesas Wi-Fi dev kit featuring the DA16200MOD module: bit.ly/3IjJZBT
    Engage with the element14 presents team on the element14 Community - suggest builds, find project files, and see behind the scenes video: bit.ly/3tmdewv
    Visit the element14 Community for more great activities and free hardware: bit.ly/3q6YMpu
    Tech Spotlights: bit.ly/3qPrDhM
    RoadTest and Reviews: bit.ly/3pV5Bux
    Project14: bit.ly/31wbnJY
    #0:00 Welcome to element14 presents
    #0:45 Overview
    #1:54 The Wi-Fi Module
    #3:29 The PCB
    #6:27 Troubleshooting
    #12:18 The Code
    #13:13 Let's Try It!
    #17:24 Give Your Feedback
    #renesas #iot #internetofthings #arduino #arduinoproject #arduinolove

Komentáře • 45

  • @element14presents
    @element14presents  Před rokem +1

    Discuss the episode, ask Clem questions, and find all code and CAD on the element14 Community! bit.ly/3Z8EE6l

  • @scottstevens7569
    @scottstevens7569 Před rokem +2

    YES! You've hit the nail on the head and opened up the world to the dirty secrect of all those other wifi chips have failed at for far too long. Being able to wake on demand from deep sleep(low power) is what every app and battery deserves.

  • @turenielsen55
    @turenielsen55 Před rokem +1

    Looks really great.. being able to wake up from deep sleep with a message is supper cool! Thanks

    • @MAYERMAKES
      @MAYERMAKES Před rokem

      yeah , its such a cool way to do wakeups! thx

  • @hagopboghossian6841
    @hagopboghossian6841 Před rokem +5

    I am exactly think like you do. I hate if electronics circuit or software connected to internet.

    • @MAYERMAKES
      @MAYERMAKES Před rokem +2

      Exactly. Internetvonky when its really needed, not to control the user

  • @MAYERMAKES
    @MAYERMAKES Před rokem +1

    You can find the datasheet and two bonus videos on our community page linked in the description!! I also answer questions there

  • @chrisswallow3734
    @chrisswallow3734 Před rokem +2

    Great looking device. Why did you go with pairing with an ESP? and using AT commands? The module can be programmed directly?

    • @MAYERMAKES
      @MAYERMAKES Před rokem +3

      It can be programned with a dedicated ide. I was firstly interested in doing it AT style since most people might use it thst way. The esp can be replaced with any random mcu, i judg hspoen to hsve it abd it was easier to usevits native usb than another chip as bridge.

  • @Workshopshed
    @Workshopshed Před rokem +2

    Looks a useful little module, can be a steep learning curve if you want to program a new device but using it in AT mode makes that easier (as long as you use the right UART 😉)

    • @MAYERMAKES
      @MAYERMAKES Před rokem +2

      exactly, AT is not dead yet and often a faster /more reliable way than diving into a dedicated IDE or framework first.

  • @green64
    @green64 Před rokem +2

    this video was in comparison to all the others times really good, much more natural and loose, especially the first videos I could hardly watch, but I always give again a chance and today I have to say the whole episode was much better from the flow and style.

  • @NoBozosAllowed
    @NoBozosAllowed Před rokem +1

    Could you have used a bigger gauge of wire for your jumpers? 😆 Just kidding....kind of...keep up the good work.

    • @MAYERMAKES
      @MAYERMAKES Před rokem

      I prefer thst one for bodges because its stiff and easy to tack down. So no thicker woumd have bridged two pins.

    • @NoBozosAllowed
      @NoBozosAllowed Před rokem

      @@MAYERMAKES sorry my sarcasm didn’t come across, I would have used wire wrapping 30awg, yours is huge!

  • @hnasje66
    @hnasje66 Před rokem +2

    you mentioned a deepsleep current of 35mA that is a lot, esp is around 50uA. So my battery will last longer with the esp that occasionally wakes up,

    • @MAYERMAKES
      @MAYERMAKES Před rokem +5

      thats partly a missunderstanding/bad wording on my part. it takes 35mA in active mode(listening), like an ESP, but the sleep modes are very different:
      Sleep 1 (total deep sleep) = 0,2uA , Sleep 2 (wakeup with RTC or Pin interrupt) 1.8uA and Sleep 3 (wakeup with wifi, RTC, pin) 3,5uA

    • @hnasje66
      @hnasje66 Před rokem

      @@MAYERMAKES thanks, that looks promising.

    • @KostiantynD
      @KostiantynD Před rokem

      @@MAYERMAKES Datasheet says 8.5uA in Sleep 3 mode. That's because of the RF switch(5uA consumption).

  • @stends113
    @stends113 Před rokem +1

    That i would classify as a "WIFI modem". Its pretending to be your good old fashioned dial-up modems, but connects through IP from its own microcontroller on the wifi. This is not a typical WIFI chip (that basically pretends its an advanced ethernet chip). 802.11 WIFI is quite chatty (beacons 10+ times a second ++++ ). It makes sense to work the way it works. Incidentally the same stuff people use to make C64 "modems" that connect via wifi.

    • @MAYERMAKES
      @MAYERMAKES Před rokem +3

      There is btw software support to use it as such a modem on a pc. Makes it a great option for many projects

  • @kvcl123
    @kvcl123 Před rokem +2

    smart!!!

  • @WagonLoads
    @WagonLoads Před rokem +1

    This looks like something I could use for a mailbox alarm... but I really want
    to learn how to install websockets on my own website.
    So I can get messages from anywhere on Earth and beyond.

    • @MAYERMAKES
      @MAYERMAKES Před rokem

      We kinda did that in the pi robot episodes, the python code running on the pi could also run on a server.

  • @NicksStuff
    @NicksStuff Před 6 měsíci

    The two serial ports use two different baud rates? How convenient!

    • @clemensmayer9171
      @clemensmayer9171 Před 5 měsíci

      one is hardcoded in the device, the other one is a safe choice.

  • @akhilkalariya3412
    @akhilkalariya3412 Před rokem +1

    Did you measured current during deep sleep?

    • @MAYERMAKES
      @MAYERMAKES Před rokem +1

      No i have no setup to reliable measure uA ranges. According to the datasheet it should be at 3,5uA during skeep mode 3

  • @deterdamel7380
    @deterdamel7380 Před rokem

    Not sure, if WIFI is a good choice for a power saving wireless connection..

    • @MAYERMAKES
      @MAYERMAKES Před rokem

      itt all depends o nthe application, for such home devices that are in reach of a typical router its a very good fit. if you build something oput on a field its not so much.

  • @sadeghsafarzadeh4728
    @sadeghsafarzadeh4728 Před rokem +1

    🧡🧡🧡❤❤❤💚💚💚

  • @NicksStuff
    @NicksStuff Před 6 měsíci +1

    Why use WiFi, though?

    • @MAYERMAKES
      @MAYERMAKES Před 2 měsíci +1

      because its now possible, wakeuop without any periodic wakeup or interrupt trigger was not possible until that chip came out. it means the device can sleep forever UNTIL you ask it to wake up from far away. which can turn runtime expectancy for months to years.

  • @tylerufen
    @tylerufen Před rokem

    i'm not really impressed... how does it compare to ESPNOW? how much current does that use over a whole cycle vs. an ESP? you're trying to sell the Renisys chip, but you just seem infatuated... it sounds great in schematic, but i'm not seeing any real numbers in terms of energy consumption in real life situations...

    • @MAYERMAKES
      @MAYERMAKES Před rokem

      takes the same amount of current as an ESP but the difference is it stays conencted in sleep mode 3, which no other wifi module I know of is able to do.
      the wakeup via wifi message is not possible with any ESP. thats the difference in terms of power consumption while sleeping they are comparable., but the difference is any ESP has to wake up first on its own reconnect to the network and then recieve the message.

  • @danblankenship5744
    @danblankenship5744 Před rokem +1

    [9] [1] [1]
    "Hello, this is the 911 operator, how can I help you?"
    "Call an ambulance, my mind has just exploded"
    Click

    • @MAYERMAKES
      @MAYERMAKES Před rokem

      Uh double nuts, it just exploded again.

  • @chrisw1462
    @chrisw1462 Před rokem

    Wow... extraneous info, rambling, and ear-splitting volume changes - distortion included!