The 1146_0 IR Reflective Sensor uses an infra-red LED and a phototransistor to measure the distance of an object between 1mm and 4mm away. This sensor can also detect the presence of an object up to 9mm away, but it won't be able to reliably measure the distance.
This sensor works best with objects with smooth, opaque surfaces. Because of this, you can also use it to differentiate between a reflective object and a non-reflective object at the same distance.
This sensor can be read by any Phidget with an Analog Input or VINT Hub port. It will connect to either one using the included Phidget cable. VINT Hub ports can behave just like Analog Inputs, but have the added flexibility of being able to be used as digital inputs, digital outputs, or ports to communicate with VINT devices. For more information about VINT, see the VINT Primer.
|Image||Part Number||Price||Number of Voltage Inputs||Voltage Input Resolution|
|HUB0001_0||$30.00||6 (Shared)||* 16 bit|
|HUB5000_0||$60.00||6 (Shared)||* 16 bit|
|SBC3003_0||$120.00||6 (Shared)||* 16 bit|
This sensor comes with its own Phidget cable to connect it to an InterfaceKit or Hub, but if you need extras we have a full list down below. You can solder multiple cables together in order to make even longer Phidget cables, but you should be aware of the effects of having long wires in your system.
Welcome to the 1146 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 1146!
In order to demonstrate the functionality of the 1146, we will connect it to the HUB0000, 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 1146.
After plugging in the 1146 into the HUB0000, and the HUB0000 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 1146 can detect the distance of an object from 1mm to 4mm away. Objects with smooth, opaque surfaces are typically easier to detect.
The 1146 voltage changes from 4.5V to 0.15V as the object is moving closer to the sensor from a distance of 4mm. When the object is more than 4mm away, you may notice some change in voltage as the object enters or leaves the sensor's field of view, but this value does not represent the actual distance to the object. The exact equation for the sensor is as follows:
The Phidget libraries can automatically convert sensor voltage into distance (mm) by selecting the appropriate
SensorType. See the Phidget22 API for more details. The Formula to translate voltage ratio into distance is:
Because this sensor uses infrared light, it works just as well in both dim and well lit areas.
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.
|Sensor Type||Distance (Infrared)|
|Controlled By||VoltageRatio Input|
|Sensor Output Type||Ratiometric|
|Measurement Distance Min||1.5 mm|
|Measurement Distance Max||4 mm|
|Detecting Distance Min||200 μm|
|Detecting Distance Max||9 mm|
|Supply Voltage Min||4.8 V DC|
|Supply Voltage Max||5.3 V DC|
|Current Consumption Max||50 mA|
|Operating Temperature Min||-40 °C|
|Operating Temperature Max||85 °C|
|Canadian HS Export Code||8471.80.00|
|American HTS Import Code||8471.80.40.00|
|Country of Origin||CN (China)|
|Date||Board Revision||Device Version||Comment|
|January 2013||0||N/A||Product Release|
This device doesn't have an API of its own. It is controlled by opening a VoltageRatioInput channel on the Phidget that it's connected to. For a list of compatible Phidgets with VoltageRatio Inputs, see the Connection & Compatibility tab.
You can find details for the VoltageRatioInput API on the API tab for the Phidget that this sensor connects to.
|Image||Part Number||Price||Sensor Type||Controlled By||Measurement Distance Min||Measurement Distance Max|
|1146_0B||$5.00||Distance (Infrared)||VoltageRatio Input||1.5 mm||4 mm|
|3520_0||$14.00||Distance (Infrared)||Sharp Adapter||40 mm||300 mm|
|3521_0||$12.00||Distance (Infrared)||Sharp Adapter||100 mm||800 mm|
|3522_0||$16.00||Distance (Infrared)||Sharp Adapter||200 mm||1.5 m|
|DST1000_0||$30.00||Infrared (Time-of-Flight)||VINT||4 mm||* 170 mm|
|DST1001_0||$30.00||Infrared (Time-of-Flight)||VINT||20 mm||* 650 mm|
|DST1002_0||$35.00||Infrared (Time-of-Flight)||VINT||20 mm||* 1.3 m|
|DST1200_0||$25.00||Distance (Sonar)||VINT||40 mm||10 m|