You are on page 1of 1

How features are implemented

1. Distance detection: Use a distance sensor such as an ultrasonic sensor to measure the distance from the
vehicle to the obstacles (the ultrasonic sensor emits a sound wave, when this sound wave encounters an
obstacle, it will reflect the sensor back. variable, based on the time interval between transmission and
reception to determine the distance to the obstacle). This distance data can be used to adjust vehicle
speed or avoid collisions.
2. Start/stop controls: Use line sensors to determine when the vehicle should start moving and when it
should stop. When the vehicle detects the line, it will start moving, and when it meets a predefined
stopping condition, it will stop.
3. LED condition:
• If D > 50cm, it's safe and can continue
• If D < 50cm, flash the LED and keep moving
• If D < 50cm and D > 20cm the light turns on and keeps moving
• If D < 20cm, LED turns on and stops
4. Edge detection: Uses the infrared sensor assembly to detect the contours or edges of an object or
environment. Through processing data from the edge sensor, the car can adjust its direction of travel to
follow the road line

You might also like