View Single Post
  #10   Spotlight this post!  
Unread 07-02-2013, 17:59
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
So if I hook it up to jaguar I don't need to program anything in labview the limit switch will do it all automatically?
Yes, but I'd recommend coding it if only so you learn how. Doing that is just the tip of the iceberg when it comes to FRC coding. The code isn't that hard to do as long as you have the proper logic. Make a flowchart for the possible states of the switch(es) and the motor. If the switch is open when the motor is running, what do you want it to do? If the switch is closed when the motor is running, what do you want it to do? What if the motor isn't running?
__________________
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)


Last edited by cgmv123 : 07-02-2013 at 18:03.