Video není dostupné.
Omlouváme se.
Going Beyond Periodic Wakes: Using WiFi to Revive a Sleeping Device
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
Discuss the episode, ask Clem questions, and find all code and CAD on the element14 Community! bit.ly/3Z8EE6l
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.
Whoop whoop
Looks really great.. being able to wake up from deep sleep with a message is supper cool! Thanks
yeah , its such a cool way to do wakeups! thx
I am exactly think like you do. I hate if electronics circuit or software connected to internet.
Exactly. Internetvonky when its really needed, not to control the user
You can find the datasheet and two bonus videos on our community page linked in the description!! I also answer questions there
Great looking device. Why did you go with pairing with an ESP? and using AT commands? The module can be programmed directly?
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.
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 😉)
exactly, AT is not dead yet and often a faster /more reliable way than diving into a dedicated IDE or framework first.
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.
thanks for the feedback
Could you have used a bigger gauge of wire for your jumpers? 😆 Just kidding....kind of...keep up the good work.
I prefer thst one for bodges because its stiff and easy to tack down. So no thicker woumd have bridged two pins.
@@MAYERMAKES sorry my sarcasm didn’t come across, I would have used wire wrapping 30awg, yours is huge!
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,
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
@@MAYERMAKES thanks, that looks promising.
@@MAYERMAKES Datasheet says 8.5uA in Sleep 3 mode. That's because of the RF switch(5uA consumption).
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.
There is btw software support to use it as such a modem on a pc. Makes it a great option for many projects
smart!!!
thx
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.
We kinda did that in the pi robot episodes, the python code running on the pi could also run on a server.
The two serial ports use two different baud rates? How convenient!
one is hardcoded in the device, the other one is a safe choice.
Did you measured current during deep sleep?
No i have no setup to reliable measure uA ranges. According to the datasheet it should be at 3,5uA during skeep mode 3
Not sure, if WIFI is a good choice for a power saving wireless connection..
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.
🧡🧡🧡❤❤❤💚💚💚
Why use WiFi, though?
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.
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...
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.
[9] [1] [1]
"Hello, this is the 911 operator, how can I help you?"
"Call an ambulance, my mind has just exploded"
Click
Uh double nuts, it just exploded again.
Wow... extraneous info, rambling, and ear-splitting volume changes - distortion included!