Skip to content
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

support for deep_sleep #2

Open
donnib opened this issue Dec 21, 2014 · 3 comments
Open

support for deep_sleep #2

donnib opened this issue Dec 21, 2014 · 3 comments

Comments

@donnib
Copy link

donnib commented Dec 21, 2014

Hi,
Is this something you have considered ? If not could you point where this should be added if i can figure it out myself ?

This post mentions the call needed.

http://www.esp8266.com/viewtopic.php?f=9&t=155&start=10

/Mihai

@alonewolfx2
Copy link
Contributor

I added a new function for deep sleep function and I made a pull request. you can check my repo or wait until merged.

@donnib
Copy link
Author

donnib commented Dec 22, 2014

@alonewolfx2 cool, thx. Have you tried using the Deep Sleep in the ESP8266 ? I noticed there is a talk about the Sleep and writing to RTC memory before going to sleep. that support would be nice too here in NodeLua. http://bbs.espressif.com/viewtopic.php?f=7&t=68#p292

Also i noticed here : http://www.esp8266.com/viewtopic.php?f=9&t=155&sid=e0f153ed0d7c46628c02054a64496056#p2413 that you are asking about waking up the module with interrupts e.g on one of the GPIO pins, did you get an answer on that ?

That would be cool if possible because then the system could wake up only when the interrupt on an GPIO pins happens.

@alonewolfx2
Copy link
Contributor

i dont know and i dont test gpio interrupt. just i tested gpio16 pullup to gnd and its waking. i removed power led and i saw 40-50 micro amp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants