Docsity

robotics and mathematics, Study Guides, Projects, Research of Mathematics

Partial preview of the text

Download robotics and mathematics and more Study Guides, Projects, Research Mathematics in PDF only on Docsity!

Smart Distance

Warning System with

OLED Display

Felisitty Luminarias A10B

System Description

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.

OLED DISPLAY OUTPUT

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.

Program logic

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 ]

Simple Diagram