Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Help! [Archive]
#1

Incremental piston help!

Archive: 7 posts


hey there,

So I'm building a lift that is controlled by three 2 way switches. the lift is operated by a single piston. For the sake of simplicity, lets say the piston is of length 300. Then each switch has the ability to move the piston 100 units up or down.

i.e...

all switches are off, the piston is at length 300
1 switch is on, the piston is at length 200.
2 switches are on, the piston is at length 100.
all switches are on, the piston is at length 0.

My friend helped me build a rig that allows this to happen... sort of. The system uses a pair of dissolve switches, that trigger the elevator to go up or down when a switch is pulled. whenever the elevator reaches the right height, whatever dissolve switch is currently active is, well, dissolved. The switch that has to be pulled first not only controls 100 units of distance, it also acts as a resetter, bringing the lift to its default position and resetting the other two switches. The problem is, the other two switches can only make the elevator go up... they won't bring it back down if need be. I don't really know how to explain the logic any better than that, but maybe you guys could catch on to where the problem might be, or even be so kind as to come check it out on my moon, cuz we can't figure it out If anyone has a simpler way of doing this, that would also be greatly appreciated... thanks!
2010-05-16 00:37:00

Author:
Duffluc
Posts: 402


Use three pistons?2010-05-16 02:01:00

Author:
KablooieKablam
Posts: 364


Use a piston [always] pulling down at strength 5 (just guessing on strengths here - you'll have experiment to see what works best), and three winches (at full strength - 10). All winches are set with max length longer than 300 (per your example) and min lengths of 0, 100, 200. Set your switches to each of the three winches. I think that will work, but I've not tried it.2010-05-16 04:17:00

Author:
v0rtex
Posts: 1878


Thanks for the suggestion Vortex. not sure If it will work though... I've tried something similar to that using 3 winches but was unable to get it to work, because the switches would control different amounts (i.e. if the 0 - 300 winch was pulled, the other two switches wouldn't affect the system, which isn't what I want.) Another problem with that is timing... for example, A length 100 - 300 winch thinks it should be at position 300 when off, but if it's actually at position 200 due to another winch currently being in use, It won't move until it reaches where it should be. that creates a large gap of time where nothing happens...

As for using three pistons in a row... things tend to get a little crazy when you do that lol. Doesn't seen to work as well as it should.
2010-05-16 08:43:00

Author:
Duffluc
Posts: 402


If you have problems with stacked piston, the solution is pretty simple: you can use stiff, 0-strenght springs and link them to the DM and the moving parts

http://img299.imageshack.us/img299/8130/000wy.jpg
I know the first spring is useless, but it was a test - none of the pistons is stiff, and it works perfectly, even with the first block made of polistyrene and the other 2 of metal

The negative side of this solution is that the speed of the last part will be faster if more than a switch is toggled at the same time - I'll try for a more elegant one later
2010-05-16 10:58:00

Author:
Shadowheaven
Posts: 378


Another problem with that is timing... for example, A length 100 - 300 winch thinks it should be at position 300 when off, but if it's actually at position 200 due to another winch currently being in use, It won't move until it reaches where it should be. that creates a large gap of time where nothing happens... This doesn't happen. If you start pulling the winch in it will pull in from the position that it is at. There is no delay.


As for using three pistons in a row... things tend to get a little crazy when you do that lol. Doesn't seen to work as well as it should.

Shadowheaven's solution to stabalise will work most likely, although you are going to have to work with the weights of the blocks to ensure that the piston strengths are sufficient. If not you can use a 3 pistons system to get a count of activated inputs (0, 1, 2, or 3) and then put the output of the count into the winch / piston rig that vortex suggested. This might work out as the most convenient / stable system.
2010-05-16 14:14:00

Author:
rtm223
Posts: 6497


Thanks for the tips never thought of using springs, I'll try out those suggestions. When I tried out v0rtex's method previously, I must have been doing something wrong with the weights / strengths of the piston / winches. Whevenver i started pulling multiple switches the system would either be too slow or not move at all, I figured it was because of some length problem. I'll have to take another shot at it. Thanks again 2010-05-16 17:50:00

Author:
Duffluc
Posts: 402


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.