ESP8266 Developer Zone The Official ESP8266 Forum 2017-12-04T19:00:17+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3184 2017-12-04T19:00:17+08:00 2017-12-04T19:00:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=18543#p18543 <![CDATA[Re: Power consumption spikes in light sleep mode]]>
Did you monitor your wifi during doing your tests? The esp8266 wakes when it has to process wifi frames? For the measurements I did put the esp8266 on a seperate ap.

I have not tried sdk 2.1 yet.

Statistics: Posted by crasu — Mon Dec 04, 2017 7:00 pm


]]>
2017-11-24T09:25:37+08:00 2017-11-24T09:25:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=18308#p18308 <![CDATA[Re: Power consumption spikes in light sleep mode]]>
crasu wrote:
The issue has improved a lot/gone away with firmware 2.0.0

I'm seeing the same issue with SDK 1.5.4.1.

With 2.0.0 SDK, did you manage to get a clean power consumption where ESP8266 only wakes up during DTIM? Also, is the periodic 1.5s gone?

I just tried and got a very erratic result. It seems to sleep properly for a period of time and then starts behaving erratically, waking up randomly for no obvious reason.
SDK-2.0.0-light-sleep.JPG


Did you observe a similar result?

SDK 2.1.0 is worse. ESP8266 doesn't even wake up to listen to DTIM.
SDK-2.1.0-light-sleep.JPG

Statistics: Posted by gerdiman1 — Fri Nov 24, 2017 9:25 am


]]>
2017-07-09T15:20:34+08:00 2017-07-09T15:20:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=14494#p14494 <![CDATA[Re: Power consumption spikes in light sleep mode]]> Statistics: Posted by crasu — Sun Jul 09, 2017 3:20 pm


]]>
2017-04-20T15:48:48+08:00 2017-04-20T15:48:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=12432#p12432 <![CDATA[Re: Power consumption spikes in light sleep mode]]> https://github.com/espressif/esp8266-no ... Sleep_Demo. If I use force light sleep, I can get the current down to <1mA. But I would prefer to use auto light sleep because force light sleep seems to disconnect wifi connection. How did you get it working? Any tips? Thanks.

Statistics: Posted by compass — Thu Apr 20, 2017 3:48 pm


]]>
2017-04-02T20:46:19+08:00 2017-04-02T20:46:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=11869#p11869 <![CDATA[Re: Power consumption spikes in light sleep mode]]> Statistics: Posted by crasu — Sun Apr 02, 2017 8:46 pm


]]>
2016-12-14T06:24:42+08:00 2016-12-14T06:24:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=10891#p10891 <![CDATA[Re: Power consumption spikes in light sleep mode]]>

Code:

...
    os_printf("Wifi configured\n\r");
    wifi_set_sleep_type(LIGHT_SLEEP_T);

    ets_intr_lock( );
    //Start os task
    system_os_task( ... );
...

Statistics: Posted by crasu — Wed Dec 14, 2016 6:24 am


]]>
2016-12-13T18:26:26+08:00 2016-12-13T18:26:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=10888#p10888 <![CDATA[Re: Power consumption spikes in light sleep mode]]> Statistics: Posted by crasu — Tue Dec 13, 2016 6:26 pm


]]>
2016-12-12T12:51:37+08:00 2016-12-12T12:51:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=10876#p10876 <![CDATA[Re: Power consumption spikes in light sleep mode]]>
By the way, can you disable all interrupts using the relevant APIc calls and let me know if that made any difference?

Statistics: Posted by Guest — Mon Dec 12, 2016 12:51 pm


]]>
2016-12-13T18:27:00+08:00 2016-12-10T07:39:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3184&p=10852#p10852 <![CDATA[Power consumption spikes in light sleep mode]]>
I am trying to get light sleep to work and come close to the advertised power consumption of 1-2mA.

I am seeing spikes in power consumption every 1.5s which last about 150 ms and draw about 70mA current. They cause about 50-70% of the general power consumption.
figure_7.png

On average the power consumption is about 15-18 mA.

My setup:
- SDK 1.5.4.1 NONOS/1.5.4 for Arduino
- Auto light sleep as described here http://www.espressif.com/sites/default/ ... s_en_0.pdf
- Used linux hostap and to make sure there are no frames on the wirless except for beacons
- ESP-201 or Esp8266 thing from sparkfun
- The esp8266 is in station mode

I tried:
- Using forced light sleep the power consumption goes down to 1-2 mA as expected (no spikes)
- Changing dtim values and/or beacons frequency of the AP
- Put the entire setup inside of a microwave to make sure no other 2.4 Ghz devices are interfering ;-)

Did anyone achive the advertised values for power consumption in auto light sleep? And does anyone have any idea what is causing these spikes?

Thank you in advance,
Christian

Statistics: Posted by crasu — Sat Dec 10, 2016 7:39 am


]]>