ESP8266 Developer Zone The Official ESP8266 Forum 2015-09-10T20:34:37+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=1043 2015-09-10T20:34:37+08:00 2015-09-10T20:34:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1043&p=3645#p3645 <![CDATA[Re: Deep sleep option 4 - RF works/current consumption is normal after wake up]]>
jakasi2 wrote:
hey,

I connected GPIO16 to RST and wrote a simple program that sends data over WiFi. I am using Arduino IDE so I tried the API calls in the package. I tried:
  • Code:

    ESP.deepSleep(10*1000000, RF_DISABLED);
  • Code:

    ESP.deepSleep(10*1000000, WAKE_RF_DISABLED);

... and it didn't work. Power consumption drops when the device enters deep sleep mode but goes back to normal when it returns from it. RF also works and I can send data over WiFi.

Then I tried ESP8266 SDK calls. I imported ..

Code:

extern "C" {
  #include "user_interface.h"
}


.. and called ..

Code:

system_deep_sleep_set_option(4);
system_deep_sleep(10*1000000);


.. and the behaviour is the same.

How can I wake up the chip with RF turned off (lower power consumption)?

Thanks


hi,
When "deep sleep option == 4", RF disabled after deep-sleep wake up, the device is not able to transmit or receive data after wake up.
Could you give me a test demo using 8266 SDK ?

Statistics: Posted by ESP_Alfred — Thu Sep 10, 2015 8:34 pm


]]>
2015-09-01T14:31:21+08:00 2015-09-01T14:31:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1043&p=3517#p3517 <![CDATA[Deep sleep option 4 - RF works/current consumption is normal after wake up]]>
I connected GPIO16 to RST and wrote a simple program that sends data over WiFi. I am using Arduino IDE so I tried the API calls in the package. I tried:
  • Code:

    ESP.deepSleep(10*1000000, RF_DISABLED);
  • Code:

    ESP.deepSleep(10*1000000, WAKE_RF_DISABLED);

... and it didn't work. Power consumption drops when the device enters deep sleep mode but goes back to normal when it returns from it. RF also works and I can send data over WiFi.

Then I tried ESP8266 SDK calls. I imported ..

Code:

extern "C" {
  #include "user_interface.h"
}


.. and called ..

Code:

system_deep_sleep_set_option(4);
system_deep_sleep(10*1000000);


.. and the behaviour is the same.

How can I wake up the chip with RF turned off (lower power consumption)?

Thanks

Statistics: Posted by jakasi2 — Tue Sep 01, 2015 2:31 pm


]]>