0

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

Antoine
  • 3
  • 3

1 Answers1

0

The digital components of ltspice has two only 0 and 1 (low and high). Download a library for LS and for CD series to behave more like the real components. And make symbols for them.

lakis
  • 21
  • 5