This shows you the differences between two versions of the page.
pm:prj2023:apredescu:securityalarm [2023/05/28 22:22] teodora.olteanu [Software Design] |
pm:prj2023:apredescu:securityalarm [2023/05/28 23:35] (current) teodora.olteanu [Bibliography / References] |
||
---|---|---|---|
Line 106: | Line 106: | ||
I have used **Arduino IDE** to write the code for my project. | I have used **Arduino IDE** to write the code for my project. | ||
- | **Libraries**: The libraries that I have used are **Keypad** and **LiquidCrystal**: | + | |
+ | **Libraries**: | ||
+ | |||
+ | The libraries that I have used are **Keypad** and **LiquidCrystal**: | ||
1. The **LiquidCrystal.h** library is used to control LCD (Liquid Crystal Display) modules. It provides functions to initialize the LCD, set the cursor position, display text, create custom characters, and more. | 1. The **LiquidCrystal.h** library is used to control LCD (Liquid Crystal Display) modules. It provides functions to initialize the LCD, set the cursor position, display text, create custom characters, and more. | ||
Line 113: | Line 116: | ||
+ | **Implementation** | ||
+ | |||
+ | I have implemented the following functions: | ||
+ | |||
+ | 1.**setup()** | ||
+ | |||
+ | 2.**setPassword()** | ||
+ | |||
+ | 3.**verifyPassword()** | ||
+ | |||
+ | 4.**loop()** | ||
+ | |||
+ | 5.**checkDistance()** | ||
+ | |||
+ | 6.**setOffAlarm()** | ||
+ | |||
+ | The code is uploaded in the archive below. | ||
+ | |||
+ | ===== Final Result ===== | ||
+ | |||
+ | https://youtu.be/pAhXtH74ZVc | ||
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | Here you will find the archive with the code and the final results: | ||
+ | {{:pm:prj2023:apredescu:arhiva_teodora_olteanu.rar|}} | ||
+ | |||
+ | ===== Bibliography / References ===== | ||
+ | |||
+ | https://playground.arduino.cc/Code/Keypad/#Download | ||
+ | |||
+ | https://docs.arduino.cc/learn/electronics/lcd-displays | ||
+ | https://www.youtube.com/watch?v=lTAo_H5eqsk | ||
+ | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> |