Replaced by the 1146 - IR Reflective Sensor 1-4mm
This sensor uses infrared technology to detect an object at 5mm by determining the difference between low reflective conditions (i.e. black) and high reflective conditions (i.e. white).
The 1102 sensor consists of an infrared emitting diode and an NPN silicon phototransistor mounted side by side on a converging optical axis in a black plastic housing. The phototransistor responds to radiation from the emitting diode only when a reflective object passes within its field of view. The area of the optimum response approximates a circle 5mm in diameter.
|Sensor Type||Distance (Infrared)|
|Sensor Output Type||Ratiometric|
|Measurement Distance Min||2.5 mm|
|Measurement Distance Max||5 mm|
|Supply Voltage Min||3 V DC|
|Supply Voltage Max||5.3 V DC|
|Current Consumption Max||15 mA|
|Output Impedance||10 kΩ|
|Operating Temperature Min||-40 °C|
|Operating Temperature Max||85 °C|
|Canadian HS Export Code||8473.30.00|
|American HTS Import Code||8473.30.51.00|
|Country of Origin||CN (China)|
|Date||Board Revision||Device Version||Comment|
|October 2005||0||N/A||Product Release|
|October 2014||Product Discontinued.|
Welcome to the 1102 user guide! In order to get started, make sure you have the following hardware on hand:
Next, you will need to connect the pieces:
Now that you have everything together, let's start using the 1102!
In order to demonstrate the functionality of the 1102, we will connect it to the 1018, and then run an example using the Phidget Control Panel on a Windows machine.
The Phidget Control Panel is available for use on both macOS and Windows machines. If you would like to follow along, first take a look at the getting started guide for your operating system:
Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1102.
After plugging in the 1102 into the 1018, and the 1018 into your computer, open the Phidget Control Panel. You will see something like this:
The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:
The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.
Double-click on a Voltage Ratio Input object in order to run the example:
General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:
The 1102 can detect an object at 5mm. The 1102 consists of an infrared emitting diode and an NPN silicon phototransistor mounted side by side on a converging optical axis in a black plastic housing. The phototransistor responds to radiation from the emitting diode only when a reflective object passes within its field of view. The area of the optimum response approximates a circle 5mm in diameter.
The amount of reflectivity is measured by infrared and some materials that look very reflective to the human eye might not be as reflective in the infrared spectrum. The sensor can only detect objects that are between 3 to 7 mm away; it cannot see any objects outside that range.
The 1102 is not a digital sensor. The returned voltage is inversely proportional to the amount of reflectivity of the object (0V being more reflective, and 2V being less reflective), but in practice the variation between sensors is broad enough that the 1102 should not be used to measure the reflectivity of an object - only to detect if the object exists. You may have trouble using this sensor through a pane of glass, since the IR light can easily reflect off of the surface of the glass.
When working with sensors that are not digital, it is helpful to filter out noise by implementing a simple hysteresis in your code. By interpreting any voltage less than 2V as a detection, and not releasing the detection until the voltage rises above some higher threshold, such as 2.5V, multiple triggering can often be avoided.
Finally, the 1102 works best in a constrained environment, where objects can be mechanically guaranteed to be within the 3-7mm range, or not present at all.
The Phidget Cable is a 3-pin, 0.100 inch pitch locking connector. Pictured here is a plug with the connections labelled. The connectors are commonly available - refer to the Analog Input Primer for manufacturer part numbers.