ICStation team introduce you this Anti-theft Entrance Guard Alarm System based on ICStation MEGA. This system works under 5V DC power supply, it can realize infrared entrance guard monitoring and uses the active buzzer to finish alarm. This system is very Convenient and practical and can be made very easily.
1). When turn on the power supply, the DIP LED lights, the system works normally. 2).When some object enters the infrared area, the buzzer alarms, the DIP LED stops lighting. 3). When press the reset button on the ICStation MEGA board, the buzzer stops alarming, the DIP LED lights again and this system continues monitoring.
Code for reference:
Step 1: Components List.
8. 1×5V power supply
Step 2: Schematic Diagram.
Step 3: Connect the 5v Power Supply and the GND of the ICStation Mega2560 to the Bread Board.
The red line is for the power supply, the black is for the GND.