Smart Doorbell
Last updated
Last updated
The Smart Doorbell project allows the user to interact with environment with both input and output modules. The Ultrasonic Distance Sensor Module is used to detect if there is a person or a hand in front of the doorbell. If anything is near it, it detects and sends a feedback to script, allowing the user to play a sound with a buzzer.
About Tools and Materials:
()
()
()
()
()
Project Key Components
The SMD acts as a bridge between the script and the modules. It is responsible for interpreting the commands sent by the script and translating them into actions that read input from the and play an alert sound with the .
The is connected to the system for the most crucial role for the application, that is alerting the user when something is nearby.
The is used to detect if anything is nearby and if there is, how many centimeters away.
The SMD library is at the heart of the application. It communicates with the SMD using a specific communication protocol, sending commands to read the and play an alert sound with the .
Project Key Features
Proximity-Based Activation
The project uses the module with the HC-SR04 to detect the surroundings via ultrasonic sound waves. It makes a great way to understand how physics of sound works and also see that it is a way of interacting with environment with such an input sensor.
Adjustable Sensitivity
The user can change the sensivity of the distance check, customizing it to be more sensitive or unresponsive to near surroundings.
Real-time Monitoring
The script can easily provide the real-time distance monitoring if the user add a simple line. It enhances the code and gives more opportunity to monitor the surroundings.
Getting Started
Hardware Setup
Make sure that the SMD is powered and all connections are correct.
Run the Script
Observe Buzzer Activation
Connect the SMD to the PC or Arduino board using or .
Connect the and the to the SMD using an RJ-45 cable.
Run the script on your computer. This will establish communication with the SMD and initiate control of the and the .
Use an object or a hand to trigger the , if it will detect an obstacle in the specified range, the script will send a signal to the to alert the user.