Friday 31 May 2013

Redstone Help Required: Specific Clock Circuit


EDIT:
I just need the reset system. I can use a repeater line for controlling a hopper clock to give the output pulse. & then it'll have the start/stop as required. But I can't have a reset (as explained) on that design. & that's all I need. The reset system.


The clock circuit should have the following properties:

1. It can be started & stopped (i.e. mustn't run constantly).

2. It has a fixed run time. If the start signal is given, the clock will operate for this duration & then turn off. If the stop signal is received midway during the run time, the clock will stop & return to it's initial position.

3. It has a 'reset' ability. That's within quotes because it's a different kind of reset than you think. Here's an example to explain.
Say the clock's run time is 30 seconds. I give the start signal, the clock starts running, powering whatever it's hooked up to. If I give the start signal again after just 15 seconds, the clock restarts, i.e. with 30 seconds. The second start signal shouldn't add with the 30 seconds. That's the maximum run time. Any new start signal will reset the clock back to the start of this run time cycle & not add to it.

4. The run time duration can be made to have a large range, from say, 10 seconds to 10 minutes.

5. The stop signal can be neglected if it's too hard to incorporate.

6. Size isn't an issue. Non-buggy running is.

Thank you for reading. I'd be really grateful if you can help me out with this weird request :)