Ultrasonic Sensor - Waveshare Alphabot2 User Manual

For micro:bit
Table of Contents

Advertisement

Alphabot2 for micro:bit User Manual

ULTRASONIC SENSOR

It is similar to the infrared sensor, ultrasonic sensor has one sender and one receiver as
well. Ultrasonic sensor can detect the distances of front obstacles.
Let's create a new project to read value from ultrasonic sensor.
-Ultrasonic
block can be founded in
AlphaBot2
package. This block is used to read the
distance value from Ultrasonic sensor, which is integer
We can also plot bar graph to show the distance value
67 / 76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents