Answered step by step
Verified Expert Solution
Link Copied!

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 HC-SR04 and detects with the motion sensor with HC-SR501(PIR). 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 HC-SR04, and by detecting the motion sensor with HC-SR501(PIR), 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 HC-SR04 and HC-SR501;
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 HC-SR04 and HC-SR501;
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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions