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 02:15]
alexandra.ionita03 [Bibliografie/Resurse]
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
  
 +**Project Innovation**
 +
 +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.
 +
 +**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 components. Validation 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 ===== ===== Results Obtained =====
  
Line 144: 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 proiectului:​ surse, scheme, etc. Un fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-). +
- +
-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**. +
-</​note>​+
  
 ===== Journal ===== ===== Journal =====
Line 170: Line 195:
   * HC-SR04 Ultrasonic Sensor Datasheet - https://​cdn.sparkfun.com/​datasheets/​Sensors/​Proximity/​HCSR04.pdf   * HC-SR04 Ultrasonic Sensor Datasheet - https://​cdn.sparkfun.com/​datasheets/​Sensors/​Proximity/​HCSR04.pdf
   * LCD 1602 I2C Display - https://​www.vishay.com/​docs/​37299/​37299.pdf   * LCD 1602 I2C Display - https://​www.vishay.com/​docs/​37299/​37299.pdf
-  * MG996 Servo Motor - http://​www.towerpro.com.tw/​product/​mg996r/​ 
  
 <​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.1747696537.txt.gz · Last modified: 2025/05/20 02:15 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