Robot HQ

Limit Switches for your Lift

I looked around on YouTube for easy solutions to my lift problem:

If I wasn’t careful, the lift would go past it’s usable range and break something like a linkage or a gear would pop out. Clearly I needed to add some limit switches to turn off the motor once it reached the upper and lower limits of it’s movement.

Not seeing any graphical code for limit switches, I designed my own (because I wanted to see if it could be done with blocks) and here it is should someone else need to do the same thing. 🙂

Ps: I’m well aware that it can easily be done with text, because you can use && and ||, but the challenge was to do the same thing without using logical operators.

About: Frank Gibson

I keep myself busy with technology, every day is a new opportunity to learn something new.

    %d bloggers like this: