Differences

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

Link to this comparison view

pm:prj2025:vradulescu:alexandra.ionita03 [2025/05/20 00:59]
alexandra.ionita03 [Concluzii]
pm:prj2025:vradulescu:alexandra.ionita03 [2025/05/23 16:50] (current)
alexandra.ionita03 [Software Design]
Line 134: Line 134:
   * Timekeeping System: multiple timing variables track when different components need updates   * Timekeeping System: multiple timing variables track when different components need updates
  
-===== Rezultate Obţinute =====+**Project Innovation**
  
-<note tip> +The novelty of this project lies in the integration of interrupt-driven sensor processing with real-time multi-component coordination. Unlike basic proximity detection systems, this project combines continuous servo scanning with non-blocking alarm systems, creating a dynamic radar-like surveillance system. The use of Timer2 interrupts for sensor reading while maintaining smooth servo operation and responsive LCD updates represents a different approach to embedded system design. 
-Care au fost rezultatele obţinute în urma realizării proiectului vostru+ 
-</note>+**Project Architecture and Validation** 
 + 
 +The system follows a modular architecture where the ISR handles time-critical sensor operations while the main loop manages user interface componentsValidation was performed through systematic testing: 
 +  * Distance accuracy: Tested with objects at known distances (5cm, 10cm, 15cm, 20cm) showing ±0.5cm precision 
 +  * Response time: Verified 1-second detection latency meets system requirements 
 +  * Scanning consistency:​ Confirmed smooth 180° servo sweep without stuttering 
 +  * Component coordination:​ Verified simultaneous operation of LEDs, buzzer, LCD, and servo without interference 
 + 
 +**Sensor Calibration Process** 
 + 
 +The HC-SR04 ultrasonic sensor calibration involved: 
 +  * Distance Formula Validation: Verified the 0.034 cm/μs speed of sound constant through measurements against known distances 
 +  * Threshold Optimization:​ Through testing various objects and distances, established 15cm as optimal detection threshold balancing sensitivity and false positives 
 + 
 +**Performance Optimizations** 
 +  * LCD Update Optimization:​ Implemented 250ms update intervals to eliminate flickering while maintaining responsiveness 
 +  * ISR Efficiency: Minimized ISR execution time by moving complex operations to main loop using flag-based communication 
 +  * Timer Configuration:​ Selected Timer2 to avoid conflicts with Servo library'​s Timer1 usage 
 + 
 +**The demonstration video showcases** (the video is in the archive) 
 +  * Initial startup with "Safe area" display and green LEDs 
 +  * Continuous servo scanning motion (0-180°) 
 +  * Object detection triggering red LED flashing and buzzer alarm 
 +  * LCD displaying exact distance measurements 
 +  * Return to safe mode when object is removed 
 +===== Results Obtained ===== 
 + 
 +The project yielded a fully operational proximity detection system that successfully integrates the core concepts learned in laboratory sessions (I2C communication,​ timers, interrupts, and buzzer control) while incorporating additional components like the ultrasonic sensor and servomotor. The implemented system accurately detects objects within 15cm range, provides clear visual feedback through an LCD display and LED indicators, generates audible alerts via the buzzer when objects are detected, and maintains a continuous scanning motion with the servomotor during safe conditions. Testing confirmed reliable performance with consistent object detection, accurate distance measurements,​ responsive alarm activation, and stable operation across extended usage periods. ​
  
 ===== Conclusion ===== ===== Conclusion =====
Line 146: Line 173:
 ===== Download ===== ===== Download =====
  
-<note warning>​ +{{:pm:​prj2025:​vradulescu:​radar_guard.zip|}} 
-O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectuluisurse, scheme, etcUn fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-).+ 
 +===== Journal ===== 
 + 
 +  * [✓] 15/​05/​2025 ​Hardware Design 
 +  * [✓] 20/05/2025 - Software Design
  
-Fişierele se încarcă pe wiki folosind facilitatea **Add Images or other files**. Namespace-ul în care se încarcă fişierele este de tipul **:​pm:​prj20??:​c?​** sau **:​pm:​prj20??:​c?:​nume_student** (dacă este cazul). **Exemplu:​** Dumitru Alin, 331CC -> **:​pm:​prj2009:​cc:​dumitru_alin**. +===== Bibliography/Resources =====
-</note>+
  
-===== Jurnal =====+**Software Resources**
  
-<note tip> +  * Arduino IDE - "​Arduino Software (IDE)" - https://​www.arduino.cc/​en/​software 
-Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului+  * LiquidCrystal_I2C Library - https://​github.com/​fdebrabander/​Arduino-LiquidCrystal-I2C-library 
-</note>+  * Arduino Timer Interrupts - https://​www.arduino.cc/​reference/​en/​language/​functions/​external-interrupts/​attachinterrupt/​ 
 +  * AVR Libc Reference Manual - https://​www.nongnu.org/​avr-libc/​user-manual/​ 
 +  * PM laboratories ​
  
-===== Bibliografie/​Resurse =====+**Hardware Resources**
  
-<​note>​ +  * Arduino UNO https://​docs.arduino.cc/​hardware/​uno-rev3/​ 
-Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. +  ​HC-SR04 Ultrasonic Sensor Datasheet - https://​cdn.sparkfun.com/​datasheets/​Sensors/​Proximity/​HCSR04.pdf 
-</note>+  * LCD 1602 I2C Display - https://​www.vishay.com/​docs/​37299/​37299.pdf
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
pm/prj2025/vradulescu/alexandra.ionita03.1747691997.txt.gz · Last modified: 2025/05/20 00:59 by alexandra.ionita03
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