Grove - Ultrasonic Distance Sensor
Sees how far away the nearest thing is, up to three and a half metres.
Not yet testedLow confidence
Say it to PAL
“Tell me when someone comes close.”
The code PAL writes
const d = await p.read('grove-ultrasonic-ranger', 'distance');
if (d !== undefined && d < 50) p.log(`something at ${d} cm`);Good to know
- Soft or angled surfaces may not echo; treat a missing reading as 'nothing seen'.
- Two rangers firing together can hear each other's pulse.
About it
Seeed's ultrasonic ranger: one SIG line carries the trigger and the echo. The board times the echo and reports centimetres.
Where to buy
Facts
Tested
Not yet testedLow confidence
It is in our catalog, but nobody has checked it on a real board. It may not work yet. Its driver is written, but it has not been tested on hardware yet.