Monday:
We screwed in our hinges and our bottom corner pieces.
Tuesday:
We developed and tested the code for allowing two different users who enrolled in Arduino for fingerprint scanning and either granting or denying access based on the text printed by Arduino and sent to the MIT App Inventor interface. In this approach, we thought of having each box have a unique text that indicates when a specific box should open/closed, and the rest should be unchanged.
Wednesday:
Tested the code again in MIT App Inventor as the screens were able to indicate access denied or granted, but did not allow the user to make a 2nd attempt to scan their finger after a denied scan or a successful scan after opening the box to close it.
Thursday:
Today, we experimented and explored ways to manipulate the clock to ensure the user can make multiple attempts to scan their finger, avoid lag when returning to the scan screen, and automatically return to the scan screen if the user does not press the button.
This was the updated Arduino code that allowed users to scan their finger and access their appropriate boxes using the same finger they enrolled with, with a high enough confidence level.
Friday:
The user interface successfully indicates the lockbox's access status after a fingerprint scan, and it does so for both users enrolled in the system who attempt to open their respective lockboxes and for those who attempt to open the wrong one. When trying to open the wrong lockbox or if the finger scan is not proper, the access will be denied. If they have a proper scan on the wrong box, only their box's access would be given. Lastly, if a proper scan is done on one's own box, it will grant access.
We were able to code the Arduino to make the servo motor rotate 90 degrees once access is granted and to rotate the opposite way for 90 degrees when access is granted again. This time, the serial monitor also prints whether a certain box (BOX 1 or BOX 2) is opened or closed
Goals for next week:
Program the servo motor
Connect the servo motor to the lockbox to act as an automated mechanism to open and close the box
Ensure Arduino, interface, and physical box all work together as a system