9

I have a setup in a space-station with which I want an airlock with two doors: door X & door Y.

I've remade this setup in the Overworld in a smaller fashion to show you how I've got it set up which you can see here:

Door circuit

Before clicking the button (which is located on the back of the gold block behind the pistons), door X is open and door Y is closed, just making sure you don't confuse them :P)

This is supposed to close door X before opening door Y, after which it closes door Y before opening door X.

Although now it's closing door X, a few ticks later it opens door Y, but then it switches them around just about simultaneously again.

I've tried using a T-flip flop instead of this configuration, but that proves to be a bit too laggy on a multiplayer server (the doors bugged out by opening & closing repeatedly even though I only had a single pulse as input)

How can I get this to work as intended without using up TOO much space?

Update: I just thought of another possibility, which is making the button work like a lever (in my case by using pistons) and having 2 seperate outputs which are being toggled with different timings on each output, which works perfectly.

Now another question arises, if this is the way to do this, how do i get it to repeat itself once (so it works exactly the way I want it) without having to press the button again?

New circuit

12
  • 2
    If possible you should mark up your picture so the components are more clear. Labeling which door is which is sufficient.
    – Sadly Not
    Commented Aug 28, 2013 at 6:21
  • Just added the info & marked up the image :)
    – Yorrick
    Commented Aug 28, 2013 at 6:25
  • 2
    Great first question, +1
    – shanodin
    Commented Aug 28, 2013 at 7:21
  • To repeat itself, you can just use a loop of repeaters off the button press, so they re-inject that signal back as if the button were pressed again after the desired delay. There's probably a more elegant method, but that one is simple. Commented Aug 28, 2013 at 7:53
  • 1
    @yorrick good job, now post what you did as an answer and in two days you can accept it.
    – Ender
    Commented Aug 28, 2013 at 20:14

1 Answer 1

3

Figured it out after a while & had some help from @SevenSidedDie for having the circuit repeat itself once & only once per button press :)

Uploaded a video of the circuit & it's operation.

Thanks to everyone for giving a hand at solving this (or at least trying :) )

Video:

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.