



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Felisitty Luminarias A10B
This system uses an ultrasonic sensor and an OLED display to detect the distance of nearby objects and show the result on a screen. The purpose of this system is to help prevent accidents by warning users when an object is too close. It provides real-time distance monitoring and visual alerts. This system can be used in homes, schools, and public places. For example, it can be used as a parking assistant, a safety warning device, or a simple obstacle detector in robotics projects.
The OLED screen will display the following: If the object is less than 10 cm away: “Too Close!” “Distance: __ cm” If the object is 10 cm or more away: “Safe Distance” “Distance: __ cm” Optional animation: The “Too Close!” message may blink to alert the user. A simple loading effect may appear while scanning.
Start Initialize OLED display Read distance from ultrasonic sensor If distance < 10 cm Display "Too Close!" Display distance Else Display "Safe Distance" Display distance Repeat [ Ultrasonic Sensor ] ----> [ Arduino ] ----> [ OLED Display ]