Difference between revisions of "DST1200 User Guide"

From Phidgets Support
Jump to: navigation, search
(Using the DST1200)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
__NOINDEX__
 
__NOINDEX__
 +
__NOTOC__
 
<metadesc>Detect several solid objects up to 10m away in a wide sensing range, or use the Sonar Phidget as an ultrasonic range finder.</metadesc>
 
<metadesc>Detect several solid objects up to 10m away in a wide sensing range, or use the Sonar Phidget as an ultrasonic range finder.</metadesc>
 
[[Category:UserGuide]]
 
[[Category:UserGuide]]
==Getting Started==
+
==Part 1: Setup==
 
{{UGIntro|DST1200}}
 
{{UGIntro|DST1200}}
 
*[{{SERVER}}/products.php?product_id=DST1200 DST1200 - Sonar Phidget]
 
*[{{SERVER}}/products.php?product_id=DST1200 DST1200 - Sonar Phidget]
Line 18: Line 19:
 
{{UGIntroDone|DST1200}}
 
{{UGIntroDone|DST1200}}
  
==Using the DST1200==
 
 
{{UGcontrolpanel|DST1200}}
 
{{UGcontrolpanel|DST1200}}
  
{{ugDistanceSensorSonar|, labelled ''Sonar Phidget'', }}
+
== Part 2: Using Your Phidget ==
  
{{ugAddressingInformation}}
+
===About===
 +
The DST1000 uses reflected ultrasonic waves to measure distance.  Use this Phidget for motion sensing, object detection, or spatial awareness. The sensor will measure the distance of as many as 8 objects at the same time, from 40mm to ~10m in optimal conditions with an accuracy of about 10mm.
  
{{ugUsingYourOwnProgram|This Phidget is compatible with the {{ExampleLink|DistanceSensor}}.}}
+
[[Image:DST1200_About.gif|link=|center]]
  
==Technical Details==
+
===Explore Your Phidget Channels Using The Control Panel===
=== Quiet Mode ===
+
The DST1200 has a ''Quiet Mode'' property which, as the name suggests, reduces the volume of the sound pulses used by the sonar sensors. While the sound that this Phidget makes is audible in either mode, it is much more noticeable without quiet mode enabled. By enabling quiet mode, you will affect the maximum sensing range and the number of reflections detected. Quiet mode also consumes less power, as explained in the next section.
+
  
=== Current Consumption ===
+
You can use your Control Panel to explore your Phidget's channels.
The current consumption of the DST1200 varies depending on the data interval you choose. The longer the interval between samples, the lower the current consumption. Switching to quiet mode also lowers current consumption slightly.  
+
  
[[Image:DST1200-current.jpg|link=|center]]
+
'''1.''' Open your Control Panel, and you will find the following channel:
  
===Amplitude Response===
+
[[Image:DST1200_Panel.jpg|link=|center]]
When you receive data from the DST1200, you'll end up with an array of sonar reflections that each have a distance and an amplitude. The distance, of course, refers to how far away the object is. The amplitude gives you a general idea of the size of the object. The amplitude value can range from 3 to approximately 900, with 3 being a very small reflection and 900 being a very large one. In some applications, you'll want to ignore reflections with an amplitude you deem is too small.
+
  
===Saturation===
+
'''2.''' Double click on the channel to open the example program. This channel belongs to the '''DistanceSensor''' channel class:
The DST1200 will fire saturation error events when the nearest reflection is closer that 40mm from the sensor. At this range it is too close for the sensor to accurately determine the range of the object.
+
  
{{UGnext|}}
+
{{UGC-Start}}
 +
 
 +
{{UGC-Entry|Sonar Phidget:| Measures the distance of objects in front of the DST1200|
 +
In your Control Panel, double click on "Sonar Phidget":
 +
 
 +
[[Image:DST1200-DistanceSensor.jpg|center|link=]]}}
 +
 
 +
{{UGC-End}}
 +
 
 +
{{UG-Part3}}
 +
 
 +
== Part 4: Advanced Topics and Troubleshooting ==
 +
{{UGC-Start}}
 +
{{UGC-Addressing}}
 +
{{UGC-DataInterval}}
 +
{{UGC-Entry|Quiet Mode||
 +
The DST1200 has a ''Quiet Mode'' which reduces the volume of the sound pulses used by the sonar sensors. While the sound that this Phidget makes is audible in either mode, it is much less noticeable with quiet mode enabled. By enabling quiet mode, you will decrease the maximum sensing range and the number of reflections detected. Quiet mode also consumes less power (see product page specifications for details).
 +
}}
 +
{{UGC-Entry|What does "Amplitude" mean for this sensor?||
 +
When you receive data from the DST1200, you will end up with an array of sonar reflections that each have a distance and an amplitude. The distance, of course, refers to how far away the object is. The amplitude gives you a general idea of the size of the object. The amplitude value can range from 3 to approximately 900, with 3 being a very small reflection and 900 being a very large reflection. In some applications, you will want to ignore reflections with an amplitude you deem is too small.
 +
}}
 +
{{UGC-Entry|Saturation Error||
 +
The DST1200 will fire saturation error events when the nearest reflection is closer than 40mm from the sensor. At this range it is too close for the sensor to accurately determine the range of the object.
 +
}}
 +
 
 +
{{UGC-End}}

Latest revision as of 19:12, 31 July 2020


Part 1: Setup

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


Next, you will need to connect the pieces:

DST1200 Functional.jpeg
  1. Connect the DST1200 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 DST1200!

Phidget Control Panel

In order to demonstrate the functionality of the DST1200, 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.

Windows

To open the Phidget Control Panel on Windows, find the Ph.jpg icon in the taskbar. If it is not there, open up the start menu and search for Phidget Control Panel

Windows PhidgetTaskbar.PNG

macOS

To open the Phidget Control Panel on macOS, open Finder and navigate to the Phidget Control Panel in the Applications list. Double click on the Ph.jpg icon to bring up the Phidget Control Panel.


For more information, 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 DST1200.

First Look

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

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

Part 2: Using Your Phidget

About

The DST1000 uses reflected ultrasonic waves to measure distance. Use this Phidget for motion sensing, object detection, or spatial awareness. The sensor will measure the distance of as many as 8 objects at the same time, from 40mm to ~10m in optimal conditions with an accuracy of about 10mm.

DST1200 About.gif

Explore Your Phidget Channels Using The Control Panel

You can use your Control Panel to explore your Phidget's channels.

1. Open your Control Panel, and you will find the following channel:

DST1200 Panel.jpg

2. Double click on the channel to open the example program. This channel belongs to the DistanceSensor channel class:

Sonar Phidget: Measures the distance of objects in front of the DST1200

In your Control Panel, double click on "Sonar Phidget":

DST1200-DistanceSensor.jpg

Part 3: Create your Program

1. Setting up your Programming Environment

2. Phidget Programming Basics

Part 4: Advanced Topics and Troubleshooting

How do I know what channel, serial number, or hub port to use in my program?

Before you open a Phidget channel in your program, you can set these properties to specify which channel to open. You can find this information through the Control Panel.

1. Open the Control Panel and double-click on the red map pin icon:

The locate Phidget button is found in the device information box

2. The Addressing Information window will open. Here you will find all the information you need to address your Phidget in your program.

All the information you need to address your Phidget


See the Phidget22 API for your language to determine exact syntax for each property.

Setting the Change Trigger and Data Interval

The Change Trigger is the minimum change in the sensor data needed to trigger a new data event. The Data Interval is the time (in ms) between data events sent out from your Phidget. You can modify one or both of these values to achieve different data outputs. You can learn more about these two properties here.

Quiet Mode

The DST1200 has a Quiet Mode which reduces the volume of the sound pulses used by the sonar sensors. While the sound that this Phidget makes is audible in either mode, it is much less noticeable with quiet mode enabled. By enabling quiet mode, you will decrease the maximum sensing range and the number of reflections detected. Quiet mode also consumes less power (see product page specifications for details).

What does "Amplitude" mean for this sensor?

When you receive data from the DST1200, you will end up with an array of sonar reflections that each have a distance and an amplitude. The distance, of course, refers to how far away the object is. The amplitude gives you a general idea of the size of the object. The amplitude value can range from 3 to approximately 900, with 3 being a very small reflection and 900 being a very large reflection. In some applications, you will want to ignore reflections with an amplitude you deem is too small.

Saturation Error

The DST1200 will fire saturation error events when the nearest reflection is closer than 40mm from the sensor. At this range it is too close for the sensor to accurately determine the range of the object.