EasyManua.ls Logo

SunFounder picar-x - Test Ultrasonic Module

Default Icon
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder picar-x
5.5 Test Ultrasonic Module
PiCar-X has a built-in Ultrasonic Sensor module that can be used for obstacle avoidance and automatic object-
following experiments. In this lesson the module will read a distance in centimeters (24 cm = 1 inch), and Print
the results in a Debug window.
TIPS
The Ultrasonic get distance block will read the distance from the PiCar-X to an obstacle directly ahead.
96 Chapter 5. Play with Ezblock

Related product manuals