Momentary ESP
Posted: Tue Oct 09, 2018 10:24 am
Hi, I'm making a "mometary ESP" device - somewhat similar to the Amazon Dash button and whilst all the code is working fine I am having a slight problem with the hardware - I've attached the schematic.
The circuit works perfectly well in that everything switches on with a press of the button, the first line of code pulls GPIO2 LOW to keep the circuit powered on and at the end it makes GPIO2 HIGH to power itself off.
The issue is with quiescent current. The HT7333A regulator is drawing 3.8uA when the circuit is off. I really can't see how this can happen as the device has no path to ground once the MOSFET is open. I appreciate that 3.8uA is particularly small but the idea is that this will last for some considerable time on a set of 3xAAA batteries.
Can anyone more experienced that me tell me how this HT7333A is drawing current? How is the circuit completed?
The circuit works perfectly well in that everything switches on with a press of the button, the first line of code pulls GPIO2 LOW to keep the circuit powered on and at the end it makes GPIO2 HIGH to power itself off.
The issue is with quiescent current. The HT7333A regulator is drawing 3.8uA when the circuit is off. I really can't see how this can happen as the device has no path to ground once the MOSFET is open. I appreciate that 3.8uA is particularly small but the idea is that this will last for some considerable time on a set of 3xAAA batteries.
Can anyone more experienced that me tell me how this HT7333A is drawing current? How is the circuit completed?