logo elektroda
logo elektroda
X
logo elektroda

ESP8266 transmission time after coming out of standby mode?

Merki 1953 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16130397
    Merki
    Level 11  
    Warm welcome,

    i couldn't really find confirmation or any info on how much time it takes for the ESP8266 to transmit data over Wifi after exiting standby mode. The only information I could find was in the ESP8266 manual:

    Wake up and transmit packets in < 2ms

    Does this mean that in that amount of time the ESP itself can transmit information? Has anyone tested this in practice? Is the network communication between the router and ESP constantly maintained in standby mode?
  • ADVERTISEMENT
  • Helpful post
    #2 16137648
    lagrange
    Level 9  
    The 2 ms probably refers to the time to establish communication with the access point, not data transmission as such. I've been doing some fairly precise measurements on this topic (power consumption vs time since waking up). The time from waking up/on to the start of actual data transmission depends mainly on the router. What has the biggest impact is:
    - the use of a fixed IP (in which case the time drops by an average of 60%)
    - the frequency of checking in the algorithm whether the connection has already been established (e.g. if we give a delay (1000) and the connection is established after 3ms from the last check, then if we use a delay (500) we gain as much as 497ms)

    During standby mode (I'm guessing you mean sleep?) the connection is not active.

    In my tests, the time from waking up, by establishing a wifi connection, to the start of transmission varies from 1.5sec to 6-7sec.
  • ADVERTISEMENT
  • #3 16137690
    Anonymous
    Anonymous  
  • #4 16141048
    Merki
    Level 11  
    Thank you very much for your reply, this is what I suspected would be too ideal timing ;)
ADVERTISEMENT