This shows you the differences between two versions of the page.
pm:prj2025:abirlica:octavian.armasu [2025/05/25 18:41] octavian.armasu [Software Design] |
pm:prj2025:abirlica:octavian.armasu [2025/05/26 10:44] (current) octavian.armasu [Hardware Design] |
||
---|---|---|---|
Line 23: | Line 23: | ||
| 151051RS11000 | Red color led | | | 151051RS11000 | Red color led | | ||
| 151031VS06000 | Green color led | | | 151031VS06000 | Green color led | | ||
- | | SSD1306 | Display LCD | | + | | SSD1306 | Display | |
| RC522 | NFC Reader | | | RC522 | NFC Reader | | ||
| PS1440P02BT | Buzzer | | | PS1440P02BT | Buzzer | | ||
Line 89: | Line 89: | ||
* In loop(), the card is read only when the flag is active, LEDs and buzzer are activated, the current time is retrieved from the RTC, the OLED displays the message and the timestamp | * In loop(), the card is read only when the flag is active, LEDs and buzzer are activated, the current time is retrieved from the RTC, the OLED displays the message and the timestamp | ||
* After 3 seconds, the system resets. | * After 3 seconds, the system resets. | ||
- | ===== Rezultate Obţinute ===== | ||
- | <note tip> | + | For debug reasons, I also print the UID of the card and the message in the serial monitor. |
- | Care au fost rezultatele obţinute în urma realizării proiectului vostru. | + | |
- | </note> | + | |
- | ===== Concluzii ===== | + | Libraries used: SPI.h, Wire.h, MFRC522.h, RTClib.h, Adafruit_GFX.h, Adafruit_SSD1306.h. These libraries are used to enable communication between the Arduino and external modules such as the RFID reader, OLED display, and RTC clock. SPI.h is used for SPI communication with the RC522 module, Wire.h for I2C communication with the OLED and RTC, MFRC522.h for handling RFID card detection and reading, RTClib.h for accessing real-time data from the DS3231, and Adafruit_GFX.h along with Adafruit_SSD1306.h for displaying text and graphics on the OLED screen. |
+ | ===== Conclusions ===== | ||
+ | |||
+ | At first, I wasn’t very enthusiastic about this project because I had no clear idea how to build it and I was afraid I wouldn’t be able to complete it successfully. However, once I got started and broke the problem down into smaller steps, everything became more clear and manageable. I began to understand how each part works and how they connect together, and the process became more interesting and rewarding. I found myself enjoying the development more than I expected. | ||
+ | In the end, not only did I manage to complete the project, but I also learned a lot in the process and I’m genuinely proud of what I achieved. | ||
===== Download ===== | ===== Download ===== | ||
- | <note warning> | + | {{:pm:prj2025:abirlica:proiect_pm.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ă ;-). | + | ===== Resources ===== |
- | + | ||
- | 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> | + | |
- | + | ||
- | ===== Bibliografie/Resurse ===== | + | |
- | + | ||
- | <note> | + | |
- | 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> | + | I mainly searched on youtube to see how to connect different components or how different components work. |
+ | * https://www.youtube.com/watch?v=MfmK55TREuQ&t=112s | ||
+ | * https://www.diyengineers.com/2021/04/15/learn-how-to-read-an-rfid-tag-with-rc522-and-arduino/ | ||
+ | * https://github.com/miguelbalboa/rfid | ||
+ | * https://www.youtube.com/watch?v=pB49idXdPfY | ||