Distance Buzzer Warning
Last updated
Last updated
This project centers around creating a distance-based feedback system using the ACROME platform. The system incorporates a , , and a to provide real-time feedback based on the distance of an object from the sensor. The system also includes a graphical user interface (GUI) for users to monitor the sensor readings and adjust distance settings. The and provide visual and auditory signals, respectively, based on the proximity of the object to the sensor.
About Tools and Materials:
()
()
()
()
()
()
Key Components:
The acts as the communication hub, connecting and controlling the, , and . It processes sensor data and translates it into corresponding and feedback, ensuring that the system functions in real-time.
The measures the distance between itself and nearby objects. This data is continuously sent to the , which then determines the appropriate feedback to provide based on predefined distance thresholds.
The displays different colors depending on the distance between the sensor and the object. Colors such as green, yellow, and red are used to indicate different proximity ranges, providing users with an intuitive visual cue for the distance.
The emits sound at varying frequencies based on the object's distance from the sensor. Lower frequencies indicate a larger distance, while higher frequencies signal closer proximity, adding an auditory layer to the feedback.
Project Key Features:
Distance-Based and Feedback The system defines three key distance ranges: far, medium, and near. These ranges are associated with different colors and frequencies.
Far Distance: When an object is far (above a certain threshold), the system shows a green LED and the buzzer is silent.
Medium Distance: As the object gets closer, the LED changes to yellow, and the buzzer emits a low-frequency sound.
Near Distance: For very close objects, the LED turns red, and the buzzer produces a higher-pitched sound.
Real-Time Distance Monitoring The continuously measures the object’s proximity, sending this data to the . The system processes this information and updates the lights and in real time, ensuring immediate feedback for the user.
Customizable Distance Thresholds Users can customize the distance thresholds through a user-friendly GUI. The GUI allows them to input values for the far and medium distance thresholds, which directly affect when the and change states. These settings can be saved and loaded for future use.
User-Friendly Graphical Interface (GUI) The GUI is created using Tkinter, providing real-time updates on , color, and frequency. It also offers fields where users can enter new distance thresholds, ensuring that the system is flexible and adaptable to different environments or applications.
Threaded Operation for Continuous Monitoring The system runs the distance monitoring process in a separate thread, allowing the GUI to remain responsive while the sensor continuously collects data. This ensures smooth operation even as the user interacts with the interface.
Getting Started
Hardware Setup
Make sure that the SMD is powered and all connections are correct
Project Wiring Diagram
GUI Interaction: The user can view the real-time data in the GUI and adjust the distance thresholds for the far and medium ranges.
Threshold Customization: Users can input new values for the distance thresholds, apply them, and save these settings for future use.
Connect the SMD to the PC or Arduino board using or .
Connect , and to the SMD using an RJ-45 cable.
Distance Monitoring: The system continuously monitors the distance of an object using the and the data is processed in real time.
Feedback Response: Based on the object's distance, the and are activated with corresponding colors and frequencies.
Conclusion: This project showcases the versatility of the platform in integrating a with and a to provide real-time feedback. The combination of distance-based RGB feedback, customizable thresholds, and a user-friendly GUI makes the system both practical and adaptable. Whether used for safety, automation, or interactive installations, this project highlights the potential of the platform in creating dynamic, sensor-driven environments.