Next the sensor. Emitter to ground, collector to a digital input pin, plus a resistor (about 10K) from that input pin to 5V.
You should be able to see it glowing if you look at it through a digital camera.
The sensor is connected as follows: GND -- [ SENSOR ] -- Resistor (10k) -- Digital Pin 7My question is: where do I connect the +5v?Thanks for your patience and support./Rich
GND -- [ SENSOR ] -- Resistor (10k) -- Digital Pin 7
GND -- [ SENSOR ] -- Resistor (10k) -- +5v | Digital Pin 7
when the photo transistor is 'open' the input is HIGH. When it is 'reflecting' the input is LOW.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16