Quote:
Originally Posted by BPtigers
I'm still confused, which one on the diagram is the limit switch? So how would I wire it up so when the button on top is hit the motor will stop in that direction? Sorry I'm a newbie
|
There is no limit switch in the diagram per se. A limit switch is a custom circuit on that diagram.
If you want to stop a motor, you can either wire it to the "Digital I/O" section of the sidecar and program it to stop (recommended for reliability and consistency)
The "COM" pin on the switch goes to the (-) pin on the sidecar and the "NC" or "NO" pin goes to the "SIG" pin on the sidecar. You can then program the switch to turn off the motor or control whatever you want. The sidecar has internal pull-up resistors, so there's no need for any other wiring.
You can also wire it to the limit switch inputs on a Jaguar (Jaguar required, may be easier to get started.)
See page 11 in
http://content.vexrobotics.com/docs/...artedGuide.pdf for a connection diagram.