Distance
Ultrasonic Distance Sensor
- Overview
- Drivers
- Samples
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...
Samples assume the drivers are installed, see the Drivers Tab.
- Script
- Python
- JavaScript
Script Sample
loading...
Python Sample
loading...
JavaScript Sample
loading...
Ordering Info
Product | Part Number | Price |
---|---|---|
DUELink Distance | GDL-SEDISTANCE-B | $0.00 |