Skip to content

8yr/NFC-Rolling-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

NFC Rolling code

The system utilizes an Arduino Uno and an RFID-RC522 reader to control access based on the unique ID (UID) of each card. It enhances security with a rolling code system, generating a new random code for each card every time it is used. The MFRC522 library is used to interact with the NFC card reader, while the Servo library controls a servo motor to open a door or activate a mechanism upon successful card verification. This concept can also be implemented using other systems or platforms.

Why?

It's a basic prototype for an NFC-based access control system designed to prevent unauthorized entry and card cloning with tools like Flipper Zero. The system uses rolling codes for added security, making it suitable for securing restricted areas in corporate environments. However, this is only a conceptual implementation and not intended for actual deployment in businesses.

How to use

Add your card's UID to the allowedUIDs[] array in the source code. Each UID should be represented as a sequence of four hexadecimal bytes. For example:

const byte allowedUIDs[][3] = {
  {0xDE, 0xAD, 0xBE, 0xEF}, // Example UID
  {0xCA, 0xFE, 0xBA, 0xBE}, // Another example UID
  // Add your UID here
};

About

Rolling code for NFC/RFID Card's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages