Long press detection to trigger 555

crutschow

Joined Mar 14, 2008
38,512
AK, if interested, below is the LTspice sim of your post #19 circuit:
I had to tweak the values of C1-R4 and C4-R3 (below references) to get closer to the desired times.
As expected, the oscillations (blue trance) are started by the Start signal (green trace) after a 3 second delay, and then stopped by the Stop signal (yellow trace), or after about 60 seconds otherwise.

1704828865682.png
 
Last edited:

eetech00

Joined Jun 8, 2013
4,705
If you want to stay with a 555 type device, here is a version using a TLC555 dual timer (one chip).
1. Start PB must be held 3 seconds or longer to begin sequence.
2. Sequence starts by triggering U1A, a 60 second one-shot timer.
2. U1A removes reset from U1B, a 5 second astable multivibrator, allowing it to oscillate at 95% duty cycle.
3. Reset PB resets the whole circuit. Circuit is then ready for another cycle.

(R7,R9,D1 pre-charges timing cap C6)

Edit: Added D2 per post #23.

1704833378086.png


1704830172565.png
 
Last edited:

AnalogKid

Joined Aug 1, 2013
12,134
ee - I think you need a crutschow diode between U1A pin 5 and pin 6. Otherwise, the 3-second timer takes over 20 seconds to reset.

Otherwise, I missed being able to combine the flipflop and monostable into one 555. Nice work.

ak
 

eetech00

Joined Jun 8, 2013
4,705
ee - I think you need a crutschow diode between U1A pin 5 and pin 6. Otherwise, the 3-second timer takes over 20 seconds to reset.
Otherwise, I missed being able to combine the flipflop and monostable into one 555. Nice work.
ak
dang it.....

I saw it, I liked it, I forgot about it, <sigh>...

Thanks AK, I've corrected the schematic post #22.

edit: removed attachment.
 
Last edited:

eetech00

Joined Jun 8, 2013
4,705
I believe with the following modified version of the circuit in post #22, will allow the use of only one SPST NO switch.
Basically, anytime the button is pressed, there is a short pulse generated to reset the circuit.
If the button is pressed and held, a short reset pulse is still generated, but the 3 second delay continues until the timer U1A is triggered, starting the 60sec timer. If the button is then pressed again, the circuit is reset, and ready for another cycle.

Graph #1 show a simulation with 1 long press.
Graph #2 shown a simulation with 1 long press, then a followup press at about 40 sec into the 60 sec timing cycle.

1704902823466.png

Graph #1
1704902900474.png

Graph #2
1704902936551.png
 
Top