ESP8266 quick power down for battery operated appication

wb8wka
Posts: 2
Joined: Mon Jan 02, 2017 4:09 pm

ESP8266 quick power down for battery operated appication

Postby wb8wka » Mon Jun 26, 2017 4:57 pm

I am using SDK 1.3/ ardino 2.0.0 so I can use wifi. I want to optimize power. After the packet is sent, the 6 highest pulses, the ESP8266 stays powered up for 100ms. I have attached current plot at bottom How can I reduce this time?



wifi_set_channel(11);
delay(2); // Delay in MS
wifi_send_pkt_freedom(packet, 68, 0); // (Send 6 times)
ESP.deepSleep(6000000, WAKE_NO_RFCAL); // Sleep for 6 seconds, WAKE_RF_DEFAULT

061517_1Ohm_100mvDiv.png
061517_1Ohm_100mvDiv.png (5.8 KiB) Viewed 8384 times

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

Re: ESP8266 quick power down for battery operated appication

Postby Her Mary » Wed Jun 28, 2017 3:02 pm

Can the documentation "ESP8266 Low Power Solutions" help? http://www.espressif.com/en/support/download/documents

wb8wka
Posts: 2
Joined: Mon Jan 02, 2017 4:09 pm

Re: ESP8266 quick power down for battery operated appication

Postby wb8wka » Sat Jul 08, 2017 6:31 pm

It did..... thank you, I went to Arduino 2.3.0 which is SDK 1.5.3 which allowed me to use:

system_deep_sleep_set_option(2); // Wake with No RF CAL
system_deep_sleep_instant(6000000);

which trimmed off 96ms from the end... exactly what I wanted, however now RF_CAL seems to be occurring on every wakeup despite the fact I'm setting it to be off. That's a big power spike which I don't want.

I'm not having any luck with Espressif tech support getting back to me so any suggestions welcome.

P.S. system_deep_sleep_set_option(4); does work in that it turns off the RF altogether, so there seems to be a bug with system_deep_sleep_set_option(2);

P.P.S. I also wrote esp_init_data_setting.bin to 0x3fc000 on a Wemos d1 mini board

070517_1Ohm_50mvDiv_3.0V_2.3.0_InstantSleep.png
070517_1Ohm_50mvDiv_3.0V_2.3.0_InstantSleep.png (6.25 KiB) Viewed 8336 times

NormaVen
Posts: 1
Joined: Tue Jun 20, 2017 6:10 pm

View first unread post

Postby NormaVen » Sat Jul 15, 2017 6:41 am

Try the "View new posts" for a list of recent additions. Works whether or not there are any that are "unread". - AL in Indy

Видела тут интересный мастурбатор, я нередко в командировке, вот хочу своему парню купить, как считаете это помогает избежать измены?

Who is online

Users browsing this forum: No registered users and 64 guests