ECE 110/120 Honors Lab Section : Password/RFID Scanner Security System

  • Anna Miller (annam4), ECE 120
  • Sahil Patel (sahilsp2), ECE 120
  • Mustafa Jamal (mustafa6), ECE 120






Project Proposal

Proposal: Dual-Method Security System




Problem Statement:

          Security in entering certain buildings and boarding the bus can make the process inefficient. Time is wasted in physically showing our I-cards when boarding the bus. Through our project we can implement a hands free system which would be quick and effective.   

Project Idea:

Security is an issue on college campuses. For example, dorms require i-cards and keyfobs to gain access and constantly warn against allowing tag-alongs. One way to simplify security and ensure that only those who should have access can get in would be to create lock system that implements an RFID scanner that would only allow certain frequencies to pass through a gate. Additionally, in the event that the person forgot his or her fob, the gate would also have a password-based backup system. These systems could be installed at the entrance of buses and before the doors of buildings. They would function much like the anti-theft systems in retail stores by alerting the people in charge when someone tries to gain access without the proper permission.

Outline:

Using a Password

The password-based component of this project will utilize a 4x4 matrix keypad for the input. There will be a stored password value in the EEPROM. When a combination of numbers is entered in the keypad, the circuit will convert these numbers to bits. From there, the data will be compared to the EEPROM. If the code matches a stored code, the password will be accepted, and the entry attempt will be successful. If the code does not match, however, the password will be denied.

Using the RFID Scanner

The RFID Scanner portion of this project is what implements the Arduino. We will use the scanner module and Arduino to scan the data of nearby RFID tags and pass that data onto the Comparison of Stored Values section of the circuit

Binary Conversion

This is the implementation of the keypad, converting the button presses into binary and storing them in a memory bank to be passed to the Comparison of Stored Values section of the circuit.

Comparison of Stored Values

We wan’t to make sure that every bit in the inputted password is the same as every bit of the stored password. We can use a bitwise XNOR operation to check that each bit matches, and AND all the results together to make sure they all do. The output of this AND gate is sent to the output section, with a 1 indicating a correct password and a 0 indicating an incorrect password.

Output

Because including an actual lock and door in this project would be pushing the time constraint and does not directly relate to the main idea, this circuit will instead use two LEDs, an LCD display, and a speaker as the output. If the scanner or password approves the person, a green LED will light up, and the LCD display will say “Approved.” If there is an unsuccessful attempt to gain entry, the red LED will light up, a buzzer will sound, and the LCD display will say “Denied.”

Block Diagram:

Components:

RFID tags/scanner:

4x4 Matrix Keypad

LCD display

Arduino

Breadboard

Storage (EEPROM)

DiP switches

Speaker

Logic gates (XNOR, AND, OR, NOT/inverters)

D-type flip-flop


Midterm Presentation Goal: 

We want to be able to read and store passwords inputted via keypad by the midterm presentation.





Weekly Log

February 21:

  • Finalized basic design and functionality of project
  • Started designing basic portions of the circuit

February 28:

  • Compiled a list of components needed and collected datasheets
  • Placed all supply center and online orders

March 7:

  • Finished ordering all components
  • Received breadboards, Arduino Mega, NAND gates, XOR gates, and RFID scanner and tags
  • Finished designing connections between keypad and LCD
  • Began designing EEPROM and Arduino circuit

March 28:

  • Began building circuit by connecting keypad, logic gates, LCD, and Arduino
  • Finished code for reading keypad values

April 4:

  • Soldered pins to LCD
  • Completed keypad and LCD circuit so that screen displays what is pressed
  • Finished most of the logic circuit by wiring XOR and NAND chips for parallel comparison
  • Began working on final report

April 11:

  • Realized parallel comparison required more Arduino pins than available, so redesigned circuit for serial comparison
  • Check-in/mock demo with TAs
  • Built serial comparison circuit with flip flop, XOR, and NAND chips
  • Tested and finished password portion of project
  • Began designing RFID portion
  • Soldered pins to RFID reader

April 18:

  • Completed RFID portion of circuit to accept one tag and deny others
  • Ran final tests
  • Finished project!





Attachments:

ECE 120 Honors Lab Report.pdf (application/pdf)

Comments:

Love it. The project theme/topic aligns well with the introductory ECE courses, and the scope is on the slightly larger side, but definitely doable. 


Make sure you ask for TA help later in the semester if you get stuck or need help! Project approved.

Posted by chorn4 at Feb 12, 2019 11:49