View Single Post
  #14   Spotlight this post!  
Unread 05-02-2016, 23:14
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,287
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: PNP versus NPN sensors

Quote:
Originally Posted by Tom Line View Post
Wouldn't running the signal wire through a cheap voltage divider like this allow me to feed into the DIO?

http://www.robotshop.com/en/dfrobot-...FQovaQodmWwKOw
Unless I am missing something on that voltage divider, it's going to try to output 5V, which still makes it PNP. That won't work for feeding the RoboRio inputs that expect an NPN style sensor.
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present