I have a ESP32 Development board TTGO LoRa SX1276 868MHz Bluetooth & Wi-Fi.
In order to achieve a low current level, I tried to disable the ESP32 Wi-Fi and Bluetooth, with:
#include <WiFi.h> void setup() { WiFi.mode(WIFI_OFF); btStop(); }
But the current consumption is the same. I teste with and without that lines and I don’t see current variation.
Is there another way to turn off the radio on the ESP32?
Thanks,
Best regards
Hi.
After searching for a while, those are the exact same command I’ve found to turn off WiFi and Bluetooth.
Can you try using the following for WiFi and see if it works?
WiFi.mode( WIFI_MODE_NULL );
There is an issue about that in the following link, but I haven’t found any other answer besides your code:
https://github.com/espressif/arduino-esp32/issues/1077
https://github.com/espressif/arduino-esp32/issues/1306
Regards,
Sara