Perfect test for uninterrupted redstone signal of a certain length?
Currently I am looking for a (preferably rather compact circuit) that will test whether a certain signal has been on for X amount of seconds.
Just get a Pulse Length Detector, you might say. Only there's a problem with that. When the input signal gets turned off and then back on, the old 'test' will still be successful and a signal will be emitted.
Is it possible to somehow make a 'perfect' test for an uninterrupted redstone signal of X seconds that does not get confused by several shorter pulses?
Best Answer
Use a long clock of the length of time you need, that is disabled when it has no input signal and starts when it gets signal.
To make the clock only tick once: latch its output, invert it, AND it with the target signal, and feed that into the clock's enable line instead of the raw target signal. Finally, attach the inverse of the target signal to the reset line of the latch, else it will be a one-time-only circuit.
Take the output either before or after the latch, depending on whether your desired output is a pulse or a constant signal.
Pictures about "Perfect test for uninterrupted redstone signal of a certain length?"



How do you keep a long Redstone signal going?
Redstone WirePower can travel a distance of 15 blocks along a wire. To increase the range, place Redstone Repeaters in the circuit; this will increase the range of power by another 15 blocks.How do I check my Redstone signal strength?
Signal transmission. Redstone signals can be transmitted from one place to another with redstone wire \u2013 a line of redstone dust. Redstone wire can transmit a signal only 15 blocks \u2013 after that it needs a repeater to boost the signal back up to full strength.Simple Redstone Signals Through Unloaded Chunks - Faster Ideas Needed!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: George Milton, Monstera, Владимир Васильев, Monstera
