I am trying to have a switch (momentary) on a remote, that will send power to the LDO. But as the switch is momentary, the power will be disconnected.
Can I have a transistor or some Mosfet to keep the power on, via the microcontroller pin, once the microcontroller is powered on.
This way the microcontroller can cut the power once done, and whenever the button is pressed, the microcontroller can keep the power on, until work done, or another button is pressed.
Is there any example circuit for the same, or any better way. On/Off switch is not possible, due to design constraints.