Distance
Ultrasonic Distance Sensor
- Overview
- Driver
- Daisylink
- Standalone
This sensor sends an ultrasonic chirp, then it measures the time it takes for the sound to bounce back. The time it takes maps to the distance between the sensor and the object it's facing.
Key features • Ultrasonic Type | Resources PID: 0x060008 |
See Drivers page for further details.
| Function | Description |
|---|---|
Distance() | Reads the current distance in cm. |
DVer() | This driver version. |
The Code!
Distance Driver
loading...
These Daisylink samples assume the driver is installed, see the Driver Tab.
- Python
- JavaScript
Python Sample
loading...
JavaScript Sample
loading...
These samples show how to run DUELink Standalone.
- Script
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
Standalone Script Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Distance | GDL-SEDISTANCE-B | $9.95 |