Dual Edge Trigger

A Dual Edge Trigger (or dual-edge detector) converts a steady toggle input—like a lever turning on or off—into a brief redstone pulse every time the input changes state. This tutorial combines two 1-wide single-edge triggers side-by-side (one inverted) so your lever behaves just like a button with fully customizable pulse lengths.

Pulse CircuitsBeginnerJava & Bedrock
Dual Edge Trigger video tutorial

Video: Minecraft Redstone Tutorial | Lever act like a Button | Dual Edge Trigger | Rising/Falling Signal by MRCRUCIAL

How to build it

  1. Build Two Vertical Torch Towers

    Set up two parallel 1-wide vertical wiring columns using solid building blocks and redstone torches so the signal can travel straight up each column.

  2. Place the Delay Repeaters

    Behind the two vertical columns, place two Redstone Repeaters side-by-side (one for each module) and set both of them to maximum delay (4 ticks).

  3. Build the Staircase Wiring

    Build a small block staircase leading from the repeaters up to the top of the vertical wiring columns, then lay Redstone Dust along the blocks to connect them.

  4. Add the Output Torches and OR Gate

    Place two Redstone Torches on the front of the two modules and merge their outputs together with a line of Redstone Dust (forming an OR gate) leading to your output device.

  5. Invert One Input Side

    At the input side of the two parallel tracks, add a simple redstone torch inverter (a solid block with a Redstone Torch) in front of just one of the two lines.

  6. Connect the Lever Input

    Connect both the normal input line and the inverted input line together with Redstone Dust and attach a Lever. Flipping the lever either way will now send a quick pulse to the output.

How it works

This circuit works by pairing two 1-wide single-edge pulse limiters side-by-side and joining their outputs with an OR gate (a shared redstone dust line).

  • Rising Edge (Lever ON): When the lever is flipped on, the un-inverted module immediately starts changing state. Because the repeater line is set to maximum delay, there is a brief window before the delayed branch turns off the front output torch, creating a short pulse.
  • Falling Edge (Lever OFF): Because the second module has a redstone torch inverter at its input, turning the lever off turns the inverted line on. This triggers the second single-edge detector in the exact same way, firing a pulse when the lever is switched off.
  • Pulse Timing: A single repeater on max delay creates a pulse that is even quicker than a standard button. Adding a second repeater to each line matches the approximate duration of a normal stone button.

Tips & variations

  • Customize Pulse Length: You can extend the repeater line as far back as you need before building the staircase up to the vertical wiring. More repeaters equal a longer output pulse.
  • Asymmetrical Pulses: Because the rising-edge and falling-edge modules are separate, you can put different numbers of repeaters on each side so that flipping the lever ON produces a different pulse length than flipping it OFF.
  • Single Edge Trigger Variant: If you only want a pulse when the lever turns on (or only when it turns off), simply build one of the two 1-wide modules instead of both.
  • Silent Operation: Since this design relies strictly on redstone torches and repeaters rather than pistons, it is completely silent and works reliably across different editions of Minecraft.

Frequently asked questions

How do I make the pulse last as long as a regular Minecraft button?
Use two repeaters set to maximum delay on each side instead of just one. A single repeater creates a very fast pulse, while two repeaters roughly match a button's duration.
Can I make the ON pulse longer than the OFF pulse?
Yes! Because the circuit uses two independent single-edge triggers side-by-side, you can add extra repeaters to one side while keeping the other side short.
How do I turn this into a single edge trigger?
Simply remove one of the two side-by-side modules. A single module acts as a rising-edge trigger (or a falling-edge trigger if you keep the input inverter).

Components used

More dual-edge detector