Hello Guys,
I was looking for latching circuit and i found below circuit.
Case1: When SW S1 is pressed momentarily below is current path . M1 will turn ON and Vbat appears at Vin marked red. Once Vin makes MCU wakes up and GPIO pin enable the gate of M2 via internal pull up. GPIO pin kept as input pin.
Case2. If some pressed sw S1 for longer duration. The MCU GPIO see low and it pull low(open) to it and now M2 gate see low and OFF.
Until now i have understood this.
The same application i wanted to use but I see the problem here.
Lets say if S1 if pressed falsely for longer time so it will drain the battery by 4.2V/100K= 42uAA and which is not good.
So could anyone help me to solve this problem ?
Thanks in Advance!
Best regards,
I was looking for latching circuit and i found below circuit.
Case1: When SW S1 is pressed momentarily below is current path . M1 will turn ON and Vbat appears at Vin marked red. Once Vin makes MCU wakes up and GPIO pin enable the gate of M2 via internal pull up. GPIO pin kept as input pin.
Case2. If some pressed sw S1 for longer duration. The MCU GPIO see low and it pull low(open) to it and now M2 gate see low and OFF.
Until now i have understood this.
The same application i wanted to use but I see the problem here.
Lets say if S1 if pressed falsely for longer time so it will drain the battery by 4.2V/100K= 42uAA and which is not good.
So could anyone help me to solve this problem ?
Thanks in Advance!
Best regards,