Current output is not correct for Light Sleep
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
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
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.
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.
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
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
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.
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.
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.