Force Light/Sleep AT Command

Jan Kijonka
Posts: 28
Joined: Fri Jun 09, 2017 10:17 pm

Force Light/Sleep AT Command

Postby Jan Kijonka » Tue Aug 28, 2018 6:53 pm

Dear tech. support,

After long lasting optimization of power consumption in my battery application, I'm asking here for adding AT command for Force Light-Sleep. And also maybe AT command for quick connect from deep-sleep (with known stored connection information).

I have tested light-sleep mode for various of DTIM and beacon intervals set in my router. The lowest power consumption was achieved for the lowest value of beacon interval set to 20 ms and DTIM set to 1! For higher values the results are not stable. Sometimes the light-sleep is started about 100ms after the data packet is send, but sometimes it takes about 2s to switch to light-sleep mode! In these scenarios, the power consumption is three times higher. I would like to achieve stable result with forced light-sleep AT command sent just after the send OK is received from ESP8266. I hope it helps to achieve better results without setting router to some extreme small DTIM and beacon interval values.

I added waveforms from scope. In the first yellow waveform there are wake-up spikes from host MCU, second waveform shows power consumption, where 1mv ~ 1mA (I used 1Ohm resistor in the current path). You can see that for standard router settings, there are many random spikes increasing the average current to 28.0mA (this is not stable, sometimes there are as high values as 65 mA average current!!!). For extremely low values router settings, we can achieve more stable result, but not ideal...

Thank you for your response and possible further collaboration for light-sleep mode power consumption optimization.
Jan Kijonka
standard router settings (beacon int = 100ms, DTIM = 3)
NewFile1.jpg (42.74 KiB) Viewed 2672 times
custom router settings (beacon int = 20ms, DTIM = 1)
NewFile0.jpg (40.97 KiB) Viewed 2672 times

Her Mary
Posts: 390
Joined: Mon Oct 27, 2014 11:09 am

Re: Force Light/Sleep AT Command

Postby Her Mary » Wed Oct 24, 2018 2:52 pm

Has to be AT? I heard that they are optimizing the new ESP8266 RTOS light sleep to get lower power consumption.

Who is online

Users browsing this forum: No registered users and 5 guests