Products for USB Sensing and Control

Products for USB Sensing and Control


Unit 1 - 6115 4 St SE
Calgary AB  T2H 2H9
+1 403 282-7335

Distance Phidget

ID: DST1000_0

Measure distances up to 170mm with this infrared time-of-flight sensor. Connects to a VINT port.


Quantity Available: 222

Qty Price
5 $28.50
10 $27.00
25 $24.00
50 $21.00
100 $19.50
250 $18.00
500 $16.50
1000 $15.00

Do you need a sensor that can measure short distances or detect the motion of objects passing by? This Phidget uses infrared light and a time-of-flight calculation to determine how far away an object is. It can report the distance of the object it's pointed at as often as every 10 milliseconds, and will throw a saturation event when the distance exceeds the sensor's maximum range. Since infrared light is what it uses for the measurement, highly reflective objects will be easier to measure.

The DST1000 connects to a VINT hub. Have a look at the Comaptible Products tab for a list of Phidgets with VINT ports.

Note: The label on the enclosure that reads "0-200mm" is innacurate. In optimal conditions, this sensor will have a maximum distance of approximately 170mm.

Product Specifications

Sensor Properties
Sensor Type Infrared (Time-of-Flight)
Controlled By VINT
Measurement Distance Min 4 mm
Measurement Distance Max * 170 mm
Measurement Distance Resolution 1 mm
Measurement Distance Noise 3 mm
Distance Sensor
Sampling Interval Max 60 s/sample
Sampling Interval Min 10 ms/sample
Electrical Properties
Current Consumption Max 4 mA
Current Consumption Min 20 μA
Physical Properties
Operating Temperature Min -40 °C
Operating Temperature Max 85 °C
* - Maximum distance depends on the reflectivity of the surface of the object. Typical results are around 170mm, but could be as low as 100mm for some surfaces. The "200mm" listed on the enclosure is incorrect.

Software Objects

Channel NameAPIChannel
Distance Sensor 200mm DistanceSensor 0


Back Forward
Print this API


Library & Driver Downloads

Code Samples

DistanceSensor C Multiple Download
DistanceSensor C# Windows Download
DistanceSensor Java Multiple Download
DistanceSensor Java Android Download
DistanceSensor JavaScript Nodejs Download
DistanceSensor JavaScript Browser Download
DistanceSensor Objective-C macOS Download
DistanceSensor Swift macOS Download
DistanceSensor Swift iOS Download
DistanceSensor Python Multiple Download
DistanceSensor Visual Basic .NET Windows Download


Product History

Date Board Revision Device Version Comment
February 2018 0 102 Product Release

Getting Started

Welcome to the DST1000 user guide! In order to get started, make sure you have the following hardware on hand:

Next, you will need to connect the pieces:

DST1000 Functional.jpeg
  1. Connect the DST1000 to the VINT Hub using the Phidget cable.
  2. Connect the VINT Hub to your computer with a USB cable.

Now that you have everything together, let's start using the DST1000!

Using the DST1200

Phidget Control Panel

In order to demonstrate the functionality of the DST1000, the Phidget Control Panel running on a Windows machine will be used.

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 DST1000.

First Look

After plugging the DST1000 into your computer and opening the Phidget Control Panel, you will see something like this:

DST1000 Panel.jpg

The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:

  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.

The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.

Distance Sensor

Double-click on the Distance Sensor object in order to run the example:

DST1000 DistanceSensor Example.jpg

General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Read the distance in millimetres on the right
  • Move the change trigger slider to select the minimum change required to register a new distance
  • Move the data interval slider to change how fast data events come in

Technical Details


The DST1000 will fire saturation error events when the reflected IR light doesn't reach the sensor, meaning the object is out of range. Objects that do not reflect light well might be harder to detect at greater distances.

What to do Next

  • Software Overview - Find your preferred programming language here to learn how to write your own code with Phidgets!
  • General Phidget Programming - Read this general guide to the various aspects of programming with Phidgets. Learn how to log data into a spreadsheet, use Phidgets over the network, and much more.
  • Phidget22 API - The API is a universal library of all functions and definitions for programming with Phidgets. Just select your language and device and it'll give you a complete list of all properties, methods, events, and enumerations that are at your disposal.


This Phidget is a smart device that must be controlled by a VINT Hub. For more information about VINT, have a look at the VINT Primer. You can use a Phidget Cable to simply and easily connect the two devices. Here's a list of all of the different VINT Hubs currently available:

Product Board
Image Part Number Price Number of VINT Ports
HUB0000_0 $30.00 6
SBC3003_0 $120.00 6

Phidget Cables

Use a Phidget cable to connect this device to the hub. 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.

Product Physical Properties
Image Part Number Price Cable Length
3002_0 $2.00 600 mm
3003_0 $1.50 100 mm
3004_0 $3.00 3.5 m
3034_0 $1.50 150 mm
3038_0 $2.25 1.2 m
3039_0 $2.75 1.8 m

Have a look at our distance sensors:

Product Sensor Properties
Image Part Number Price Sensor Type Controlled By Measurement Distance Min Measurement Distance Max
1128_0 $35.00 Distance (Sonar) VoltageRatio Input 152.4 mm 6.5 m
1146_0 $7.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
DST1200_0 $25.00 Distance (Sonar) VINT 40 mm 10 m