Tired of being locked out when you lose or forget your keys? Well, I have the perfect solution for you! Today we will build an Arduino RFID door lock. I wanted to find an easy and secure way to lock a door, without having to buy an expensive locking device. We will learn about radio frequency identification (RFID) and make use of wireless communication.
What is RFID?
“RFID stands for Radio-Frequency IDentification. […] The RFID device serves the same purpose as a bar code or a magnetic strip on the back of a credit card or ATM card; it provides a unique identifier for that object. And, just as a bar code or magnetic strip must be scanned to get the information, the RFID device must be scanned to retrieve the identifying information.” – ©Technovelgy – where science meets fiction.
RFID is used in this project to read data from the RFID tags and send the information to the non-volatile memory of the MCU. The ID read from the tags is compared with the stored information, and if it matches, then the door unlocks/opens.
Hardware
- Arduino Nano
- RFID RC522
- Piezo Buzzer
- 2x LED
- 2x 330 Resistor
- Keypad 4×4
- Adapter I2C for LCD
- LCD16X2BL
Software
- Arduino IDE
- SketchUp
- Github