In MCU-based projects, this design uses a single push button to switch on and switch off 5-V and 15-V supplies in sequence.
Figure 1 gives a simple circuit for the PUSH ON, PUSH OFF function with only a few inexpensive components. In this design, the output is connected to the input of the gadget when you press the push ...