Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2026:theodor_ioan.buliga:bianca.buga [2026/05/11 00:35]
bianca.buga
pm:prj2026:theodor_ioan.buliga:bianca.buga [2026/05/26 00:03] (current)
bianca.buga
Line 5: Line 5:
 This project implements a password-protected alarm system using the Arduino Nano ATmega328P board. This project implements a password-protected alarm system using the Arduino Nano ATmega328P board.
  
-  * **What it does:​** ​The system activates ​a passive buzzer alarm that can only be silenced by entering the correct password via push buttons. A green LED confirms ​a correct entry, while a red LED and an intensified ​alarm sound signal ​an incorrect ​attempt. ​A reset button ​and an LCD display are also integrated.+  * **What it does:​** ​When triggered (via start button or a PIR motion sensor), a 30-second countdown begins and the passive buzzer ​starts beeping. The alarm can only be silenced by entering the correct ​4-digit ​password via push buttons. A green LED and success jingle confirm ​correct entry, while a red LED and a continuous ​alarm signal ​a wrong attempt. ​The system also controls a servo motor acting as a physical door lock, stores the password persistently in the internal EEPROM (survives power cycles), ​and allows secure in-system password changes. A 16x2 I2C LCD and UART serial output provide real-time status feedback. 
 +  * **Key features:** Password-protected alarm, PIR motion detection with arming delay, servo door lock, EEPROM password persistence,​ 4-state FSM, UART debug output.
 </​note>​ </​note>​
  
 ===== General Description ===== ===== General Description =====
  
-The system is structured around the following hardware and software modules: +The system is structured around ​a **4-state Finite State Machine (FSM)** running on the ATmega328P. All peripherals are driven using direct register manipulation. 
 + 
 **Hardware Modules:** **Hardware Modules:**
-  * **ATmega328P ​X-Mini** — the central processing unit +  * **ATmega328P ​(Arduino Nano)** — central processing unit, 16 MHz, 5V 
-  * **Passive Buzzer** — driven by PWM (Timer1to produce ​variable-frequency ​alarm tones +  * **PIR Sensor (HC-SR501)** — motion detection for automatic arming 
-  * **Push Buttons (4x)** — used to input the password digits ​(e.g. a 4-button combination lock+  * **Servo Motor SG90** — actuates the physical door lock mechanism ​(PC0) 
-  * **Reset Button** — triggers a software or hardware reset of the system ​state +  * **Passive Buzzer** — variable-frequency ​acoustic feedback via GPIO toggle (PD7) 
-  * **Green LED** — indicates ​correct password ​entry +  * **4x Password Buttons** — 4-digit code input (PD3, PD4, PB0, PB1
-  * **Red LED** — indicates wrong password entry +  * **Start/Reset Button** — alarm trigger and system ​reset (PD2) 
-  * **16x2 LCD Display ​** — displays system ​status messages+  * **Arming Button** — PIR sensor arm/disarm toggle (PB4) 
 +  * **Password Change Button** — enters secure password-change mode (PC1) 
 +  * **Green LED** — correct password ​/ system disarmed indicator (PD5) 
 +  * **Red LED** — active alarm indicator (PD6) 
 +  * **PIR Status LED** — visual indicator when PIR is armed (PB2) 
 +  * **16x2 LCD (HD44780 + PCF8574 I2C adapter)** — real-time ​status messages ​(A4/A5)
  
 **Bill of Materials:​** **Bill of Materials:​**
Line 92: Line 98:
 | A5               | I/O (SCL)       | J1 (LCD I2C)         | I2C clock line                             | | A5               | I/O (SCL)       | J1 (LCD I2C)         | I2C clock line                             |
 ===== Results ===== ===== Results =====
 + ​{{:​pm:​prj2026:​theodor_ioan.buliga:​bb.png}}
 ===== Conclusions ===== ===== Conclusions =====
  
pm/prj2026/theodor_ioan.buliga/bianca.buga.1778448901.txt.gz · Last modified: 2026/05/11 00:35 by bianca.buga
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0