This shows you the differences between two versions of the page.
|
pm:prj2026:bianca.popa1106:miruna.vlad [2026/05/07 14:41] miruna.vlad [General Description] |
pm:prj2026:bianca.popa1106:miruna.vlad [2026/05/12 15:16] (current) miruna.vlad [Module Interaction] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Smart Alarm System ====== | ====== Smart Alarm System ====== | ||
| - | ===== Introduction ===== | + | ====== Introduction ====== |
| - | The Smart Alarm System is an embedded security solution designed to monitor environmental conditions and detect suspicious activity in real time. The system combines multiple hardware and software components in order to improve safety and provide fast user notifications in critical situations. | + | The Smart Alarm System is an embedded security solution designed to detect suspicious activity and notify the user in real time. The system monitors motion and ambient light levels using dedicated sensors and activates visual and sound alarms whenever suspicious events are detected, especially during nighttime conditions. |
| - | The project uses motion detection sensors and ambient light monitoring to determine whether an event should be considered dangerous, such as movement detected during nighttime. When suspicious activity is identified, the system activates visual and sound alarms using LEDs and a PWM-controlled buzzer. In addition, the device communicates through Bluetooth, allowing the user to access system logs and monitor alerts directly from a mobile phone using commands such as GETLOG. | + | The main purpose of the project is to provide a simple, low-cost and efficient security system that can be used in homes, offices or restricted areas. In addition to local alarms, the device also supports Bluetooth communication, allowing users to monitor alerts and retrieve system logs remotely from a smartphone. |
| + | The initial idea behind the project was to develop a practical embedded system capable of detecting and reporting suspicious events in real time, in order to enhance security and improve response time in potentially dangerous situations. | ||
| + | The project can provide significant value in everyday environments where safety and continuous monitoring are essential, offering an accessible and efficient solution for improving security in homes, offices and other restricted areas. | ||
| - | ===== General Description ===== | ||
| - | The core of the system is a microcontroller that acquires data from sensors, processes it, and controls the output devices. When motion is detected in a low-light environment (for example, at night), the system considers the event as an intrusion attempt and activates visual and sound alarms. | + | ===== Modules Description and Interaction ===== |
| - | The system also includes a Bluetooth module that allows the user to communicate with the device from a smartphone. Through simple commands (e.g., GETLOG), the user can retrieve logs and monitor the system status remotely. | + | ====Block Diagram==== |
| - | The project is designed to be low-cost, reliable and easily extensible, making it suitable for home security, offices or restricted areas. | + | {{pm:prj2026:bianca.popa1106:block_diagram.png?700}} |
| - | ====Key Features==== | + | ====Module Interaction==== |
| - | * Motion detection using PIR sensor | + | |
| - | * Ambient light monitoring using LDR | + | The architecture of the Smart Alarm System is built around the **ATmega328P Microcontroller**, which coordinates communication between all hardware and software modules and manages the overall operation of the system. |
| - | * Sound and visual alarm (buzzer + LEDs) | + | |
| - | * Bluetooth communication for remote monitoring | + | **The PIR Motion Sensor** is responsible for detecting movement inside the monitored area. Whenever motion is detected, the sensor sends a digital signal to the microcontroller, which analyzes the event together with the ambient light information. |
| - | * Event logging and retrieval through GETLOG command | + | |
| - | * Low power consumption and real-time operation | + | **The Light Sensor (LDR)** is used to monitor environmental brightness levels. The sensor is connected to the ADC module of the microcontroller and provides analog values that allow the system to determine whether the environment is in daytime or nighttime conditions. |
| - | ====Block Diagram==== | + | |
| + | **The ATmega328P Microcontroller** processes the information received from both sensors and executes the decision-making logic implemented in software. If suspicious activity is detected, such as movement during low-light conditions, the microcontroller activates the alarm subsystem. | ||
| + | |||
| + | **The Buzzer Module** is used for generating sound alerts and is controlled through PWM signals generated by the microcontroller. At the same time, the **LED Indicators** provide visual feedback regarding the current state of the system, such as motion detection. | ||
| + | |||
| + | **The Bluetooth Module (HC-05)** enables wireless communication between the embedded system and a smartphone. Through UART communication, the user can monitor alerts, retrieve event logs using commands such as GETLOG and interact remotely with the system. | ||
| + | |||
| + | **The Push Buttons** allow local interaction with the device and are used for functions such as arming, disarming or resetting the alarm system. These inputs are handled directly by the microcontroller using GPIO pins and interrupt-based detection. | ||
| + | |||
| + | **The Power Supply Module** provides stable voltage to all hardware components and ensures reliable operation of the entire embedded system. | ||
| - | {{captura_de_ecran_2026-05-07_114427.png?700}} | ||
| ===== Hardware Design ===== | ===== Hardware Design ===== | ||
| * ATmega328P microcontroller | * ATmega328P microcontroller | ||
| Line 36: | Line 45: | ||
| * Bluetooth module | * Bluetooth module | ||
| * Power supply module | * Power supply module | ||
| + | * Push buttons | ||