Difference between revisions of "Optoreflector"
Line 4: | Line 4: | ||
[[image:optoreflector distance.png|center]] |
[[image:optoreflector distance.png|center]] |
||
==Application== |
|||
⚫ | |||
In the mechatronics lab, we have the QRB1114 ([[media:QRB1114.pdf|datasheet]]) from [http://www.fairchild.com Fairchild], shown below. It has four pins, with the first pair connected to the LED and the second pair connected to the phototransistor. |
In the mechatronics lab, we have the QRB1114 ([[media:QRB1114.pdf|datasheet]]) from [http://www.fairchild.com Fairchild], shown below. It has four pins, with the first pair connected to the LED and the second pair connected to the phototransistor. |
||
Line 10: | Line 10: | ||
[[image:optoreflectors.png|center]] |
[[image:optoreflectors.png|center]] |
||
⚫ | |||
And below you will see a circuit schematic for using the QRB1114. The values of the resistors may need to be adjusted if you use a different device or depending on your usage. |
|||
''Warning: If you make the sensor too sensitive, ambient light may be able to trigger it.'' |
|||
[[image:optoreflector circuit.png|center]] |
Revision as of 19:25, 4 August 2006
Optoreflector sensors contain a matched infrared transmitter (LED) and infrared receiver (usually a phototransistor) pair. These devices work by measuring the amount of light that is reflected into the receiver. Because the receiver also responds to ambient light, the device works best when well shielded from abient light, and when the distance between the sensor and the reflective surface is small (the graph below shows how distance affects the output value). IR reflectance sensors are often used to detect white and black surfaces. White surfaces generally reflect well, while black surfaces reflect poorly.
Application
In the mechatronics lab, we have the QRB1114 (datasheet) from Fairchild, shown below. It has four pins, with the first pair connected to the LED and the second pair connected to the phototransistor.
Using with PC/104 stack
Warning: If you make the sensor too sensitive, ambient light may be able to trigger it.