I am looking at this optical reflective sensor to make a simple encoder.
Just need it to count motor revolutions and I have a very limited space so this sensor seems like ti woule work well. I guess I don't understand howow these things work though - I assumed that I would just supply some voltage, and a pin on the thing would go high or low depending on reflectivity. However I am confused...
Emitter - Forward Current = 50ma
Emitter Pulse frward current 1 A
Emitter Foward Reverse voltage 4V
Detector Collector-Emitter Voltage 30V!!!!!!!!!!!!!! What is that? I need to spuplly that? Read that?
etc. etc...
Please help! I need to interface this to the Arduino.
Thanks!
Brandon
If you want something like this premounted on a compact PCB for easy connectivity, you could consider using a QTR reflectance sensor:
If you don't need it, you can grind off the mounting hole to make it even smaller. We even have an Arduino library for interfacing with the sensor, though for the analog version (QTR-1A) it's pretty much as simple as reading an analog voltage.
To interface with an Arduino, just connect GND to ground and VIN to your 5 V line or a digital output pin (in which case you can control when the sensor is on). OUT is the sensor's output.
Bens,
You mentioned there was an Arduino Lib for interfacing with the digital version of this sensor - where would I find it? I didn't see it in the hardware section. Thanks!
Brandon