Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Rename filename.

Class SE17xx Group 01


# Student ID Student Name Task
1
2
3
4
5

IOT 102: PROGRESS TEST 1 (Example)


Components: Arduino Uno
Input: Ultrasonic rangefinder( cảm biến âm thanh ( 2 cái loa)) , Keypad 4x4( nhập số) , photoresistor
( cảm biến ánh sáng) ,…
Output: Servo motor( mô tơ) , LCD (Màn hình ) , LED( đèn led) , buzzer( còi ),…

Task: Design a security door.


Description:
- Photoresistor is used to turn on LED for the user to input a password from the keypad when it is
dark.
+ Code cảm biến ánh sáng, trời sáng thì tắt, trời tối thì sáng đèn để hỗ trợ người dùng nhập ?

- 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)

1. Picture of your design:

2
Rename filename.

2. Code:

3
Rename filename.

3. Tinkercad link:

4. Video clip (Google Drive):

You might also like