View Single Post
  #2   Spotlight this post!  
Unread 10-02-2015, 20:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Basic Limit Switch

Here is a limit switch example.

The newest AndyMark PG motor/gearboxes have an integrated encoder.
If you start from a known position then it's possible to measure to a certain point. There are pitfalls and drawbacks to using an encoder for this. A limit switch is usually more dependable.
Here is an encoder example

There are also working examples of both of these installed with LabVIEW.
From the Getting Started window look under
Support -> Find FRC Example... -> FRC Robotics -> roboRIO-> Sensors
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-02-2015 at 20:37.
Reply With Quote