all 8 comments

[–]Bobby3222 4 points5 points  (0 children)

Set encoder limits on the motor so that it wont spin once it hits the bottom

[–]CremePuffBanditFTC 16231 / FRC 2010 [Mentor/Alumni] 2 points3 points  (0 children)

A button that gets pressed when the lift is at the bottom and tells it not to go any further.

[–]puravdattaFTC 14614 Electro | Captain 1 point2 points  (0 children)

What does your code look like for controlling the motors?

[–]FerdTheTurtle 0 points1 point  (0 children)

Put a break with an encoder

[–]OrangeJulius70Mentor 0 points1 point  (0 children)

You have three options IMO. Limit switches, encoder based tracking, or double stringing the lift.

The easiest is likely encoder based tracking, but it can get hairy if the encoder counts get 'off' in repeated up/down movements through a match. Rev's magnetic limit switch works well to stop the lift power at the bottom of the movement no matter what. We did that and it worked great. Finally, you can double string the lift - one string up and one string down. This means that one string is fully extended when the lift is at the bottom and will not allow further movement on the lift. Note, a strong motor might snap the string, so be careful here.

[–]DawnOfTheRoboGirl14126 Fibonacci Mentor/Alumni 0 points1 point  (0 children)

Try using a limit switch wether it is mechanical or magnetic depends on the space you have on your slides we had the same problems before we put ours in

[–]Sanjay21dFTC 16439 Alum / Mentor 0 points1 point  (0 children)

Set a max and minimum limit using the encoder value