Project weekly record

Project: Build and design of a fingerprint lock
Team member: Mohan Sun, Huaning Zhang, Yujie Yan
Project Objective:
In this project, the team will design and construct an electronic lock system that authenticates users through fingerprints and passwords. The system can be widely used in access control, electronic products and safes. Compared with the traditional lock and combination lock, this product has the characteristics of convenience and efficiency under the premise of constant security.
The following diagram shows the basic working principles of the product.

                                            Fig 1. Block diagram of project
Schematic Circuit:
                                     Fig 2: Schematic circuit of project

Week 1
In the first week of the project, the team mainly completed the following tasks:
1.    Check and confirm the components.
In this project, the following components are required.
1 Light-emitting diode (LED).  1 Arduino UNO R3.     1 220ohm resistor
1 Adafruit fingerprint sensor.   1 I2C LCD display screen.   1 Relay module.
1 Breadboard.                1 Buzzer.             Many jumping wires.  



As can be seen from the figure below, the components are complete.
           
                                                                     Fig 3. Components verify
2.    Complete the wiring of display, relay, buzzer and LED.

3.    Test the connection and function of buzzer and relay with Arduino library code and code written by the team.



Figure 4 shows the results of the relay test. After the program is uploaded to arduino, the relay starts to work. First, it emits a light sound, and the LED lights up after the sound. After 3 seconds, the relay makes another light sound and the LED goes out, and so on. This result indicates that the relay works normally.
                                                                            Fig 4. Test for relay
Testing the display directly use the code that comes with the Arduino library. After the program uploads the Arduino, the word "Hello world" appears on the screen, indicating that the display is connected to the circuit normally.

Next week plan:
In the experiment next week, the team is ready to complete the circuitry for the fingerprint sensor and test its connections and functions with program.















Week 2
In this week, the team mainly completed the following tasks:



1. According to the pin of the fingerprint sensor and the interface on Arduino, complete the circuit connection of the fingerprint sensor part. The following diagram shows the connected circuit.           
                                                   Fig 5. Connected circuit for fingerprint part.


2.    Verify the fingerprint sensor function with code.


                                                       Fig 6. Circuit verification results
The first is to verify the input function of the sensor. When entering the fingerprint, the command box will require the input twice, and after an interval of about five seconds, the command bar will prompt for the completion of the input. The next step is to verify the identification function. When a fingerprint is recorded, after placing a finger on the sensor again, the command bar will show the similarity with the existing fingerprint. As can be seen from the figure of result, there is no problem in connection between the fingerprint sensor circuit and Arduino, and the input and matching functions can be carried out normally.

Next week plan:
In next week's experiment, the team plans to combine the circuits from the first two weeks and complete the code to make sure the system works as a whole except for the password part,and a beyboard module will also be added. 





 

Week 3





In the third week of the project, the team mainly completed the following tasks:
1.    Connect 8 pins of keypad to pins of Arduino UNO A2-A9 respectively. The circuit is shown in Fig 7.   
                                                                Fig 7. Connection of the keypad

2.    Test the keypad with code. Press all the buttons and the corresponding character is printed in the serial monitor. Fig 8 shows the result of the test. 
                                                                    Fig 8. Test of the keypad
3.   The group modify the code for the buzzer and it can ring after three password input errors.
4.    The group design the codes for the fingerprint part and password input part. The two parts realize the unlock and alarm functions respectively. However, when we combine the two parts, the fingerprint lock system cannot work normally which means there are problems in the code.


Next week plan:



In next week's experiment, the team plans to combine the fingerprint system and password input system and modify the code for the lock.





Week 4


In this week of the project, the team mainly completed the following tasks:

Modified the code for the fingerprint sensor system to allow it work as a whole. (keypad and fingerorint sensor part). When the program is uploaded to Arduino, the message 'Please input' appears on the screen. When the correct fingerprint or password is entered, the screen appears' unlock welcome ', while when the wrong password or fingerprint is entered, the screen appears' error 'and returns to the input interface after a second delay.

After three consecutive incorrect passwords or fingerprints are entered, the buzzer beeps and the system locks for 30 seconds. In addition, after several special passwords have been entered in the input interface (defined in programming), the system can enter the password setting (C273) or fingerprint setting (0000) interface. The following figure shows the menu of these two interfaces.


                                                    Fig 9.  Password setting interface


                                                     Fig 10. Fingerprint setting interface








Next week plan:

In next week, the group will ensure the system work properlytidy up the circuirt and build the cover for the system. 



Week 5

This is the last week of the project, and as can be seen from the previous blog, the basic functionality of the product is now available. Therefore, this week the team mainly did the following work: 
1. Optimize the code. 
2. Make the shell for the product. 
3. Confirm product functions and prepare for next week's bench inspection.
         
                                                                             Fig.11 Shape of the final product 

At this point, the project has been completed, and in the next few days, the team will complete the project poster, report and prepare for the bench inspection.

评论

此博客中的热门博文