Grove - Ultrasonic Distance Sensor

Sees how far away the nearest thing is, up to three and a half metres.

Not yet testedLow confidence

From $4.50

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.

See every part

Tested on a real boardHigh confidencehold up a color, and it names itLight Sensorfrom $8.00Tested on a real boardHigh confidenceit knows when it has been picked upAccelerometer + Gyroscopefrom $8.00Tested on a real boardHigh confidenceit feels the weather turning before you doEnvironment Sensorfrom $10.40