How can I make a redstone button with an X second delay?
I am making a grinder that kills you with lava, water, TNT and sends you into the void. I am having some trouble with the lava. Since lava flows really slow, I need a button that has a delay from 5 to 7 seconds. I've tried circuits with lots of repeaters. How can I create a button which has a 5 to 7 second delay?
The machine is out! 4-way killing machine
Best Answer
Here's a working concept of what you're probably looking for:

The trick is to split the output with varying delays, then each of them take their turn keeping the gate lifted up. The more rows of repeaters you have (with increasing length), the longer the button's signal.
Pictures about "How can I make a redstone button with an X second delay?"



How do you add delay to Redstone?
Signal delay A repeater's delay can be modified by using the Use Item control. Each use increases the repeater's delay by one redstone tick, to a maximum of four redstone ticks, then back to one redstone tick.How do you delay a button in Minecraft?
The simplest way I've found is to hook button number 1 up to a dispenser full of arrows which shoots at button number 2. The arrow hits button number 2 and despawns after 1 minute, extending the timing of your button to a minute.Minecraft: How to Customize Button Delay with Redstone
More answers regarding how can I make a redstone button with an X second delay?
Answer 2
Another concept to use is a little bit more complicated to set up, but is more efficient and space effective in the long run.
- Connect your button to an RS NOR latch to trigger it ON when you press the button.
- Create a long line of repeaters that matches the amount of time you want the button to stay "pressed".
- Connect your line of repeaters to turn your RS NOR latch OFF.
The result is a button the turns the output on, then after X seconds your repeaters will turn it back off.
If you don't know, an RS NOR latch is a bit that "remembers" it's state. Build it by making a redstone clock with 2 nodes.
"-" = Red stone
"O" = Solid block
"*" = Torch on block
--O
*X*
O--
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: jonathan emili, shutter_speed, zaid mohammed, Matheus Bertelli
