Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

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

share|improve this question
1  
FYI, this is called an edge detector circuit, and is the falling edge variant. –  SevenSidedDie Feb 19 '13 at 22:35
    
Thanks, I'll go look both of them up :) –  Jon Story Feb 20 '13 at 15:00
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
    
Absolutely perfect, thankyou –  Jon Story Feb 19 '13 at 21:31
    
@JonStory No problem, you can move things around to make it a bit more compact. I just wanted to get a clear picture. –  user9983 Feb 19 '13 at 21:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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