-
Notifications
You must be signed in to change notification settings - Fork 7.6k
deepSleep available? #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
soon :) there is some API exposed but not to switch the sleep mode yet |
Any timeline for this? |
Using the system call esp_deep_sleep(5000000); seems to work with the latest code and sleeps for that many microseconds. |
Also some other wake modes are now implemented (in the ESP-IDF): http://esp-idf.readthedocs.io/en/latest/api/deep_sleep.html |
Is it possible to use those from an Arduino sketch somehow? |
You can |
Now it works: esp_deep_sleep(5000000); Power current is 11uA. Any way to get hibernation mode deep sleep (2.5uA) ? |
Possibly by powering down RTC fast memory. I haven't done current measurements myself yet, so can not say what the resulting current will be. |
Thanks, I will try this. |
How do I get #include esp_deep_sleep.h with arduino? |
esp_deep_sleep(15000000); is work for me |
I don't know if static or global variables are kept in memory after a wake-up, but you could still store data in flash such as variables you want to save and maybe a function pointer to the resume fonction to be executed just after the deep sleep. |
hy |
Hi,everybody. |
Nothing new about hibernation in Arduino core? |
- increase default number of NTP servers up to 3 (match with Arduino esp8266) - activate SNTP over DHCP requests (match with Arduino esp8266) addressing issue espressif#4964 provided via espressif/esp-idf#7336
* Added HalloWing M4 to Arcade Platforms * Added Adafruit CircuitPlayground Express and Bluefruit
Are different sleep modi already supported? E.g. the deepSleep from ESP8266.
The text was updated successfully, but these errors were encountered: