• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

High Current ESP32

Q&A Forum › Category: ESP32 › High Current ESP32
0 Vote Up Vote Down
bitoren asked 6 years ago

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

Question Tags: Bluetooth, wifi
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.