Professional Documents
Culture Documents
2023 - Fall - Progress Test 1 - Example - SE17xx - Gy
2023 - Fall - Progress Test 1 - Example - SE17xx - Gy
- Ultrasonic range finder is used to detect the user that is in front of the door (distance is less than
the threshold). The LCD screen activates when a user is detected, enabling password input.
+Code Cảm biến âm thanh dùng để nhận diện người dùng ở gần, kích hoạt LCD để nhập
password
( Lab11d)
- The password can have any length, and the system verifies it once a "#" character is detected.
Verification occurs if the entered string contains the password. For example, if the password is
"12345," the input "561234589#" would be accepted.
+ Cái mật khẩu có thể dài và phải dùng kí tự “ #” để xác nhận. Ngay cả khi nhập chuỗi dài hơn
password, nếu trong chuỗi có chứa password vẫn tính là nhập đúng.
- Upon entering the correct password, a servo motor is activated to open the door. The door
automatically closes after a specified delay (for example 3 seconds).
+ Nhập đúng pass thì mở ( có một động cơ để mở tự động), sau 1 khoảng trễ cửa tự đóng ví dụ 3
phút.
- If an incorrect password is entered three times, the keypad locks, and a buzzer sounds for 5
seconds.
+ Nhập sai 3 lần thì cấm nhập nữa ( vô hiệu hóa chức năng nhập mật khẩu), còi kêu 5 giây sau đó
nhập lại bình thường.
1
Rename filename.
- Implement a password change functionality that allows users to modify passwords. The new
password should be stored in EEPROM for future use.
+ Có chức năng thay đổi password bằng cú pháp nhập từ keypad ( ví dụ **0033#). Mật khẩu sau
khi thay đổi phải được lưu trữ và dùng trong tương lại ( xóa mật cũ và thay bằng mật khẩu mới)
2
Rename filename.
2. Code:
3
Rename filename.
3. Tinkercad link: