EasyManua.ls Logo

LAFVIN Obstacle Avoidance Smart Car Kit - Obstacle Avoidance Car Principle

LAFVIN Obstacle Avoidance Smart Car Kit
80 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...
75/78
Principle:
1.Ultrasonic detecting distance: one port emits high level more than 10 US. Once it outputting level, open potentiometer to time. When the port
becomes low level, read out current value. Use the time of detecting distance to calculate distance.
2.Use ultrasonic to detect the distance between obstacle and car, so that control the motion of the car according to the data.
3.If the distance between the car and obstacle is less than 35 cm, the car goes backward; if the distance is no less than 10 cm, the car goes
forwards; if the distance is less than 60 cm , the motor turns to detect the distance between car and left obstacle or right obstacle; if the distance
between car and left obstacle, the distance between car and right obstacle are less than 35 cm, the car goes backward; if the distance between car
and left obstacle is larger , the car turns left; if the distance between car and left obstacle is less than or equal to the distance between car and
right obstacle, the car turns right.