Final question : how did you enter sleep mode or power down?
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 -
RE: M5Dial, high power consumption during deep sleep.
Thank you for your detailed responses. This is an issue i really need to dive into based on the info you have been given. I need some time, but will report my findings asap. Thanks
-
RE: M5Dial, high power consumption during deep sleep.
Thank you.
The issue is that I need to power it with a 12 volt battery ( in a remote location). But secondly, I tried this command : M5Dial.Power.timerSleep(5) and then the current goes back to like 10 mA.
I need to I investigate this a bit further. -
M5Dial, high power consumption during deep sleep.
I have powered the M5Dial with an external power supply (small green connector).
During deep sleep the current is 40 mA. No other devices connected. Am i using the wrong deep sleep mode? Any suggestions are welcome
My code for deep sleep:
WiFi.mode(WIFI_OFF);
btStop();
adc_power_off();
gpio_wakeup_enable(GPIO_NUM_42, GPIO_INTR_LOW_LEVEL); // schijnt niet te werken met deep sleep
esp_sleep_enable_gpio_wakeup();
esp_sleep_enable_timer_wakeup(30 * uS_TO_S_FACTOR);esp_sleep_pd_config(ESP_PD_DOMAIN_MAX, ESP_PD_OPTION_OFF); //esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF); esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_OFF); esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_FAST_MEM, ESP_PD_OPTION_OFF); //esp_light_sleep_start(); esp_deep_sleep_start();
-
RE: M5Dial generate interrupt from RTC?
Thank you for your reply.
I assume your conclusion is then also : no wake-up with RTC interrupt?
Regards -
M5Dial generate interrupt from RTC?
In the diagram of the M5Dial I dont see a connection between the INT pin of the RTC module and the ESP32? Is that correct? Does this also mean i can not generate an interrupt from the RTC clock? That feels weird because i sleep and wake up works through the RTC clock. Any thoughts?
Regards -
M5dial fontheight
Uh,
Serial.println(M5Dial.Display.fontHeight(&fonts::FreeMonoBold12pt7b));
return 88.
What does tha mean? points?
Any clue
Thanks -
Stamp IO to create additional serial interfaces
Dear all,
Is it possible to extend the number of serial interfaces using the Stamp IO?
Or should i use someother solution. I realise closed questions, but suggestions are also welcome.
Regards -
M5Din : Arduino code available
Dear all, any arduino lib with example available for the M5Din module. Thanks.
-
Ezdata approach with http or MQTT
Any idea? Is it possible to use it with http get or MQTT commands?
Any pointers?
Thanks