Description
In this article, after giving a general introduction of Distance Sensor practical
example is given. The Distance Sensor generally measures the distance between the vehicle
and the obstacle behind the vehicle during the reverse maneuvering by means of ultrasonic
detectors placed on the rear bumper of the cars. This measurement sends a visual or sound
feedback as the obstacle approaches. The signal is given to the user when the distance
between the obstacle and the vehicle drops to 30 cm. The distance sensor idea can be used not
only in vehicles but also elsewhere. For example, people with visually impaired vibrations can
be sent or put on the vehicles used by people with hearing impairments to protect them from
dangers by means of visual feedback.
Ultrasonic sensors were used as sensors and arduino uno was used as microcontroller. The
programming part of the project has been completed with the Arduino IDE, which acts as a
code editor and compiler, and also performs the installation of the compiled program to the
card. Distance information received by the help of sensors was given to Arduino. Arduino
outputs are connected to the electronic circuit. Arduino, which gives the appropriate decision
according to the distance information, has detected the objects by means of ultrasonic distance
sensor and gave a warning with led open and give information for led lights fastly or slowly;
buzzer loudspeaker (your choise) and thus the desired target has been reached.