M5Dial, no wake up with button
-
-
Final question : how did you enter sleep mode or power down?
-
-
@felmue said in M5Dial, no wake up with button:
BTW: as an experiment to prove the above I removed the 5 V connection between M5Stamp and M5Dial board and now I can power M5Dial from the green connector and it does a proper shutdown (same as when powered from battery) and can be woken by the wake button.
Excellent! Now I'm curious : what is the current consumption on the external power input when the board is powered off or "sleeping"
-
@felmue said in M5Dial, no wake up with button:
please find my example here.
I can see you import M5Dial.h is this supposed to be a part of M5Unified?
I use M5Unified.h in my code for my Core INKs.. -
Hello @Cognitive5525
please find my measurements here.
M5Dial.h
includesM5Unified.h
. See here.Thanks
Felix -
@felmue said in M5Dial, no wake up with button:
please find my measurements here.
What voltage did you use?
M5Dial.h includes M5Unified.h. See here.
Ah OK! I see you are using a "dedicated" library for M5Dial which in term relies on the "general" M5Unified library. I found a similar "dedicated" for the CoreINK but that seem not to use M5Unified.
So I stick with using M5Unified "directly".. -
Hello @Cognitive5525
above measurements have been done via battery connector @ 4.2 V.
If I use the green connector (and with aforementioned hardware modification) then in shutdown mode I measure about: ~ 1.5 mA @ 6 V
I guess the higher shutdown current (compared to when powered via battery connector) is due to the DC/DC converter converting +VIN into +5VIN and the battery charger IC which both stay powered even in shutdown mode.
Thanks
Felix -
Thanks to Felix.
I also tried his solution of removing the 5V pin from the M5Stamp, power down and wake up with button works perfectly. Even in combination with power timer sleep. Very low current. A big relief for us, save us a lot of time (and €) to find another solution for an unexpected behaviour. Many thanks to Felix!
Btw, you really have to cut the 5 volt pin short because otherwise it still makes contact. -
Hello @HappyUser
you are very welcome. I am glad to hear you got it working to your liking. And thank you for reporting back.
Thanks
Felix