Ok, this may seem like a very easy thing to do, but for the life of me I can't seem to get it working.
I am wanting to build a 'secret' tunnel using sticky pistons. I currently have the pistons active constantly, using a redstone circuit. They are deactivated using a button, which retracts the pistons, leaving a 2x2 passageway.
Thing is, I want the pistons to retract for longer. So when I press the button, they stay open for say twice the length of time.
I can delay the 'charge' from the button using repeaters, but this just delays the pistons opening.
Anyone know how to make a button 'charge' last for longer?
Im sure the redstone cavalry will be to the rescue soon, but I don't believe it's possible to control the timing on the button itself. It has a predetermined time that it remains "active" for. Only thing I can think of is set the pistons to delays so like a set of pistons opens then closes behind you and opens in front of you and then closes behind you and so on...sorry :-/
Maybe even (I'm sure I'll be corrected and scolded for this) But! what if you can have them activate some kind of redstone torch/clock dealy that will get the power long enough to where you want it... but will burn itself out like they sometimes do, then that would give you more time... lol. I'm sure it probably would just cause the pistons to flicker on and off all crazy like anyways... I TRIED DANG IT!!
Apologies, just re-looked at the pic. . . If i'm right, this will send 6 charges to the door, each more delayed than the previous? Don't think I'd need that many repeaters though. Lol
The circuit is ok, I just need a bigger/longer charge going to the circuit so that it stays active longer. I could just use a switch on both sides, but buttons are easier to hide.
I had previously done the button open/button close type, that you mentioned. But I always forgot to close it behind me. Lol . I had thought of pressure plates on the other side, but they'd be too easy.
I also need to figure out where, or how, to hide my button. Bookcases would probably be the best, but again, too obvious.
Gotta agree with wolf here. This is the same delay layout I use for anything that requires more than a few ticks of delay and is ideal for holding open a secret door for a short length of time.
dont know why everyone is over complicating this, ive offered a simple and effective solution, ive used this design for months, 100% stable and is all he needs to resolve his dilemma
This should work.
Unless he want's to close the door from the other side, but the OP never stated that.
Please, look at the direction of the repeaters before you think it's wrong/not effective
The current goes through the first row, (by the door) then the next row, and the next row, meaning it will always be on until the longest row is done, but will open the door when the shortest row is done.
Good suggestion, my method is... different
Rollback Post to RevisionRollBack
My Github ด้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้дด็็็็็้้้้้็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้
Please don't state that I'm bumping threads. Because I'm not.
I just wanted to say thanks wolf, for the help. And everyone else of course.
I finally got the button thing working on an extended delay, meaning the passage opens for twice the lengh of time now. I'm also using this for my double Iron doors. (Means I don't have to leg it through before it closes).
One 'issue' though. As I mentioned, the door opens for a longer period, however, the sounds are messed up. It 'sounds' like the door is opening and closing, the opening again. Although the door only opens and closes once.
If I remember right, 4J stated there was an issue with the sound and lighting in the last update? Maybe this is the cause?
Please don't state that I'm bumping threads. Because I'm not.
I just wanted to say thanks wolf, for the help. And everyone else of course.
I finally got the button thing working on an extended delay, meaning the passage opens for twice the lengh of time now. I'm also using this for my double Iron doors. (Means I don't have to leg it through before it closes).
One 'issue' though. As I mentioned, the door opens for a longer period, however, the sounds are messed up. It 'sounds' like the door is opening and closing, the opening again. Although the door only opens and closes once.
If I remember right, 4J stated there was an issue with the sound and lighting in the last update? Maybe this is the cause?
dont know why everyone is over complicating this, ive offered a simple and effective solution, ive used this design for months, 100% stable and is all he needs to resolve his dilemma
I think I see a potential problem with this... If you are using Wolf's design exactly as he shows it, it is possible that you are getting multiple pulses. Basically, his design is splitting the signal into 6 different pulses. The intention is for those pulses to overlap creating one really long pulse. But, the first pulse has 1 tick delay and is 10 ticks long (I believe that's the signal length of stone buttons) so that pulse stops at 11 ticks. The second pulse goes through three repeaters set at 4 ticks each so that pulse is reaching the door at 12 ticks. This means you have 1 tick with no power between the first and second pulse. This could account for the multiple sounds and might be too quick for the graphics to update (not sure about that). Not sure about the 3rd sound you're hearing - but this could be happening somewhere else in the line as well. Try putting another line of two repeaters (each set to 4 ticks) between the lines with the one repeater (set on 1 tick) and the three repeaters and see if that helps. This should eliminate a gap in the pulses and give you the one long pulse you're hoping for. You could also try setting the first repeater on 2 or 3 instead of 1. This would slow down the door opening a bit but should get your pulses to overlap the way you want.
Otherwise you might be right and it's just a sound issue.
If it was me, I'd do this with a self resetting RS Nor latch. When I first saw this topic I looked for a picture online to post that would show what I meant but I couldn't find one and I haven't had a chance to do it myself to show you. It would be more compact and take less resources, but if you're in creative it probably doesn't matter. Wolf's way should work fine if you can just get the signals to overlap properly.
put all repeaters on max apart from the single one, just add more lines to give longer delay
^^^ Use this.
Except not this design, it's easily the worst design possible and I've never understood why people use it. It's bad in the fact that it's over twice the size of other pulse sustainers of equivalent signal length. And it's bad in a survival aspect as it uses a ridiculous amount of the most resource wasting redstone item in the game, other than sticky pistons.
Use any basic SR latch of your choice, I would suggest an RS NOR latch. The output of a set state leads to the door, and also branches to a line leading back to the reset input of the latch. Add as much delay as you need to this line, that's how long the latch will output a high signal before resetting itself. If you want, I can throw one together and post some screenshots.
EDIT: Just realized someone else also caught this. Nice one, sixstring.
but with your design wouldn't the OP need to close the door ?
Nope. The latch clears itself, no interaction necessary on that end. All you have to do is press the button, that sets the latch, which resets itself after a period of time, depending on how much delay one adds. In function, it performs the exact same task as the device you posted, but more efficiently and in a way that is more survival-friendly.
you could also use this design, another 1 i use for all my gates, but you do need to close it behind you, but you can add as many buttons to this design as you like, all go to the same point
-snip-
could i see some pics of that design, id be interest in using it
thanks
The circuit you posted is also a T flip flop... sort of. Not a true T flip flop though, as it functions incorrectly, but was built with the same intended purpose. When toggled to a positive state, there is a brief period where the output is low, resulting in an initial "blink" in the output line. For most doors and such, this is probably going to be acceptable. But, such a design could potentially break a more fickle and delicate machine, or at least result in outputting information that makes no sense. However it's an original and unorthodox design for a T flip flop that I've never seen before, so that earns it some points. Just be careful with what you're using it for and keep it in mind if something goes wrong.
Here is the sustainer I was talking about:
^^^ Kind of a basic diagram, so you can see the logic behind it and understand how it works. This will hold a solid true output for 20 ticks.
^^^ And this is a 1-wide version I just designed as an example of how compact it can be. People generally want a design that is thin, as do I, so this is what I came up with. Of course, if it's more ideal, you can sacrifice some compactness in width to cut down on height and length. This design activates accumulative output and reset branch two ticks slower (doesn't really matter as it's after latch output) because this specific latch outputs low when in a high state and vice versa, so the output must be inverted. This one will hold a solid signal for 21 ticks.
EDIT: And right after I post this, I see where I could've improved the 1-wide design. I hate when this happens. xD
Its a latch with a pulse generator, by simply adding more repeaters to the chain would lengthen the time the circuit remains powered. Because its a latch it can't be 'pulsed' multiple times. I built this on the PC but i've used this same design on xbox.
When I started this post, I thought it'd be a really simple thing to achieve. . .which it kinda is, if you know how red' works.
Reading through the recent comments though, it seems like I've started something! Wonder who can build the most compact and complicated security system, which activates when you open a front via button, and go inside. . then de-activates upon exit.
Hmmm . . . I'm, gonna add that to my mansion now! Can arrows activate pressure plates? . . . arrow activated, lava-fall, gravity death trap! Yeah! Lol
I am wanting to build a 'secret' tunnel using sticky pistons. I currently have the pistons active constantly, using a redstone circuit. They are deactivated using a button, which retracts the pistons, leaving a 2x2 passageway.
Thing is, I want the pistons to retract for longer. So when I press the button, they stay open for say twice the length of time.
I can delay the 'charge' from the button using repeaters, but this just delays the pistons opening.
Anyone know how to make a button 'charge' last for longer?
Maybe even (I'm sure I'll be corrected and scolded for this) But! what if you can have them activate some kind of redstone torch/clock dealy that will get the power long enough to where you want it... but will burn itself out like they sometimes do, then that would give you more time... lol. I'm sure it probably would just cause the pistons to flicker on and off all crazy like anyways... I TRIED DANG IT!!
Apologies, just re-looked at the pic. . . If i'm right, this will send 6 charges to the door, each more delayed than the previous? Don't think I'd need that many repeaters though. Lol
The circuit is ok, I just need a bigger/longer charge going to the circuit so that it stays active longer. I could just use a switch on both sides, but buttons are easier to hide.
I had previously done the button open/button close type, that you mentioned. But I always forgot to close it behind me. Lol . I had thought of pressure plates on the other side, but they'd be too easy.
I also need to figure out where, or how, to hide my button. Bookcases would probably be the best, but again, too obvious.
Yeah, well, my dad is bigger than your dad! Lol
Sorry, you lost me. Hope you wouldn't mind explaining in English?
This should work.
Unless he want's to close the door from the other side, but the OP never stated that.
Please, look at the direction of the repeaters before you think it's wrong/not effective
The current goes through the first row, (by the door) then the next row, and the next row, meaning it will always be on until the longest row is done, but will open the door when the shortest row is done.
Good suggestion, my method is... different
My Github ด้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้дด็็็็็้้้้้็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้
Please don't state that I'm bumping threads. Because I'm not.
I just wanted to say thanks wolf, for the help. And everyone else of course.
I finally got the button thing working on an extended delay, meaning the passage opens for twice the lengh of time now. I'm also using this for my double Iron doors. (Means I don't have to leg it through before it closes).
One 'issue' though. As I mentioned, the door opens for a longer period, however, the sounds are messed up. It 'sounds' like the door is opening and closing, the opening again. Although the door only opens and closes once.
If I remember right, 4J stated there was an issue with the sound and lighting in the last update? Maybe this is the cause?
I think I see a potential problem with this... If you are using Wolf's design exactly as he shows it, it is possible that you are getting multiple pulses. Basically, his design is splitting the signal into 6 different pulses. The intention is for those pulses to overlap creating one really long pulse. But, the first pulse has 1 tick delay and is 10 ticks long (I believe that's the signal length of stone buttons) so that pulse stops at 11 ticks. The second pulse goes through three repeaters set at 4 ticks each so that pulse is reaching the door at 12 ticks. This means you have 1 tick with no power between the first and second pulse. This could account for the multiple sounds and might be too quick for the graphics to update (not sure about that). Not sure about the 3rd sound you're hearing - but this could be happening somewhere else in the line as well. Try putting another line of two repeaters (each set to 4 ticks) between the lines with the one repeater (set on 1 tick) and the three repeaters and see if that helps. This should eliminate a gap in the pulses and give you the one long pulse you're hoping for. You could also try setting the first repeater on 2 or 3 instead of 1. This would slow down the door opening a bit but should get your pulses to overlap the way you want.
Otherwise you might be right and it's just a sound issue.
If it was me, I'd do this with a self resetting RS Nor latch. When I first saw this topic I looked for a picture online to post that would show what I meant but I couldn't find one and I haven't had a chance to do it myself to show you. It would be more compact and take less resources, but if you're in creative it probably doesn't matter. Wolf's way should work fine if you can just get the signals to overlap properly.
-
View User Profile
-
View Posts
-
Send Message
Retired Staff@Ragnarock1982: Use a pulse sustainer, like wolfeuk posted.
^^^ Use this.
Except not this design, it's easily the worst design possible and I've never understood why people use it. It's bad in the fact that it's over twice the size of other pulse sustainers of equivalent signal length. And it's bad in a survival aspect as it uses a ridiculous amount of the most resource wasting redstone item in the game, other than sticky pistons.
Use any basic SR latch of your choice, I would suggest an RS NOR latch. The output of a set state leads to the door, and also branches to a line leading back to the reset input of the latch. Add as much delay as you need to this line, that's how long the latch will output a high signal before resetting itself. If you want, I can throw one together and post some screenshots.
EDIT: Just realized someone else also caught this. Nice one, sixstring.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffNope. The latch clears itself, no interaction necessary on that end. All you have to do is press the button, that sets the latch, which resets itself after a period of time, depending on how much delay one adds. In function, it performs the exact same task as the device you posted, but more efficiently and in a way that is more survival-friendly.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffThe circuit you posted is also a T flip flop... sort of. Not a true T flip flop though, as it functions incorrectly, but was built with the same intended purpose. When toggled to a positive state, there is a brief period where the output is low, resulting in an initial "blink" in the output line. For most doors and such, this is probably going to be acceptable. But, such a design could potentially break a more fickle and delicate machine, or at least result in outputting information that makes no sense. However it's an original and unorthodox design for a T flip flop that I've never seen before, so that earns it some points. Just be careful with what you're using it for and keep it in mind if something goes wrong.
Here is the sustainer I was talking about:
^^^ Kind of a basic diagram, so you can see the logic behind it and understand how it works. This will hold a solid true output for 20 ticks.
^^^ And this is a 1-wide version I just designed as an example of how compact it can be. People generally want a design that is thin, as do I, so this is what I came up with. Of course, if it's more ideal, you can sacrifice some compactness in width to cut down on height and length. This design activates accumulative output and reset branch two ticks slower (doesn't really matter as it's after latch output) because this specific latch outputs low when in a high state and vice versa, so the output must be inverted. This one will hold a solid signal for 21 ticks.
EDIT: And right after I post this, I see where I could've improved the 1-wide design. I hate when this happens. xD
Its a latch with a pulse generator, by simply adding more repeaters to the chain would lengthen the time the circuit remains powered. Because its a latch it can't be 'pulsed' multiple times. I built this on the PC but i've used this same design on xbox.
Hope it helps.
Reading through the recent comments though, it seems like I've started something! Wonder who can build the most compact and complicated security system, which activates when you open a front via button, and go inside. . then de-activates upon exit.
Hmmm . . . I'm, gonna add that to my mansion now! Can arrows activate pressure plates? . . . arrow activated, lava-fall, gravity death trap! Yeah! Lol
Thanks for all your help though guys!