Quote:
Originally Posted by DCRich
The default IR sensors put out 1 v low and 12 volt high so they are not true digital signals.
|
The default lane-tracking sensors are just NPN switches (hi/lo impedance). They are not intended to source any voltage.
Hook it up as follows:
brown wire to +24volts (solenoid breakout)
blue wire to ground
White wire to a DIO input
The internal pullup on the DIO provides the voltage. The switch just shorts out the voltage (provided by the pullup) to provide the digital hi/lo signal.