[Programming with C++ Project: Burglar alarm system] The goal is to design a burglar alarm system with a variety of features. The basic system has three states, Off, Armed, and Alarm. The user presses...

[Programming with C++ Project: Burglar alarm system] The goal is to design a burglar alarm system with a variety of features. The basic system has three states, Off, Armed, and Alarm. The user presses BTN1 to Arm the system (in which case LED1 shines continuously) and presses BTN1 again to disarm it back to the Off state (when all LED’s are off). Any button press should also be acknowledged by a brief beep on the buzzer. Once Armed, the system will respond to intruders detected by the Reflected Light Sensor (RLS) by switching to the Alarm state, during which time the Buzzer alarm is sounded with a tone. The system should also alert the home owner by sending them an email. The Alarm falls silent (but remains Armed) if the intruder is scared off and departs, or if the system is disarmed back to the Off state by pressing BTN1. Include comments indicating functions of each line of code.
May 01, 2021

Submit New Assignment

Copy and Paste Your Assignment Here