View Single Post
  #4   Spotlight this post!  
Unread 05-02-2013, 18:41
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: How to hook up a limit switch?

Quote:
Originally Posted by BPtigers View Post
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.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)