Button delay help needed

Thread Starter

Robbog

Joined Feb 3, 2022
1
Hello all,

I hope this is possible as i am pulling my hair out trying to find a circuit that will meet my requirements. I am designing a custom game controller where i will require to have 2 to 3 button presses but 1 of the buttons will need a delay of around 1 secound or slightly less.

I have tried to build a 555 delay on which works with an LED but when i test with the donor controller i get all sorts of issues so reaserching a little more and found i would need a pulse delay circuit so the input button signal would be the same as the output signal only with the delay.

Would any of you know if this can be done using a 555?
 

MisterBill2

Joined Jan 23, 2018
27,519
It sounds like you are wanting to delay both the rising edge of the pulse and also the falling edge. OR do you always send a specific length of pulse one second after the button is pressed? Two very different tings.
 

crutschow

Joined Mar 14, 2008
38,506
i would need a pulse delay circuit so the input button signal would be the same as the output signal only with the delay.
So you need to delay the pulse but preserve the pulse-width, is that correct?

One simple way to do that is with a clocked shift-resister (acting as a digital delay line) with the clock frequency set to give the desired delay.
For example the CD4031 is a 64-bit shift-register, so a 64Hz clock (such as from a 555 astable) will give a 1 second delay from input to output.
The pulse-width output resolution would be (1/64) of the delay time or 15ms for a 1 second delay.
This means the output pulse-width would be within ±15ms of the input pulse width.
I assume that would be sufficient for your purposes.

You can, of course, change the clock frequency to change the delay to your preference.
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,519
To add a fixed delay but preserve the pulse width is not possible with a single 555 timer IC. It will require two time delay devices, the first one triggered at the close of the button switch and the second one triggered by the release of the button switch. That part is easy with a CMOS dual monostable such as a CD4098, which can be triggered by either a rising edge or a falling edge. The first can set an RS flip-flop,(CD4013), while the second one will then reset it after the second delay is completed. So the circuit will require two IC devices, two resistors, and two capacitors. The two delays may nee to be adjusted to exactly the same in order to not affaect the pulse width.
 
Top