For a project I need run code every 100ms and send data on wifi every minute.
The deepsleep take ~ 400ms to wakeup an go sleep and take high power in wekeup time. I don't can use deepsleep
Then i will use a sleep and not deepsleep but I have test
void user_rf_pre_init(void)
{
system_phy_set_rfoption(4); //don't run RF
}
and
wifi_set_sleep_type(LIGHT_SLEEP_T ); in user_init
The power consumption are 12mA
But in this document he say we can have less of 1mA
https://nurdspace.nl/images/e/e0/ESP826 ... nglish.pdf
I have also test
while(1)
asm("WAITI 1\n"); //asm instruction for xtensa sleep
but after i have 70mA
Are you a idée for réducte to 1mA?
(in deep sleep I have <1mA and if I manualy stop the quartz by set a pad on gnd I have <1mA)