MrRoboSteve
18-02-2013, 00:00
We've got a bunch of limit switches on our robot this year, and are seeing jitter between true and false when the switch is open. Our hypothesis is that the runs are getting RF noise. The issue is happening when the robot is standing still
The switches are the KOP Honeywell switches, and they're connected to fairly lengthly (probably 3') runs of 22ga unshielded wire. The switches, when closed, connect the signal and ground pins. Using a meter, they ohm out at 0.1 ohms when closed and infinity when open.
Talking to some folks at yesterday's invitational, the suggestion was either to add lower valued pulldown resistors or go to shielded wire. We chose the latter approach, and built four external pulldown resistor units using 1000 ohm resistors we had in stock. These worked fine yesterday in eliminating the jitter, so we build a set of four more to cover the other four limit switches in our design.
Adding that additional load to the digital sidecar looks to have blown the 5V bus, as we no longer get a green 5V light on the sidecar.
Rewiring is a pain that we'll probably start doing tomorrow morning (using 22ga shielded security system wire), but I wanted to check to see if there are other options -- potentially going with higher valued resistors, for example -- to overcome noise on long switch runs.
The switches are the KOP Honeywell switches, and they're connected to fairly lengthly (probably 3') runs of 22ga unshielded wire. The switches, when closed, connect the signal and ground pins. Using a meter, they ohm out at 0.1 ohms when closed and infinity when open.
Talking to some folks at yesterday's invitational, the suggestion was either to add lower valued pulldown resistors or go to shielded wire. We chose the latter approach, and built four external pulldown resistor units using 1000 ohm resistors we had in stock. These worked fine yesterday in eliminating the jitter, so we build a set of four more to cover the other four limit switches in our design.
Adding that additional load to the digital sidecar looks to have blown the 5V bus, as we no longer get a green 5V light on the sidecar.
Rewiring is a pain that we'll probably start doing tomorrow morning (using 22ga shielded security system wire), but I wanted to check to see if there are other options -- potentially going with higher valued resistors, for example -- to overcome noise on long switch runs.