![]() |
Hooking Up a Micro Switch
So we need to somehow plug a limit switch (Micro Switch) into the robot. I heard stuff about plugging it into an analog input board and other stuff about plugging it into the digital sidecar and we don't know which one it is.
Can someone clear this up for us? We ultimately just need to get a 0 or 1 output from it. Thanks. |
Re: Hooking Up a Micro Switch
Connect it to a digital input on the digital sidecar. One side of the switch should go to ground, the other to the signal line. The +5V line is unused, since the digital inputs have internal pullup resistors.
|
Re: Hooking Up a Micro Switch
Quote:
|
Re: Hooking Up a Micro Switch
Quote:
Typically, COM is connected to ground, and either NC or NO is connected to signal depending on whether you want the input to read "true" or "false" when the switch is activated. |
Re: Hooking Up a Micro Switch
Quote:
If you're looking to use the microswitch as a true limit switch to stop the motor and you're using the CAN bus, look into wiring the switch up to the jaguar itself. It's much safer because it's a hardware thing (it's also faster, so no more bent/crushed switches). |
| All times are GMT -5. The time now is 07:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi