Programming lift vex iq

Wondering is it possible to program a lift to stop automatically at a certain point when lifting and releasing back down. This is for full volume vex iq.

If you are talking about auton, yes.
If you are talking about driving, then probably not, but instead of having the program do that, I would build a physical barrier for it so it stops the lift from going any further. (Ex. standoff extender if using a linear motion kit which I assume you are)
A picture of the mechanism you use for your lift in this case might be handy.

If possible use sensors. On our robot we use it to stop our lift and pickup more cubes. If there is a picture we could show you some more stuff to add.

1 Like

Could you please elaborate on that? Sounds like a good idea!

Thank you all for the responses- this helps for sure. Here are some photos of the setup for context



This an amazing robot! Our robot is similar but the lift is a bit smaller.

1 Like

You could add pegs or something to make it where it can’t extend past a certain height. if your only getting greens you could also just code it to where it only goes into the collecting and scoring possession.

Our team added a bumper under the lift shelf (similar design).

When bumper pressed
Stop lift

Also added code:
When shelf down button (controller L2) pressed
If bumperpressed
Stop lift.

(Shelf was pushing down on base and was breaking.

Now shelf motor stops at bottom.

We also added yellow bars at top for visual to driver.

If it helps you.

Here is one example of limits in block code. You will need adjust it to fit your needs.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.