Answered step by step
Verified Expert Solution
Question
1 Approved Answer
It measures sound using Arduino and turns on the red light of the RGB LED if the sound is loud. At the same time, it
It measures sound using Arduino and turns on the red light of the RGB LED if the sound is loud. At the same time, it measures distance with HCSR and detects with the motion sensor with HCSRPIR If there is an object nearby, it prints "there is someone nearby loud sound" on the LCD display. If the motion and distance sensor does not detect anything, it only prints "loud sound", if the sound is low, it turns on the blue or green light of the RGB LED, it measures the distance with HCSR and by detecting the motion sensor with HCSRPIR if there is an object nearby and the LED Let's develop a program that prints "sound at normal level" on the screen, but if there is no movement or object, it prints "Safe". It will measure sound with the Sound Sensor Card Microphone Sensor.
If loud noise and motion are detected with the microphone sensor and HCSR and HCSR;
Turn on the red light of the RGB LED,
Print There is someone nearby Loud voice on the LCD display,
If there is only loud sound, no movement detected;
Turn on the RGB red light,
Print Loud volume only on the LCD display.
If low noise and motion are detected with the microphone sensor and HCSR and HCSR;
Turn on the blue light of the RGB LED
Print Low sound motion detected on the LCD display.
If no motion is detected and the sound level is not high;
Turn on the green light of the RGB LED
Print secure on the LCD display.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started