Final question : how did you enter sleep mode or power down?
HappyUser
@HappyUser
Posts made by HappyUser
-
RE: M5Dial, no wake up with button
-
RE: M5Dial, no wake up with button
Wow, I take full responsibility for my own. But how did you do that? Please elaborate.
I assume you removed the 5volt pin of the M5Stamp. ? -
RE: M5Dial, no wake up with button
Thank you all for sharing your insights. I hope it offers help to others.
For us it means back to the drawing board.
Regards to you all.
Btw, M5Din meter is also not an option because I recognize the same electronic scheme. -
RE: M5Dial, no wake up with button
@cognitive5525 Indeed, via the green power terminals.
-
RE: M5Dial, no wake up with button
@cognitive5525 Correct, all my test are done solely with external power.
-
RE: M5Dial, no wake up with button
@felmue Thank you for your elaborate answer and the supporting experiments that you have done. Am i interpreting your answer correctly that you are also saying that when the device is powered with the green connector you can not wake it up with the button ?
-
RE: M5Dial, no wake up with button
@cognitive5525 A long press (up to 25 sec) does not wake up the device.
Documentation says :After triggering the wake up signal, the hold(G46) pin needs to be set to a high level (1) during program initialization to maintain the power supply
So, therefor this is what i do :
pinMode(GPIO_NUM_46, OUTPUT);
digitalWrite(GPIO_NUM_46,HIGH);Maybe this only works when powered by a battery. In our use case it should be powered by an external source connected to the green connector on the back side.
(* Btw, the button itself works, i have checked that already in another test program *)
-
RE: M5Dial, no wake up with button
@cognitive5525 You are right. Just tried it. Still no wake up.
Maybe i could get the touch screen to work.
(* I do hope that someone from M5Stack is able to explain what they really mean with :
Power-on: WAKE up can be started by pressing the "Wake" button and IRQ signal triggered by RTC periodically. After triggering the wake up signal, the hold(G46) pin needs to be set to a high level (1) during program initialization to maintain the power supply, otherwise the device will enter the sleep state again. -
RE: M5Dial, no wake up with button
Thank you, to be honest, no idea, but it is not an option. If the M5Dial is build in a dashboard this button is not accessible anymore.
I also tried
M5Dial.Power.timerSleep(30);
M5Dial.Power.powerOff();and direct after setup this
digitalWrite(GPIO_NUM_46,HIGH);then the device wakes up after 30 seconds but wont wake up with the button.
Weird, becuase the product page states :
Power-on: WAKE up can be started by pressing the "Wake" button and IRQ signal triggered by RTC periodically. After triggering the wake up signal, the hold(G46) pin needs to be set to a high level (1) during program initialization to maintain the power supply, otherwise the device will enter the sleep state again. -
M5Dial, no wake up with button
Please correct me if i am wrong.
I think that it is not possible to wakeup the M5Dial after you have send it to sleep, using the button. This conclusion is based on this statement :
On the ESP32, you additionally have the option to wake up on any RTC pin (GPIO0, GPIO2, GPIO4, GPIO12, GPIO13, GPIO14, GPIO15, GPIO25, GPIO26, GPIO27, GPIO32, GPIO39).
Please tell me i am wrong. Ha ha
Regards