Statistics: Posted by tve — Fri Sep 18, 2015 11:53 pm
Statistics: Posted by pumzele — Fri Sep 18, 2015 8:04 pm
Statistics: Posted by pumzele — Thu Sep 17, 2015 3:46 pm
Statistics: Posted by Guest — Wed Sep 16, 2015 4:44 pm
Statistics: Posted by ESP_Alfred — Wed Sep 16, 2015 3:38 pm
Statistics: Posted by Npt — Wed Sep 16, 2015 1:49 pm
Statistics: Posted by Npt — Mon Sep 14, 2015 4:26 pm
Npt wrote:(I tried to post in this thread a couple of days ago, apparently my comment was not approved by the moderators. I'll try one more time...)
I have encountered the same unexpected behaviour of the chip. I think we need to distinguish between two scenarios here:
(A) The ESP involuntarily loses connection to an AP (for example the AP is shut down or goes out of range).
(B) The ESP voluntarily ends the connection (wifi_station_disconnect) or never establishes a connection in the first place (wifi_station_set_auto_connect(false)).
In case of (A) I'd say it's ok if the ESP use more power in order to try to re-establish the connection. If this is not desired, it is your responsibility as the API user to stop it, maybe after a certain timeout. So in my opinion everything's fine here.
However, in situation (B) I think there's a bug in the API. You would expect that the power consumption eventually goes down after disconnecting. The opposite is the case: I measured a stable ~70mA after disconnect as opposed to ~20mA (with short spikes every 1s or so) when connected and idle.
In my application I need to do some computations on the CPU before sending the data. One would assume that it's better to do the computations offline and only connect after they're done. Turns out, the opposite is true: you have to connect to an AP to save power. That is weird and definitely a bug that Espressif should look into.
Statistics: Posted by Harold L. — Mon Sep 14, 2015 3:42 pm
Statistics: Posted by ESP_Alfred — Mon Sep 14, 2015 1:52 pm
Statistics: Posted by Npt — Fri Sep 11, 2015 2:00 pm
Harold L. wrote:Hi, we've tried all related APIs, but no lucky, ESP8266 consumed too much battery when AP is not exist, are you still working with this problem?
Glad to hear from you, thanks!
Statistics: Posted by Harold L. — Fri Sep 11, 2015 1:45 am
Statistics: Posted by ESP_Alfred — Thu Sep 10, 2015 7:42 pm
Statistics: Posted by Harold L. — Thu Sep 10, 2015 5:06 am
Statistics: Posted by Npt — Thu Sep 03, 2015 2:57 pm
Statistics: Posted by Harold L. — Mon Aug 24, 2015 11:18 am
Statistics: Posted by Harold L. — Mon Aug 24, 2015 11:07 am
Statistics: Posted by tve — Thu Aug 20, 2015 1:09 am
Statistics: Posted by ESP_Alfred — Wed Aug 19, 2015 5:43 pm
Statistics: Posted by Harold L. — Wed Aug 19, 2015 11:25 am
Statistics: Posted by ESP_Alfred — Tue Aug 18, 2015 11:48 am
Harold L. wrote:
Btw, you should focus on the relative value, the rising-edge of the current when power off your router(130mA - 70mA = 60mA) instead of the absolute values, because there exists some bias-current caused by things like LCD screen, external ADCs in my measurement.
Surely, those things would not be the reason of this problem since they just have not way to be informed when the router is powering on/off.
Statistics: Posted by ESP_Alfred — Tue Aug 18, 2015 11:18 am
Statistics: Posted by Harold L. — Mon Aug 17, 2015 11:36 am
Statistics: Posted by Harold L. — Mon Aug 17, 2015 11:26 am
Statistics: Posted by ESP_Alfred — Fri Aug 14, 2015 9:53 pm
Statistics: Posted by Harold L. — Tue Aug 11, 2015 12:02 pm
Statistics: Posted by kolban — Mon Aug 10, 2015 9:31 pm
Statistics: Posted by Harold L. — Mon Aug 10, 2015 4:27 pm