push on, hold to turn off

Thread Starter

Captawesome17

Joined Jul 18, 2025
4
Hello! Ive tried searching for this for a while before finally coming here. I'm looking for the datasheet or schematics on a popular "push/hold to turn on and hold to off" circuitry that uses a momentary membrane button. These on/off buttons are popular on heated jackets, heated socks etc and I simply cant find this. Any help would be appreciated. I have attached a screenshot of said button.

Thanks!
 

Attachments

Jerry-Hat-Trick

Joined Aug 31, 2022
775
Maybe an application for an ATtiny85 processor. 8 pin, 5 I/O, programmable with the Arduino IDE. Can also drive the LEDs (with a resistor in series) You can program a Digispark ATtiny85 directly - it has a processor and voltage regulator on board, but once you've proven it does the job just use the bare IC which needs a programmer you can easily build combined with an Arduino UNO
 

Thread Starter

Captawesome17

Joined Jul 18, 2025
4
So post the circuit you already have so we can better suggest a solution.
This current schematic puts power to a 7805 which puts 5v to a chip that produces frequencies and leds. We have it currently "press to turn on and hold 1 second to turn off". If you dont hold to turn off and just press, it causes the chip to freeze and the leds to spazz out until the button is held longer. I can make a video if needed.
 

Attachments

Thread Starter

Captawesome17

Joined Jul 18, 2025
4
Is it okay if you just press to turn on and press to turn off, with no time limitations for either press?
We tried that by changing one of the resistors, now when you turn it off, you have to wait about 2-3 seconds before you can turn it back on due to having to wait for the cap to discharge.
 

panic mode

Joined Oct 10, 2011
4,864
you can check eevblog on using button to power on/off devices.
this one is from Art of Electronics (Horowitz). Q3 is optional (if you want high side switch)
1752870142590.png
 

crutschow

Joined Mar 14, 2008
38,316
you have to wait about 2-3 seconds before you can turn it back on due to having to wait for the cap to discharge.
You just need to modify the time-constant.
So what's the minimum time you can wait?
Is 40ms too long?

Below is the LTspice sim of a 555 toggle circuit where the push-button (green trace) has to be off for no more than 40ms, before a retrigger to toggle the 555 output (yellow trace):
It could be made even shorter if necessary.

1752889507666.png
 
Last edited:
Top