2

I'm not sure if there's a simple way to do this, or even a way at all.

Basically what I have is a switch which is on, and two outputs.

The first output is very simple - it goes on when the switch is turned on, and off after a short delay when the switch is turned off. Easily achieved with redstone repeaters

The second output is more complex.

  • When the switch is steady off, it has to be off.
  • When the switch is steady on, it can be either on or off, it doesn't matter, apart from the first few seconds
  • When the switch is turned on, the output must be off, at least for the first few seconds.
  • When the switch is turned off, the output must be off, and then pulse on and off after a brief delay (which I need to be able to control)

If that makes any sense whatsoever?

Any suggestions appreciated

Jon

1
  • 1
    FYI, this is called an edge detector circuit, and is the falling edge variant. Commented Feb 19, 2013 at 22:35

1 Answer 1

3

Here is a circuit that should work for you.

enter image description here

In this image, the lever (input) is off and the piston (output) is off. You can tell the input is off because the torch above the lever is still on, which means it is not receiving power. You can tell the output if off because, well, you get the idea there.

Turning the input on will do nothing to the output. Turning the input off will wait according to how long you set the delay on the repeaters connected to the output, then briefly pulse the output. Add more repeaters to the output as needed.

1
  • @JonStory No problem, you can move things around to make it a bit more compact. I just wanted to get a clear picture.
    – user9983
    Commented Feb 19, 2013 at 21:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.