DeepSleep current issue on ESP8266

Setup:

YouTube: Setup Video

  • ESP8266 connected with LDO MCP1700-33 to a 18650.
  • Measuring current through multimeter.
  • Sketch as below, blink few times then go to deepsleep for some seconds.

Issue:

Current on multimeter shows over 8mA in deep sleep mode which should be around 20μa.

Troubleshooting performed:

  • Added delay(100) at end of sketch, same result

Maybe someone could shed some light on whats going on. Highly appreciated!

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
  for (int i = 0; i <= 5; i++) {
      digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
      // but actually the LED is on; this is because
      // it is active low on the ESP-01)
      delay(1000);                      // Wait for a second
      digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off by making the voltage HIGH
      delay(1000);                      // Wait for two seconds (to demonstrate the active low LED)
  }
  
  ESP.deepSleep(10e6);
}

Solved, remove 0ohm resistor to make LDO work!