Remove this ad
avatar

Austin397

Greenhorn

Posts: 3 Member Since: 12 July, 2017

Lead

12 July, 2017 00:42:26

Tags : : ,

Hello experts, i need a little help here. I have a two stage piston thing going on. The first set of pistons pull out some blocks from a wall and the second set of pistons pulls up a few of those blocks. What I need is for when the button is clicked to start the process, it fist pulls all of the blocks from the wall, then pulls the few blocks up from that set. Then when the button is pressed again I need the few blocks to be returned to the larger selection, then all of the blocks returned to the wall. Any ideas?
Quote    Reply   
Remove this ad
Remove this ad
avatar

mgblitz81

Survivalist
Ancestor

Posts: 447 Member Since:22 May, 2013

#1 [url]

12 July, 2017 05:23:16

Gotta be honest with ya, I haven't experimented with pistons too much. But this sounds more like an issue with reversing your circuit. You will need to use an sr latch as a place holder to know that the circuit is on. Then when the circuit is activated you will have to deactivate it in reverse when the same button is pressed. It's difficult to describe in just words. You'll probably have to use an sr latch for each action when your circuit turns on as well as several and gates to tell if the circuit state at each junction.

I'll try to make a tutorial world for you in the next day or so.

____________________________________________________________________________________
For a complete list of all my electric projects, videogames, and tutorials click on this link:
http://survivalcraft.lefora.com/topic/19405016/Electrical-Projects-Videogames-Tutorials-Showcase-Thread

Quote    Reply   
avatar

mgblitz81

Survivalist
Ancestor

Posts: 447 Member Since:22 May, 2013

#2 [url]

12 July, 2017 10:56:26

I actually found a much easier way to do this than the way I had planned. Take a look at this demonstration and tell me what you think...

https://dl.dropbox.com/s/qprfmrragdegbdk/piston%20demo.scworld?dl=1

____________________________________________________________________________________
For a complete list of all my electric projects, videogames, and tutorials click on this link:
http://survivalcraft.lefora.com/topic/19405016/Electrical-Projects-Videogames-Tutorials-Showcase-Thread

Quote    Reply   
avatar

Austin397

Greenhorn

Posts: 3 Member Since:12 July, 2017

#3 [url]

12 July, 2017 13:14:33

Help with electronics

I think that will work! I am going to test it soon to make sure. Such a simple yet clever wayh of doing it.

Quote    Reply   
Remove this ad
avatar

Stanimus

City Founder
Old Timer

Posts: 1,349 Member Since:19 July, 2014

#4 [url]

12 July, 2017 14:47:55

Here's an example world I made with several piston ideas...
https://dl.dropbox.com/s/vp1rgerhcp4tnid/Piston%20Doors.scworld?dl=1
(I haven't upgraded to 2.1, so can't see the other world link yet.)

————————————————————
"[The future] is a place about 70 miles east of here - where it's lighter." - Laurie Anderson


Stanimus

Quote    Reply   
avatar

mgblitz81

Survivalist
Ancestor

Posts: 447 Member Since:22 May, 2013

#5 [url]

12 July, 2017 16:25:31

Oooh.. this presents an opportunity for you stanimus.

I challenge you to find the solution without using any gates at all! The only thing you can use are pistons, a switch, and wires. I used an sr latch and 2 not gates but only to turn a button into a switch.

____________________________________________________________________________________
For a complete list of all my electric projects, videogames, and tutorials click on this link:
http://survivalcraft.lefora.com/topic/19405016/Electrical-Projects-Videogames-Tutorials-Showcase-Thread

Quote    Reply   
avatar

Austin397

Greenhorn

Posts: 3 Member Since:12 July, 2017

#6 [url]

12 July, 2017 16:44:18

mgblitz81 I tried the one you made in my world and it worked perfectly, thank you!

Stanimus those are pretty awesome set up you have there. I am working on updating the piston world map. Im not sure how to reaccess the link of something I already published but the map is call piston world. I welcome you to check it out and give feedback!

Quote    Reply   
Remove this ad
Add Reply

Quick Reply

bbcode help