Alternative to limit switches?

This year team 114 only used pots for our bot… Seemed to work perfectly on the arm (after a little tuning), and worked quite well on the wheels (we had one on the rotator chain of our swerve drive.

If your limit switches are breaking then its probably a design issue or you need some beefier limit switches. Do you have a pic of the assembly the keeps breaking. I have never once broken a limit switch and we always have limit switches everywhere on everything. If used properly they will not break.

We had problems with the limit switch breaking all year. We made it as simple as possible to replace it(not that easy). And then we put a limit switch override button in programming. That way in competition if it did not work the operator could use his/her judgement and decide how far up/down the arm should go. The button came in really handy, especially at palmetto where we took finalist.
-Bharat

There are many different grades of limit switches. If you look in a Mcmaster-Carr or Grainger catalog you will find some real beefy limit switches.

while this is true that they tell you in a theoretical world what your position is, if the system is decently designed and tested you should be abel to have them calibrated with little error. This is the reason for the calibration limit switch at the bottom, so each time you go to zero the calibration gets checked.

The main reason we use limit switches is to prevent damage. Despite my many warnings, people have, on occasion, decided to forego the implimentation of limit switches to save themselves some time. Needless to say, it usually ends badly. The limit sensor tells you when it’s time to stop. Maybe something got jammed. Maybe something broke. Maybe there was a design oversight. It doesn’t matter how the system got into that position, but going further could damage it.

there is absolutely no reason why a Cherry or SwitchCraft limit switch should ever break on your bot.

Im going to chance a guess here and bet you had the switch mounted so it was acting as a physical stop to the motion. A limit switch is suppose to actuate as a mechanical tripper slides PAST the switch lever, not INTO the lever from 90 degrees.

maybe I should sketch this out - thousand words and all that!

the red/black square is the moving arm tab that will engage the switch level. Note that it moves/ slides into the level and the lever closes the switch.

With the switch mounted like this there is no way its going to break, no matter what your SW does.

switch.JPG


switch.JPG

Last year our team used only pots to determine the angle of our arm. However, we found that because of the inherent error, if we wanted the middle joint to bend as close to 360º as was safe, we would often slightly overshoot, pushing together two of our arm segments, bending the metal slightly and putting a huge amount of strain on the chain/motors. This was obviously a big problem, so we ended up retrofitting a limit switch to our arm halfway through the regional. The moral of this story: don’t try to cut weight/save time by skipping the limit switch, you’ll always regret it in the end.

I agree with Ken here. There should be no reason to break a limit switch. You must remember that the mechanism it is designed to protect has momentum and will not come to a stop immediately. The microswitches shipped in our kits have long actuating arms that can be bent and/or cut to any form that is useful for you application. Design mechanical stops accordingly, backup the backup.
As for reed switches, I do not recommend them for this application. They have a bad habit of disengaging with vibration and magnets get knocked off leaving you defenseless. Additionally, the contacts don’t always meet properly and high resistance occurs. With very little current being supplied by the RC, there is a source of error there. Microswitches are designed to “wipe” the contacts when they make contact, minimizing this effect.
If you are at an event where I am present please ask me to look at problems on your robot. I love to see other robots and what other teams have done to solve problems.

They are properly mounted, they usually break from battle damage. Either a direct result or something else gets misaligned and snags it. Although, I do admit that there are some that could be positioned better to prevent snags.

The problem is that they’re usually the last thing to go on. Last year, they weren’t on until our second match. By this time, they hadn’t been tested yet. Needless to say, whoever made the decision to run the arm anyway made a pretty bad call. Although, the damage was a testament to how powerful our arm actually was.

if you are not protecting your microswitches, then anything else you put on thats unprotected will get smashed as well.

You might consider a lever or spring that actuates the microswitch from a distance, so the switch doesnt need to be exposed to the parts of the bot that get bashed during a match.

An example is the power switch in most PCs. The switch is back by the power supply, but the on/off button is on the front panel, connected by a long push rod.

Ken, I think you’re trapped back in the days of the AT form factor (or before)! Modern PCs (i.e. nearly anything within the last eight years) use an electrical connection directly to the motherboard, with a momentary switch. Cross two pins (one is connected to 5VSB, if I remember correctly), and the motherboard instructs the power supply to turn fully on.

There is a second switch on the back of most power supplies, but I don’t think that that’s the one to which you were referring; it just interrupts the power completely (preventing the motherboard from receiving standby power).

And did you know that if you touch those two wires together in that switch they will weld themselves together(I accidentally did that)

But instead of limit switches on the arm i like pots our 2006 robot is going to have almost all the analog in ports utilized if i can help it

Like I said in my post above, our team found out the hard way that pots have inherent inaccuracies that make it inadvisable to use them as the safety cutoff. They can be used to determine position when a couple of degrees don’t matter, but when something like the motors of your arm/whatever the arm is capable of running into is at stake, don’t trust a potentiometer to be 100% accurate.

I’ll post again on this subject. There are industrial limit switches in the 5 to 20$ range that are much more robust and reliable than the small micro limit switches. They come in several configurations of levers, rods, and rollers. Several brands also have die cast bodies and can take abuse.

Just for a point of reference, where do the Vex limit switches fall in the grand pecking order of limit switches?

Thats why our arm has a physical stopper just in case, and the pot is set so that 0 is about 3 inches from the stopper,

Just for a point of reference, where do the Vex limit switches fall in the grand pecking order of limit switches?

somewhere in the big thing range i would certainly use them for a limit switch but as long as it isnt likely to get hit since the plastic on them is not the best.

Thats only if you design it that way. If you wanted a measurement on the extension of the arm you might use a linear encoder while if you wanted a measurement of arm angle you would mount an encoder to the arm. Your measurements would be accurate.

Personally I like a magnet sensors because the lack of actual contact. I especially like the ones that detect ferrous metals rather then other magnets because it leaves you room to be creative with how you position the sensors (like for example we used little metal strips that we could bend to different shapes). I don’t exactly using pots for measuring the angle of an arm because of already said inaccuracy but for measuring objects with smaller radius it is extremely useful. By the way, have any FIRST teams used linear encoders?

This is very true. The good news is that reed switches aren’t used too much anymore (on account of being mechanical instead of solid-state) and the Hall-Effect sensors have all but replaced them (Could be hyperbolizing, but I see many more hall effect sensors than reed switches). Best of all, they both work about the same: bring 'em into a magnetic field, and they trip, except hall effect sensors output a digital 0-5vdc signal almost 100% of the time (depending on the sensor). So, if you have a real hankering for magnetic switches, halls are the way to go. The ones in the kit last year were decent, but they were designed to count the teeth on a gear of a ferrous metal. Halls in general just respond to magnets. One final note: Some halls (most? I actually don’t know) respond to the flipping of a magnetic polarity (aka N, S, N, S, etc.). This is not what you want for limit switch application, but it works rather well for encoder operation (So you don’t count a magnet twice). We used a pair of hall-effect sensors on our robot last year in place of encoders. Can’t say we used them well, but the scope says they worked great.

Sparks

Sparks,
That is true for most of the prepackaged sensors but the actual Hall effect device is much like an optical transistor. The magnetic field will cause an increase in current in the transistor or send it into saturation. Individual Hall transistors are available if you look for them. Interfacing is then up to you.