View Single Post
  #12   Spotlight this post!  
Unread 07-02-2013, 22:57
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 190
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Creating a class for a new piece of hardware

Quote:
Originally Posted by F22Rapture View Post
Inductive proximity sensor, 8mm diameter, short body, extended range, 10-30 VDC, 3-wire, PNP, unshielded, 4mm nominal sensing distance, normally open output, 3kHz switching frequency
The past two years we have used sensors very similar to these. Not realizing it at the time we ordered PNP. I don't remember the value off the top of my head but we just needed one pull-up resistor for each sensor and they worked great.

I will add that you have to be careful using these sensors. We used them as limit switches on our arm. Towards the end of the match on more than one occasion while many of our motors were on, our voltage dropped below 10 volts. As a result the sensors were no longer powered and our arm was able to over extend.

The first couple of times this happened we the programmers got blamed very quickly. It wasn't until later we were able to deduce what happened.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?