I am trying to do an ON/OFF switch to power up my MCU when user use a push button : Schematics
When the user clicks once, the MCU should light up. When the user clicks a second time, the MCU should turn off. To do this I thought of the simplest solution, in analogue, which seems to be a flip flop D. I did some simulations on LTspice, it seems to work, but I'm not really sure. Simulation result
I have three questions:
- Why do I get 1V and not 3V at the output of the simulation?
- Does this setup seem OK in reality?
- What to do with the SET & RESET pins: should I leave them unconnected or connect them to GND?
Regards