BLE consuming more current

in my code what i am doing is that i am turning on BLE for initial 5 min and it consumes around 72.81 mA of current after i turned off my BLE and my LED starts blinking it consumes 63.10mA, after this i deleted the BLE part from my code and started just blinking my led in that it consumes around 46.18mA, now my question is that why is it consuming so much current even if the BLE is off, please reply quickly its urgent

Not to me.
Please define 'it' and supply a full schematic and code.

Which Arduino are you using?

ESP32 dev module

ESP32 dev module does not have an LED.
Need to know exactly which module/devkit/board you are using because 46mA may be normal.

ESP32-WROOM-32 i have connected external LED

What is the value of the current limiting resistor?
What is the color of the LED?

Resistor is 10kohm and led color is red

With WiFi and Bluetooth turned off and running at 240MHz the ESP32 dual core can consume anywhere between 30mA and 68mA.

So 46mA is reasonable.

The best you can do is put it to sleep

i don't want put it to sleep
Why is there a difference of 20mA when both conditions are the same? In one case, the BLE turned off, and then the LED started blinking, while in the other case, only the LED was blinking.

Sorry but what the bluetooth APIs actually do in regards to the bluetooth radio is beyond my knowledge.

What happens when you put the ESP32 into light sleep, which basically just pauses the program ?

Because after BLE off i want do something more function

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.