This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hey guys, I'm trying to set up a program which operates a motor as instructed by:
- External pin-change interrupts (two push buttons)
- Timed interrupts (with times calculated using data pulled from an API)
I've set up every part of this program *except* for sleep. Initially, the motor was just instructed by push buttons, so it only needed to wake in response to input given to them, but now I want to set up the timer system to work with it in tandem.
I've been poring over ESP8266 documentation today, and for all of the solutions I've found (see here https://github.com/esp8266/Arduino/tree/master/libraries/esp8266/examples/LowPowerDemo or here https://www.espressif.com/sites/default/files/9b-esp8266-low_power_solutions_en_0.pdf), I can't seem to find one which addresses my own problem.
I need the ESP8266 to sleep indefinitely when no input is being given (potentially for days, if the Wi-Fi cuts out), but I also need it to wake up via a timed interruption - but I can't find any system which is capable of maintaining ~8-16-hour timers.
Does anyone have any advice for me? All help is greatly appreciated.
Post Details
- Posted
- 11 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/esp8266/com...