Shut off ESP8266 more quickly?
Posted: Mon Jun 26, 2017 4:02 am
I am using SDK 1.3/ arduino 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
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