I am working a piston door with 4 pistons. I am trying to wire it so I can have a switch that works the door on both sides (open and closed) but I am a complete boob on this. Help is much appreciated.
The first thing you will need is a contraption like this if you already have your pistons opening with one lever the way you want it to:
The levers need to be attached to the other end of the device. One lever per side. (Or from the back side, one lever attached to a block with a redstone torch)
Back towards the other end of the redstone contraption, you need to attach that to the redstone line you have for the pistons. You may need to add a repeater or a redstone torch to extend the signal if it is too far from that. (I prefer the Redstone Torch).
The first thing you will need is a contraption like this if you already have your pistons opening with one lever the way you want it to:
The levers need to be attached to the other end of the device. One lever per side. (Or from the back side, one lever attached to a block with a redstone torch)
Back towards the other end of the redstone contraption, you need to attach that to the redstone line you have for the pistons. You may need to add a repeater or a redstone torch to extend the signal if it is too far from that. (I prefer the Redstone Torch).
^^^ Do that if you want to use levers, which I'm guessing is what you meant by switch.
If you want to use buttons though, do this:
^^^ This is a T flip flop, not really my favorite design as it's not very friendly when it comes to serial busing. But you only need this for a door, so it's no biggy. You can use regular or sticky pistons, it makes no difference.
^^^ The dust on top of the inverters will act as your input. Connect both buttons through the same wire. The line is on here, because my screenshot caught the mechanism in action.
^^^ This is a falling edge triggered T flip flop, meaning it toggles states when the input signal goes from high to low, or on to off. If you invert the input, it is now triggered by a rising edge, and it will speed up the output by 10 ticks, a full second.
^^^ This is your output.
Now you know how it works, so I'm going to show you my favorite T flip flop design:
^^^ This design utilizes the block-drop glitch. When a 1-tick pulse is sent to a piston, it extends and retracts very quickly. Because of this, it will actually drop the block on one pulse, and the next time it receives a pulse, the block will be picked up. To achieve this, I like to use a rising edge monostable circuit as a pulse limiter to only allow a 1-tick pulse to output. The torch on the left isn't part of the design, that was just from me playing with it.
This design is the exact same speed as the previous one, but it is much more compact horizontally, and definitely serial bus friendly. Also, you don't have to do any extra tinkering to alter the edge which activates the mechanism. When dealing with doors, traps, and whatnot you're pretty much always going to want a design that is triggered by a rising edge.
^^^ Do that if you want to use levers, which I'm guessing is what you meant by switch.
Definitely want to use levers because this door is in the middle of the hallway and I am trying to keep the outside switch hidden. But appreciate the input
The only problem I am running into is at the back of the gate when I extend my levers. When I do this only one side works oddly.
^^^ Don't do that, OP. There are just too many differences between the versions. Maybe later, when we catch up and have all the redstone features the PC version does.
Definitely want to use levers because this door is in the middle of the hallway and I am trying to keep the outside switch hidden. But appreciate the input
The only problem I am running into is at the back of the gate when I extend my levers. When I do this only one side works oddly.
That's fine, now you'll know how to use buttons for a door ahead of time. Also, I'm not sure what you mean. Only one lever is operating the door? Could you post a few screenshots?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
GT: BHL AKA X
-
View User Profile
-
View Posts
-
Send Message
Forum AdminThe levers need to be attached to the other end of the device. One lever per side. (Or from the back side, one lever attached to a block with a redstone torch)
Back towards the other end of the redstone contraption, you need to attach that to the redstone line you have for the pistons. You may need to add a repeater or a redstone torch to extend the signal if it is too far from that. (I prefer the Redstone Torch).
-
View User Profile
-
View Posts
-
Send Message
Retired Staff^^^ Do that if you want to use levers, which I'm guessing is what you meant by switch.
If you want to use buttons though, do this:
^^^ This is a T flip flop, not really my favorite design as it's not very friendly when it comes to serial busing. But you only need this for a door, so it's no biggy. You can use regular or sticky pistons, it makes no difference.
^^^ The dust on top of the inverters will act as your input. Connect both buttons through the same wire. The line is on here, because my screenshot caught the mechanism in action.
^^^ This is a falling edge triggered T flip flop, meaning it toggles states when the input signal goes from high to low, or on to off. If you invert the input, it is now triggered by a rising edge, and it will speed up the output by 10 ticks, a full second.
^^^ This is your output.
Now you know how it works, so I'm going to show you my favorite T flip flop design:
^^^ This design utilizes the block-drop glitch. When a 1-tick pulse is sent to a piston, it extends and retracts very quickly. Because of this, it will actually drop the block on one pulse, and the next time it receives a pulse, the block will be picked up. To achieve this, I like to use a rising edge monostable circuit as a pulse limiter to only allow a 1-tick pulse to output. The torch on the left isn't part of the design, that was just from me playing with it.
This design is the exact same speed as the previous one, but it is much more compact horizontally, and definitely serial bus friendly. Also, you don't have to do any extra tinkering to alter the edge which activates the mechanism. When dealing with doors, traps, and whatnot you're pretty much always going to want a design that is triggered by a rising edge.
Definitely want to use levers because this door is in the middle of the hallway and I am trying to keep the outside switch hidden. But appreciate the input
The only problem I am running into is at the back of the gate when I extend my levers. When I do this only one side works oddly.
-
View User Profile
-
View Posts
-
Send Message
Retired Staff^^^ Don't do that, OP. There are just too many differences between the versions. Maybe later, when we catch up and have all the redstone features the PC version does.
That's fine, now you'll know how to use buttons for a door ahead of time.