I am constructing a remote blind opener which will be battery operated. Blind movement will be according to button on/off time to allow precise positioning. Software to achieve this is already working. However to reduce consumption I would like to achieve the following:
Deep sleep for 5 seconds
Wake for 2 seconds to allow wifi command to be captured
If no command received, deep sleep
If command received wake for 30 seconds to allow several button presses
(Would be great to re trigger the wake period if any command received)
Deep sleep for 5 seconds
I have been searching for examples for a couple of days so any help appreciated
Deep sleep, timer trigger, wake for set period
Deep sleep, timer trigger, wake for set period
Last edited by snowman on Tue Dec 01, 2020 6:21 pm, edited 1 time in total.
Re: Deep sleep, timer trigger, wake for set period
hello snowman,
we just got the first snow here today
You might not find that. Everybody has their own ideas, they will not write *your* example.
You have to do that yourself.
Step for step:
Start with going deep-sleep and waking up after a while,
you *will* find examples how to do that.
Then maybe the Wifi stuff. Tons of examples...
Now combine the two:
Find out how to do wifi, then sleep, then wake up and restart doing wifi again.
Then insert reactions on received WiFi messages,
button stuff, whatever,
one by one.
Fun and good luck
we just got the first snow here today
Maybe you search for an example doing *just* what you want?
You might not find that. Everybody has their own ideas, they will not write *your* example.
You have to do that yourself.
Step for step:
Start with going deep-sleep and waking up after a while,
you *will* find examples how to do that.
Then maybe the Wifi stuff. Tons of examples...
Now combine the two:
Find out how to do wifi, then sleep, then wake up and restart doing wifi again.
Then insert reactions on received WiFi messages,
button stuff, whatever,
one by one.
Fun and good luck
Who is online
Users browsing this forum: axellin and 109 guests