Current output is not correct for Light Sleep

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Current output is not correct for Light Sleep

Postby rupak426 » Sat Jul 02, 2016 1:54 am

Hi,

I am trying to use light sleep with the help of below code:

Serial.println("Wifi_off_timerfunc called to disable wifi");
wifi_station_disconnect();
wifi_set_opmode(NULL_MODE);
wifi_fpm_set_sleep_type(LIGHT_SLEEP_T);
Serial.println("set the sleep as LIGHT SLEEP");
wifi_fpm_open();
wifi_fpm_set_wakeup_cb(fpm_wakup_cb_func1); // Set wakeup callback
wifi_fpm_do_sleep(60*1000000);

In the normal mode, I measured the current and its showing 70~80mA.
But when I am measuring the current output after "LIGHT SLEEP",the measured current is 15~18 mA.
As per document "9B-ESP8266-Low_Power_Solutions__EN.pdf", current for Light sleep should be between 0.4~1.8 mA.
I am using SDK version as ESP8266_NONOS_SDK_V1.5.4_16_05_20.
can you let me know if I am missing something while invoking the "LIGHT sleep".

thanks,
Rupak

pratik

Re: Current output is not correct for Light Sleep

Postby pratik » Mon Jul 04, 2016 1:04 pm

Hello Rupak,

What are your GPIO states in sleep mode? As a rule of thumb, you should switch all outputs to high state if they are pulled high or low, if they are pulled low.
Sleep mode power consumption will depend on a lot of factors, including quiescent current of the voltage regulator you are using. Do note that the flash memory also consumes power.
Depending on where in the circuit you are probing for current consumption, the answer can vary.

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Re: Current output is not correct for Light Sleep

Postby rupak426 » Mon Jul 04, 2016 3:09 pm

Hi Pratik,

I am using ESP8266-01, which consists of 2 GPIO. GPIO 0 is connected to GND while GPIO 2 is floating when chip enter LIGHT sleep mode. I am not using voltage regulator as I am supplying 3.3V from battery.

thanks,
Rupak

pratik

Re: Current output is not correct for Light Sleep

Postby pratik » Tue Jul 05, 2016 9:23 am

Hello Rupak,

You should try the SDK v.1.5.3 with patch v.1.5.3.3 applied. A similar issue of high current in light sleep mode was resolved in that patch.

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Re: Current output is not correct for Light Sleep

Postby rupak426 » Thu Jul 07, 2016 1:23 am

Thanks Pratik, will try and let you know.

-Rupak

Who is online

Users browsing this forum: No registered users and 3 guests