
Video: Tutorial: Extreme Delay/Duration Dual Edge Detector by R.K.F. Walter
How to build it
- Set Up the Input Block
Place your main input block with a lever attached so you can toggle both rising and falling edges during testing. Leave space behind it for the dual edge detection and timing line.
- Build the Dual Edge Trigger
Wire the input line so that both turning the lever ON and turning it OFF cause a state change in the trigger mechanism. Use redstone dust, a repeater, and a torch or piston arrangement to detect both signal transitions.
- Install the Hopper Timer
Place two hoppers facing into each other to form the long-duration timer section capable of holding up to 5 stacks of items (up to 128 seconds of transfer time). Connect your edge trigger so that a state change unlocks one hopper while locking the other.
- Add the Comparator Readout
Place redstone comparators reading from the hoppers into solid building blocks. Run redstone repeaters or dust from these blocks to capture the state of the items moving between the hoppers.
- Configure the Output Mode
Wire the output line from the timer readout depending on your need: take the direct active signal while items are transferring for a long pulse duration, or invert/edge-detect the end of the cycle to produce a short pulse after the full delay.
- Load Items and Test
Place stackable items into one of the hoppers based on your desired delay (up to 128 seconds at 0.4 seconds per item). Flip the input lever on and off to verify that the circuit triggers cleanly on both edges.
How it works
This circuit combines a dual edge detector (which responds to both a 0 → 1 rising edge and a 1 → 0 falling edge) with an item-transfer hopper timer to achieve up to 128 seconds of delay or pulse length.
- Edge Detection: Toggling the input switches which side of the timer is locked, initiating an item transfer cycle regardless of whether the input just turned on or off.
- 128-Second Timing: Hoppers transfer 1 item every 4 redstone ticks (0.4 seconds). Five full stacks (320 items) take exactly 128 seconds to move from one hopper to the other.
- Dual Output Options: Reading the active transfer state gives a continuous pulse for the entire duration, whereas reading the completion of the transfer yields a short pulse after the delay finishes.
Tips & variations
- Adjusting the Time: Calculate the exact number of items you need by dividing your target time in seconds by
0.4(for example, 25 items equal a 10-second delay or pulse). - Avoid Retriggering Early: Wait for the items to finish transferring before toggling the input again, otherwise the remaining delay will be shorter than the full cycle.
- Chunk Boundaries: Build the entire hopper timer within a single chunk so that unloading the area does not freeze one side of the detector while the other stays active.





