This is what you need in your room. This project has 3 buttons: 2 of them (the black ones) are for setting time manually and 1 of them (the red one) is for turning the LCD light on or off. The LCD shows the time in first row and shows the alarm time (that you can set it in Arduino project code). When the clock time is equal to alarm time the buzzer turns on for 1 minute and then turns off.
1 / 2
The alarm is set in the code for example:
if (b == 0 and c == 8 and e == "AM"){ //"b" is the minutes and "c" is the hours and "e" is chosen from (AM or PM) of the alarm time.
//your buzzer timing
}
Comments
Please log in or sign up to comment.