I found there is a API called "system_phy_set_rfoption" on the document, and I tried it in user_rf_pre_init(), but it seems not working at all!
It seems that the API is related to deep-sleep, but the GPIO16 on our PCB board was connected as other function, which means we can not use deep-sleep.
I'd like to give our customers an option to turn wifi off while other parts including the CPU-core are working, is there any way?
Thank you!
Can WIFI be turned off?
Re: Can WIFI be turned off?
Postby ESP_Faye » Thu Jul 16, 2015 2:11 pm
Hi,
Yes,system_phy_set_rfoption is only available when wake up from deep-sleep.
Sorry that we don't have the API you want now. .
But we will think over your request, and let your know if there is any update.
Thanks for your interest in ESP8266 !
Yes,system_phy_set_rfoption is only available when wake up from deep-sleep.
Sorry that we don't have the API you want now. .
But we will think over your request, and let your know if there is any update.
Thanks for your interest in ESP8266 !
Re: Can WIFI be turned off?
Postby Harold L. » Sat Jul 25, 2015 1:13 pm
I tried another API 'wifi_station_disconnect', but the power consumption didn't go down at all, instead, it was rising!
This is the recording of the total current consumed by our board:
WIFI On: 70mA. Once in a while went up to 100mA
WIFI Not available(AP turned off): 130mA
WIFI Off(wifi_station_disconnect): 130mA
We'd like to save power when WIFI is not available (e.g. we wish users can take our product with them, recording data offline with a small battery)
Wish you can offer some help, it really natters to us, thanks!
This is the recording of the total current consumed by our board:
WIFI On: 70mA. Once in a while went up to 100mA
WIFI Not available(AP turned off): 130mA
WIFI Off(wifi_station_disconnect): 130mA
We'd like to save power when WIFI is not available (e.g. we wish users can take our product with them, recording data offline with a small battery)
Wish you can offer some help, it really natters to us, thanks!
Who is online
Users browsing this forum: No registered users and 79 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.