User:Munin295/Pulse circuit

A pulse circuit is a redstone circuit which manages pulses.

Monostable circuit
A monostable circuit is a circuit with only one stable output state (either on or off). While in its stable output state, it will not change its state unless triggered by its input, but in its unstable state it will revert to its stable state (either after a time specifically designed for, or after a random time).

Edge Detector
An edge detector emits a pulse when it detects the edge of its input pulse: either the rising edge of the pulse (when it turns on), the falling edge of the pulse (when it turns off), or both.

There are two design strategies which are useful for all three edge detectors:
 * A NOR-gate edge detector uses a NOR gate to compare the input's current state to the inverse of its state a few ticks ago (or vice versa).
 * A dust-cut edge detector uses the time difference between when a piston is activated and when its block stops moving to suppress the output signal on the correct edge of the input.

Rising edge detector
A rising edge detector emits a pulse when its input turns on (the rising edge of the pulse).


 * Circuit Breaker


 * 1&times;3&times;3 (9 block volume), 1-wide
 * circuit delay: 1 to 4 ticks, pulse output: 1 to 4 ticks


 * Dust-Cut Rising Edge Detector


 * 1&times;5&times;3 (15 block volume), 1-wide
 * circuit delay: 1 tick, pulse output: 1 tick


 * NOR-Gate Rising Edge Detector


 * 2&times;4&times;3 (24 block volume)
 * circuit delay: 2 ticks, pulse output: 2 ticks

Falling edge detector
A falling edge detector emits a pulse when its input turns off (the falling edge of the pulse).


 * Dust-cut falling edge detector


 * 1&times;4&times;3 (12 block volume), 1-wide
 * circuit delay: 0 ticks, pulse output: 2 ticks


 * NOR-Gate Falling Edge Detector


 * 2&times;4&times;3 (24 block volume)
 * circuit delay: 1 tick, pulse output: 2 ticks

Dual edge detector
A dual edge detector emits a pulse when its input changes (at either the rising edge or the falling edge of the pulse).


 * Dust-Cut Dual Edge Detector


 * 1&times;4&times;3 (12 block volume), 1-wide
 * circuit delay: 1 tick (rising edge) or 0 ticks (falling edge), pulse output: 1 tick

Pulse generator
A pulse generator is a circuit which generates a pulse in response to player activation.

Common choices for building pulse generators include a button or pressure plate controlling a rising edge detector, or a lever controlling a dual edge detector.

Pulse limiter
A pulse limiter is a circuit which shortens the length of a pulse.

Any rising edge detector can be used as a pulse limiter.