Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mikekgr
#71211 Dear Sirs,
in one of my projects, I want to use ESP8266 more like Arduino, without WiFi and using all of its potential and speed.
So the question is, is there any way to fully "disable" WiFi and all underling support routines and interrupts?

Thanks and Best Regards,
Mike Kranidis
User avatar
By QuickFix
#71215 No, not entirely: the WiFi stack runs in its own "Thread", but you can "Nearly" turn it off completely. :)

What you do is to let the WiFi-stack go to sleep, but since there's always a watchdog timer checking the stack, you'll have to reset that watchdog every once in a while (though it should be possible to completely turn off the watchdog).

See this article on Hackster.io for more information. :idea:
User avatar
By mikekgr
#71217 Thanks a lot dear friend.
I will try to implement it.


QuickFix wrote:No, not entirely: the WiFi stack runs in its own "Thread", but you can "Nearly" turn it off completely. :)

What you do is to let the WiFi-stack go to sleep, but since there's always a watchdog timer checking the stack, you'll have to reset that watchdog every once in a while (though it should be possible to completely turn off the watchdog).

See this article on Hackster.io for more information. :idea:
User avatar
By schufti
#71229 there are other (better) ways to disable RF.
you can do
ESP.deepSleep(1000, WAKE_RF_DISABLED);
in setup() if you discover that RF is enabled.
So RF will securely be disabled after reboot and for the loop().

Or have a look at https://github.com/cnlohr/ (especially channel3) for what can be done with esp8266 hacking.