How To Build An Obstacle Avoiding Robot - Keyestudio Micro:bit Mini Smart Robot Car V2 Instructions Manual

Table of Contents

Advertisement

How to Build an Obstacle Avoiding Robot?

Overview
This project you will learn how to combine an ultrasonic module, infrared obstacle sensor and micro:bit robot
shield to build an ultrasonic obstacle avoiding robot.
How does it work?
The principle is very simple. We will use an ultrasonic module to measure the distance between the micro:bit
robot and an obstacle ahead. Then detect the left and right side obstacles using infrared obstacle sensors;
control the running state of micro:bit robot according to the measured result.
Programming Thinking
Set the KEYES-2812-18R module to turn on 18 RGB LEDs in various colors. When micro:bit robot moves
1
81

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents