This shows you the differences between two versions of the page.
|
pm:prj2025:vstoica:mioara_raluca.nica [2025/05/30 01:26] mioara_raluca.nica [General Description] |
pm:prj2025:vstoica:mioara_raluca.nica [2025/05/30 03:09] (current) mioara_raluca.nica [Rezultate Obţinute] |
||
|---|---|---|---|
| Line 55: | Line 55: | ||
| | **Red LED** | 1 | Anode→A1 (via 220 Ω), Cathode→GND | “Full” indicator | | | **Red LED** | 1 | Anode→A1 (via 220 Ω), Cathode→GND | “Full” indicator | | ||
| | **220 Ω Resistors** | 3 | In series with each LED | Current limiting for LEDs | | | **220 Ω Resistors** | 3 | In series with each LED | Current limiting for LEDs | | ||
| - | | **Push-Button (Override)** | 1 | One side→D3 (INPUT_PULLUP), other side→GND | Manual barrier control (interrupt on D3) | | ||
| | **Breadboard** | 1 | – | Prototyping / common power rails | | | **Breadboard** | 1 | – | Prototyping / common power rails | | ||
| | **Jumper Wires** | ~20 | – | Signal and power connections | | | **Jumper Wires** | ~20 | – | Signal and power connections | | ||
| Line 118: | Line 117: | ||
| Demo: | Demo: | ||
| + | https://youtube.com/shorts/BB8ATAf_ZLA?feature=share | ||
| + | {{:pm:prj2025:vstoica:imagine_13.jpeg?200|}} | ||
| - | ===== Concluzii ===== | + | ===== Conclusions ===== |
| + | |||
| + | The **Automatic Parking Gate** prototype successfully met its main goals: RFID-based access control, real-time spot counting with ultrasonic sensors, and safe barrier actuation via a servo—all accompanied by clear LCD messages and status LEDs. Bench-top and live tests showed: | ||
| + | |||
| + | * **Reliability** – The barrier opened only for authorised cards and never allowed occupancy to exceed capacity in all test scenarios. | ||
| + | |||
| + | * **Response time** – The arm rises in under 1 s after a valid scan and lowers about 800 ms after the vehicle clears the exit sensor. | ||
| + | |||
| + | * **User feedback** – LCD prompts and the green / yellow / red LED scheme gave immediate, intuitive information. | ||
| + | |||
| + | On the learning side, the project reinforced skills in: | ||
| + | |||
| + | * SPI and I2C communication on Arduino hardware; | ||
| + | |||
| + | * designing a clean finite-state machine; | ||
| + | |||
| + | * integrating multiple hardware modules into a cohesive system. | ||
| + | |||
| + | ** Observed limitations | ||
| + | ** | ||
| + | * Ultrasonic sensors can mis-trigger in heavy rain or on very angled surfaces. | ||
| + | |||
| + | * The whitelist of cards is hard-coded—any change requires reflashing. | ||
| + | |||
| + | * There is no dedicated safety sensor to halt the arm while it is lowering. | ||
| + | |||
| + | ** Future improvements** | ||
| + | |||
| + | 1. Add an IR **safety photocell** to stop the barrier if something crosses underneath. | ||
| + | |||
| + | 2. Store the whitelist in **EEPROM** and use a master card for live admin tasks. | ||
| + | |||
| + | 3. Attach a Wi-Fi module (ESP8266/ESP32) for a web dashboard, live telemetry and OTA firmware updates. | ||
| + | |||
| + | 4. Enclose the electronics in a 3-D-printed, weather-proof housing and provide rugged power filtering. | ||
| + | |||
| + | Implementing these upgrades would move the prototype closer to a deployable, real-world parking solution—enhancing safety, flexibility and ease of maintenance. | ||
| ===== Download ===== | ===== Download ===== | ||
| + | {{:pm:prj2025:vstoica:automatic_parking_gate-master.zip|}} | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Bibliography / Resources ===== | ||
| + | |||
| + | === Software Resources === | ||
| + | * **Arduino Core Documentation** – “Language Reference” and “Core Libraries” (arduino.cc) | ||
| + | |||
| + | * **MFRC522 Library** – GitHub repository *miguelbalboa/MFRC522*, release v1.4.11 | ||
| + | README and example sketches for SPI RFID communication | ||
| + | | ||
| + | * **LiquidCrystal_PCF8574 Library** – GitHub repository *mathertel/LiquidCrystal_PCF8574*, release v1.3.x I2C backpack usage and custom character guide | ||
| + | | ||
| + | * **PlatformIO Documentation** – “Getting Started with AVR/Arduino” and “Library Dependency Finder” | ||
| + | |||
| + | * **AVR Libc Manual** – chapter on direct register access (`avr/io.h`) | ||
| + | |||
| + | * **Timer-1 Fast-PWM Tutorial** – Nick Gammon’s blog post on generating 50 Hz servo signals | ||
| + | |||
| + | * **Microchip ATmega328P Datasheet** – section on timers/counters and SPI/I²C peripherals | ||
| - | <note warning> | + | === Hardware Resources === |
| - | 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ă ;-). | + | * **MFRC522 RFID Reader Module Datasheet** – NXP PN532/RC522 reference, timing diagrams |
| - | 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**. | + | * **HC-SR04 Ultrasonic Sensor Datasheet** – voltage levels, echo timing relationship |
| - | </note> | + | |
| - | ===== Jurnal ===== | + | * **SG90 / TowerPro Micro Servo Datasheet** – pulse-width vs. angle chart, stall torque specs |
| - | <note tip> | + | * **16×2 Character LCD (HD44780) Datasheet** – command set, timing, busy-flag notes |
| - | Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. | + | |
| - | </note> | + | |
| - | ===== Bibliografie/Resurse ===== | + | * **PCF8574 I/O Expander Datasheet** – I2C address map, drive current limits |
| - | <note> | + | * **ESP328P Module Datasheet** – pinout, flash modes, Wi-Fi radio parameters |
| - | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | + | |
| - | </note> | + | |
| <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> | ||