View Single Post
  #11   Spotlight this post!  
Unread 04-01-2007, 16:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Set Default Digital inputs to Low? How? bad Analog value?

Quote:
Originally Posted by Generalx5 View Post
The sensor belongs to OPTEK technologies, OPB742D and OPB606A are the two sensors Im using.
Those devices are exactly suited to being connected directly to the RC's digital inputs. They don't produce voltage; their output is the equivalent of a contact closure. Tie the "E (2)" pin to ground, and the "C (1)" pin to the digital input.

(And don't mess with the IO direction settings. What they do is determine whether a given pin is an input or an output. There is always a pullup resistor on the pin.)