View Single Post
  #12   Spotlight this post!  
Unread 29-10-2012, 10:24
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 191
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Limit switches on a lift -- best practice

Quote:
Originally Posted by F22Rapture View Post
Correct me if I'm wrong but the Jaguar only allows input from one sensor at a time; and we need it to be able to accept from two.
The Jaguar can definitely read two limit switches at the same time. This is regardless of the communication mode (CAN or PWM).

Quote:
Originally Posted by AlexH View Post


i like limit switches like this where when the switch is tripped it kills power to the motor in one direction but allows you to power the motor in the other direction
This is exactly how the limit switches are handled in Jaguar's firmware. There is one switch for Forward and one switch for Reverse (marked with an F and R). If only the R switch goes open-circuit, only the Reverse direction is stopped.

-David