Quote:
Originally Posted by Generalx5
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.)