Greetings,
I am designing a low-cost, battery powered consumer electronic product which will use a momentary switch to power the device on and off.
To do this I'm hoping to make a simple circuit to control the enable pin of my LDO (LP5900). When the momentary switch is pressed the LDO enable pin should latch high (with debouncing) turning on the LDO and powering the micro-controller. When the momentary switch is pressed again, the LDO enable pin should pull low, unpowering the device. Additionally the micro-controller should be able to pull the enable pin low when not in use for a period of time.
My current design is using a debouncing IC, but it is too expensive to make it into the final product. Any ideas for a replacement? I think there must be a way to take advantage of the regulator output to latch the enable after the LDO turn-on time, but I can't put my finger on implementation.
Thanks in advance!