-->
Page 1 of 1

reaction time / boot time ?

PostPosted: Thu Apr 28, 2016 3:14 pm
by Creamers
Maybe an advanced user can help me answer this?

How much time would it cost the ESP8266 to wake up and send a message when it is woken up by an interrupt? ( for example from an external device setting an IO high, like a pir sensor)

Re: reaction time / boot time ?

PostPosted: Thu Apr 28, 2016 4:26 pm
by chaeplin
I have a wifi button with deepsleep(0) and static ip.

If the button wakes up, it subscribes a topic to check current status of a lamp(retained status), then send a mqtt msg.

Wakeup ---> Wifi connect : 200 ~ 300ms
Wakeup ---> wifi ------> subscribe done : 1.01 ~ 2.01 sec (subscribe takes almost 1 sec).
Wakeup ---> wifi ------> subscribe ----> publish done : 1.2 ~ 2.2 sec.

https://raw.githubusercontent.com/chaep ... millis.png

So without subscribe, at most 500 ~ 600ms.

Wakeup only ? I think it's just a few micro seconds.