Projects / Ideas / Door unlock by tapping a phone (NFC)

Door unlock by tapping a phone (NFC)

AdvancedSecurityIdeaReviewed
In short

How do you build a door unlock by tapping a phone (NFC)?

A PN532 NFC reader recognises a registered card or tag and opens a 12 V lock, with a log of every entry. You need Arduino Uno R3, PN532 NFC module, Relay Module 5V, Solenoid lock 12 V, Rectifier Diode 1N4007, 12 V 2 A DC adapter, DC barrel to screw terminal adapter (female) and Active buzzer 5 V.

Level
Advanced
Time
About 180 min
Parts
8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Use an NFC reader over I2C and keep an allowed list in EEPROM.

How to build it

  1. Set the PN532 to I2C mode with its switches
  2. Read the UID of tags and cards
  3. Add an enrol mode with a master card
  4. Store allowed UIDs in EEPROM
  5. Open the lock for 3 s and log entries over serial

Related projects

Common questions

What parts do I need for the door unlock by tapping a phone (NFC)?

Arduino Uno R3, PN532 NFC module, Relay Module 5V, Solenoid lock 12 V, Rectifier Diode 1N4007, 12 V 2 A DC adapter, DC barrel to screw terminal adapter (female) and Active buzzer 5 V.

How long does the door unlock by tapping a phone (NFC) take to build?

About 180 minutes for a advanced maker.