ECE 265 Lab 6 : 3-Step Unlock
0 Stars     13 Views    

Author: Rathpisey Heng

Forked from: Christopher Annen/ECE 265 Lab 6 : 3-Step Unlock

Project access type: Public

Description:

This is a SEQUENTIAL locking mechanism. The user must input 3 successive passcodes, on ONE input pad. The correct passcodes must be entered in order and by pressing the Enter button. 

The open-lock condition is that the first passcode is: C1 = 12, the second entered is C2 = 9, and the third entered is C3 = 2.

If a user enters an incorrect passcode sequence, the system does nothing, and the lock stays engaged. Reiterated: The passcodes must be entered in the proper order! A user cannot enter, C1 = 9, C2 = 12, C3 = 2, nor can they enter any incorrect passcodes. ie: C1 = 12, C2 = 3, C1 = 2.

The system remains stable after 3 passcodes are entered, even if the Enter button is pushed. Each entry is displayed by an LED. To reset the entries to 0, the user must push the Reset button.

A small RGB LED indicates how many times the Enter button was pushed to store a code entry. (Black = 0, Red = 1, Magenta = 2, White = 3.)

A 5 second count-down Timer is also inserted before the Unlocked display LED is illuminated. This is a deterrent to someone who may be trying to hack the passcode, by forcing them to wait 5 seconds to see if their three entry codes were successful or not.

Created: May 27, 2021

Updated: Aug 26, 2023


Comments

You must login before you can post a comment.