Hello,
I am looking for help how to build the power switch in my controller.
Let’s assume there is a 2x 3,6V li-Ion battery powering the microcontroller with sensor on input and graphic LCD TFT display as an output. Also there is a SMPS flyback converter which upconverting the battery voltage (2x3,6V=7,2V) to stabilized +400V dc to power the sensor, battery charger, additional regulator powering microcontroller (3,3V).
I would like to add the power switch between battery and rest of the circuit. Pushing the tact button the flyback converter and microcontroller should be on, and on the long push (i.e. 2 second) the power should be off. Of course it is possibility to connect pushbutton to the microcontroller GPIO lines or INT input, but I would to minimize current leakage.
I am looking for any design ideas, proposition of the schematic and maybe help how to minimize the current with off state. This is because the meter will be used very ocassionally, assume once per 6 months by 5 minutes.
Marvin