Skip to main content
added 215 characters in body
Source Link
RoyC
  • 10.2k
  • 6
  • 28
  • 44

Put in a diode Anode to C1 R1 junction Cathode to switch R2 junction and you should get pretty close.

This (mostly) discharges C1 when the button is pressed restarting the timing period.

Or alternately (the really simple solution) eliminate R2 disconnect the DC (discharge) pin. Wire tr to th and the + side of the switch. This is not a finite state machine it is a simple retriggerable monostable.

Put in a diode Anode to C1 R1 junction Cathode to switch R2 junction and you should get pretty close.

This (mostly) discharges C1 when the button is pressed restarting the timing period.

Put in a diode Anode to C1 R1 junction Cathode to switch R2 junction and you should get pretty close.

This (mostly) discharges C1 when the button is pressed restarting the timing period.

Or alternately (the really simple solution) eliminate R2 disconnect the DC (discharge) pin. Wire tr to th and the + side of the switch. This is not a finite state machine it is a simple retriggerable monostable.

Source Link
RoyC
  • 10.2k
  • 6
  • 28
  • 44

Put in a diode Anode to C1 R1 junction Cathode to switch R2 junction and you should get pretty close.

This (mostly) discharges C1 when the button is pressed restarting the timing period.