I'm developing an application on ESP32 using the deep-sleep feature to save battery. I read that ESP32 consumes only uA when it works on deep-sleep.
I bought a board from Az-Delivery called D1-R32 with ESP32-WROOM-32 inside.
I programmed it to enter in deep sleep, and I used some AA batteries to power it. I also powered on my oscilloscope and I used a shunt resistor (1 ohm - 1%) to measure the current flowing from the batteries to the ESP32 board.
The first measure I obtained is about 12 mA. I tried to change the LDO regulator, because the one that the board has is the AMS1117, and that LDO regulator has a quiescent current of 10 mA, so I thought... problem solved?
I replaced the LDO regulator for another one that has 70 uA quiescent current. I powered the ESP32 modules with the batteries, connected the oscilloscope again and now I get 6 mA.
I also tried to disconnect the on state LED. It only dropped to 5.7 mA.
Is there something on this board, that I can modify to achieve a power consumption of uA?