Write a program that uses an infrared remote and an infrared sensor to control a photoresistor (light sensor) and a piez
Posted: Fri Apr 29, 2022 7:00 am
Hello I need the solution using arduino c++
AS SOON AS POSSIBLE
Write a program that uses an infrared remote and an infrared sensor to control a photoresistor (light sensor) and a piezo buzzer. • If the user presses the IR remote power button for the first time then the photoresistor will measure the light intensity in the room and the program will display "dark" or "light” in the serial monitor. • If the user presses the IR remote power button for the second time then the piezo buzzer will beep. • Pressing the power for the third time will make the photoresitor work again; pressing it for the fourth time will make the piezo beep again, and so on.
AS SOON AS POSSIBLE
Write a program that uses an infrared remote and an infrared sensor to control a photoresistor (light sensor) and a piezo buzzer. • If the user presses the IR remote power button for the first time then the photoresistor will measure the light intensity in the room and the program will display "dark" or "light” in the serial monitor. • If the user presses the IR remote power button for the second time then the piezo buzzer will beep. • Pressing the power for the third time will make the photoresitor work again; pressing it for the fourth time will make the piezo beep again, and so on.