Ultrasonic Obstacle Avoiding Car - Keyestudio Micro:bit Mini Smart Robot Car Manual

Table of Contents

Advertisement

www.keyestudio.com

8.5.2 Ultrasonic Obstacle Avoiding Car

1) Description
In the previous project, we have combined a tracking sensor and micro:bit car shield to build a line tracking car.
Here we combine a ultrasonic module and micro:bit car shield to build an ultrasonic obstacle avoiding car.
How does it work?
We have introduced the principle of ultrasonic module before. We can use a ultrasonic module to measure the
distance between the micro:bit car and an obstacle ahead. Then control the running state of micro:bit robot car
according to the measured distance.
50

Advertisement

Table of Contents
loading

Table of Contents