I have retested it with different measurement scope. The results are 12uA during deep sleep. I can confirm that deep sleep works as expected! It was faulty measurement scope.
Additionally, could you confirm what measuring tool did you use to measure the current consumption?
Hello. I have tested this code and the consumption is 400uA during deep sleep. Are you sure you didint miss an extra “0”. You mentioned 40uA but its 400uA
Thanks for the suggestions. I tried to use the simplest possible example code from Arduino IDE to test deep sleep funcitonality. void setup() {
pinMode(2,OUTPUT);
digitalWrite(2,HIGH);
delay(1000);
digitalWrite(2,LOW);
ESP.deepSleep(5000000);
}
void loop() {
}Since I do not configure/use wifi/ble or any other gpio's and peripherals, I dont think I need to disable anything.
I am getting the same power consumption (about 400uA during deep sleep and about 40mA in active mode. I am certain there is some hardware issue involved. It would be very interesting to hear if DFRobot themselves have managed to get 10-20uA consumption for this particular development board and could provide ideas/instructions on how to achieve this