Deep sleep option 4 - RF works/current consumption is normal after wake up

jakasi2
Posts: 1
Joined: Mon Aug 31, 2015 4:15 pm

Deep sleep option 4 - RF works/current consumption is normal after wake up

Postby jakasi2 » Tue Sep 01, 2015 2:31 pm

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: Select all

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

    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: Select all

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


.. and called ..

Code: Select all

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

ESP_Alfred
Posts: 56
Joined: Mon Nov 10, 2014 7:31 pm

Re: Deep sleep option 4 - RF works/current consumption is normal after wake up

Postby ESP_Alfred » Thu Sep 10, 2015 8:34 pm

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: Select all

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

    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: Select all

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


.. and called ..

Code: Select all

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 ?

Who is online

Users browsing this forum: No registered users and 3 guests