In this part of the project, we'll be starting the alarm system which is the major assessment
task for the second half of this semester. This part of the project will focus on creating a simple alarm system that can be armed and disarmed using switches (i.e.DIP switch) as well as detect an intruder (also implemented using a DIP switch).
The project will consist of Two (2) parts; Part A will consist of a simulation to make sure all Ilogic and system behaviour is correct before attempting part B which will be to actually deploy your model to a physical system consisting of a breadboard, LEDs and the Arduino Uno microcontroller platform.
PartA
Begin by using Simulink logic blocks and Dashboard components to create a model that:
- Has a switch that can be used to arm and disarm the alarm system. - Has a second switch that will be used to simulate an intruder. - Has Three (3) lights; A green light to indicate the system is unarmed, a yellow light to indicate the system is armed and waiting for an intruder to be detected, and a red light to indicate an alarm state due to an intruder being detected. - When the switch is set to unarmed the green light should be on and nothing should happen if an intruder is detected. - When the switch is set to armed, the green light should go off and the yellow light should come on. In the armed state the system should be waiting for an intruder, but still be able to be disarmed
using the arm/disarm switch. Lastly, if the intruder switch is activated in the armed state, the yellow light should turn off and the red light should turn on to simulate an alarm sounding. Again, the system should be able to be disarmed from this state using the arm/disarm switch.
Part B
Once you're happy your simulation is working, and you've troubleshot anything that needs fixing, replace the simulation
and deploy this system to the Arduino Uno hardware.The system should behave the same as before, but red, green, and yellow LEDs should light up instead of simulated lamps.
All documentation (report) MUST include evidence of you having simulated your system first and then that the hardware implementation worked correctly (photographs from your in-class demo will suffice for this).