Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Piston and Sticky Piston question


  • Please log in to reply
13 replies to this topic

#1

Piccolo113

Posted 30 July 2011 - 06:30 AM

Is it possible to have pistons resting in the extended position?

I'm trying to make activated sliding doors out of iron blocks and sticky pistons (with the redstone hidden, of course).

Bear in mind, I have no knowledge whatsoever of circuitry, even redstone circuitry. Now, I've figured out how to get a pressure plate to activate two sticky pistons, one on top of the other, via redstone wire. My issue is that I want them to start in the extended position so the 4 iron blocks that will be the double-door will rest in a "closed" position. I want the stepping on the pressure plate to "turn off" the pistons and make them retract while activated.

I'm confused....is a lever or a redstone torch the only way to keep a piston extended? If so, how could I route the wiring to make it work as I intend?

Register or log in to remove.

#2

The__Q
    The__Q

    Coal Miner

  • Members
  • 130 posts
  • Location: Underwater, Building random crap in minecraft
  • Minecraft: The__Q

Posted 30 July 2011 - 06:33 AM

Use a redstone inverter inverter it should work.
Posted Imageლ(ಠ益ಠლ

#3

CaduceusGUILT
  • Location: Canada. Ontario

Posted 30 July 2011 - 06:34 AM

1. Place a redstone torch under or next to the desired piston.
2. Run a wire so that it is pointing at the block that the torch is on.
3. Wire up the wire to your pressure plate.

What you just made is called an inverter. It inverts the power of something. So it is always on, and when you use the pressure plate, it turns off for as long as you are on it.

Posted Image
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works


#4

Cookiescool2
  • Location: U.S.A.
  • Minecraft: Cookiescool2

Posted 30 July 2011 - 06:34 AM

I made a flusing toilet once, and it is possible to keep it open.  You need a NOT  gate.  I can't really explain it but look on the minecraft wiki or some youtube vids and it will help.  Before inverters you had to use NOT gates to make the circuit go farther than 15 blocks.  When a redstone torch is powered then it turns off, if its not powered then it provides power.

#5

CaduceusGUILT
  • Location: Canada. Ontario

Posted 30 July 2011 - 06:35 AM

View PostCookiescool2, on 30 July 2011 - 06:34 AM, said:

I made a flusing toilet once, and it is possible to keep it open.  You need a NOT  gate.  I can't really explain it but look on the minecraft wiki or some youtube vids and it will help.  Before inverters you had to use NOT gates to make the circuit go farther than 15 blocks.  When a redstone torch is powered then it turns off, if its not powered then it provides power.
I think you mean repeaters, not inverters.

Posted Image
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works


#6

SunSlayer
  • Location: Germany
  • Minecraft: SunSlayer

Posted 30 July 2011 - 07:14 AM

a picture to make it more clear:

Posted Image

<-- your pressure plate.................................................................................................your pistons -->

#7

Piccolo113

Posted 30 July 2011 - 07:17 AM

View PostCaduceusGUILT, on 30 July 2011 - 06:34 AM, said:

1. Place a redstone torch under or next to the desired piston.
2. Run a wire so that it is pointing at the block that the torch is on.
3. Wire up the wire to your pressure plate.

What you just made is called an inverter. It inverts the power of something. So it is always on, and when you use the pressure plate, it turns off for as long as you are on it.

Okay, that seemed to have done the trick at first, but then I routed the wiring over so I could watch the pistons as I tested. Like I said, I have two pistons, one on top of the other. I have a block (sand, because I've seen people use it for this) with a redstone torch on top, the wiring routed to the pressure plate, and the wire closest to the torch-block is pointing at the block the torch is on. All systems normal, the pistons are extended while at "rest".

The problem presents itself when I activate them by stepping on the pressure plate. The top piston will retract while the bottom stays extended. Then when I step off, the bottom will quickly retract and then extend wile the top one extends.

Is there a way to get them to retract in unison?

#8

Piccolo113

Posted 30 July 2011 - 07:24 AM

View PostSunSlayer, on 30 July 2011 - 07:14 AM, said:

a picture to make it more clear:

Posted Image

<-- your pressure plate.................................................................................................your pistons -->


Thank you! Positioning the torchblock up next to the top one, it affects both pistons and leaves them extended at rest. Routing wire to the pressure plate with the wiring starting BEHIND the torchblock makes it only deactivate the torch when I press the plate (I at first put the wiring on top of the torchblock....torchlight burnout was surprising the first time I saw it).

#9

Piccolo113

Posted 31 July 2011 - 09:15 AM

Okay....Now I'm trying to figure out how to create a toggle door using the sticky pistons. Specifically for the purposes of creating a door that starts out open, but permanently shuts behind you when you walk through it and step on the pressure plate on the other side of it.

Is such a thing possible?

Edit: Reading up on the T FLIP-FLOP design. If I can figure out how to hide the wiring, this might work just fine....Unless someone has a different suggestion?

#10

nikobro
    nikobro

    Zombie Killer

  • Members
  • 248 posts
  • Location: Norway

Posted 31 July 2011 - 11:45 PM

I think this tutorial on a piston door with lock will help you! :)



This is only one of many ways of doing it :P
Posted Image

     ^ C L I C K A B L E ^


#11

Piccolo113

Posted 02 August 2011 - 07:02 AM

View Postnikobro, on 31 July 2011 - 11:45 PM, said:

I think this tutorial on a piston door with lock will help you! :)



This is only one of many ways of doing it :P

Not entirely sure why, but until I just pushed the Reply button, there was no link....

Edit: Correction, there's ONLY a link in reply or edit mode....wonder why it won't show up in the message itself.

#12

Piccolo113

Posted 02 August 2011 - 10:26 PM

Finally got around to watching that video. While that is definitely something I'm going to have to remember how to do, as it looks extremely useful, that's not what I'm trying to do.

I want to make a piston door that starts out open when you're in the first room, then closes when you pass over the pressure plates in the second room. But in the second room, I don't want to have any way of opening the door short of destroying it or the walls to get through. The pressure plates should lock up and not open the door once they've been used to shut it, and there should be no way to unlock the circuits from this room.

Is this possible?

#13

sebas9854

Posted 02 August 2011 - 11:12 PM

View PostPiccolo113, on 02 August 2011 - 10:26 PM, said:

Finally got around to watching that video. While that is definitely something I'm going to have to remember how to do, as it looks extremely useful, that's not what I'm trying to do.

I want to make a piston door that starts out open when you're in the first room, then closes when you pass over the pressure plates in the second room. But in the second room, I don't want to have any way of opening the door short of destroying it or the walls to get through. The pressure plates should lock up and not open the door once they've been used to shut it, and there should be no way to unlock the circuits from this room.

Is this possible?

Yes, what you need is an RS-NOR latch, I'll edit this in a bit with images.


EDIT1: this is an RS-NOR latch
Spoiler:

Where the blue wool (with door) = output, and the orange (with lever) = input

now, if you use the lever on the topmost (or leftmost) orange block, the signal will go ON, and the torch will turn off, switching the inputs, only to be reset by switching that lever again, (topmost or leftmost) and then switching the rightmost or bottommost lever, I'll show you how it works with pictures...

EDIT2: Here is the RS-NOR latch explanation

To activate:
step 1:
Spoiler:

to reset:

step 1:
Spoiler:

step 2:
Spoiler:

And there you go, I'll now make the whole thing (so you can see it "on action")

EDIT3: Here it is, complete

Remember, this is following the code: orange = input, blue = output, and green = door

Also, the floor is covered in glass and everything is visible so you can see what's going on

Spoiler:


THERE IT IS, YOU LEARNED A LITTLE SOMETHING, AND HAVE YOUR NEW DEVICE-THING

Capslock on purpose

PM me if it works!
Posted Image

#14

Piccolo113

Posted 03 August 2011 - 06:47 AM

View Postsebas9854, on 02 August 2011 - 11:12 PM, said:

Yes, what you need is an RS-NOR latch


While your specific instructions confused me (I have no idea why, because they are crystal clear), I did search up a RS-NOR Latch on youtube. Rolf David's video instruction on it showed a compact vertical version of it which I used to set up the room and the one before it exactly as I wanted it.

How it works is There's a room with 4 exits. One of these exits leads to another room that has the door (which you can't even see) slam shut and lock behind you. Now, once you find a way to loop back around, entering the first room again resets the switch and that one-way door opens again. I did the reset from the 3 other doorways with pressure plates wired up as the reset, but since they were so far away, I obviously had to use repeaters.

Anyways, absolutely awesome of you to send me in the right direction for this. It was very much appreciated.  :Diamond: :Diamond: :Diamond: