omersiar / rfid522-door-unlock Goto Github PK
View Code? Open in Web Editor NEWArduino RC522 RFID Access Control
License: GNU General Public License v2.0
Arduino RC522 RFID Access Control
License: GNU General Public License v2.0
Hi, hate to bother your extremely good work, but after uploading the last code for web and sd. it keeps telling me error writing to SD master.dat
Door unlock rfid
I have tried your code and set a master card at the beginning but after registering a card and leaving the master program and re scanning the master card it shows up as invalid card. here is my event log.
No Master Card Defined
Scan A PICC to Define as Master Card
Scanned PICC's UID:
93B8C0D3
Master Card Defined
Master Card's UID
93B8C0D3
Waiting PICCs to bo scanned :)
Scanned PICC's UID:
93B8C0D3
Hello Master - Entered Program Mode
I have 105 record(s) on EEPROM
Scan a PICC to ADD or REMOVE
Scanned PICC's UID:
93B8C0D3
This is Master Card
Exiting Program Mode
Scanned PICC's UID:
93B8C0D3
Hello Master - Entered Program Mode
I have 105 record(s) on EEPROM
Scan a PICC to ADD or REMOVE
Scanned PICC's UID:
23BEDFC7
I do not know this PICC, adding...
Succesfully added ID record to EEPROM
Exiting Program Mode
Scanned PICC's UID:
23BEDFC7
I know this PICC, so removing
Succesfully removed ID record from EEPROM
Exiting Program Mode
Scanned PICC's UID:
23BEDFC7
I do not know this PICC, adding...
Succesfully added ID record to EEPROM
Exiting Program Mode
Scanned PICC's UID:
93B8C0D3
This is Master Card
Exiting Program Mode
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
4B695D21F2680
You shall not pass
Scanned PICC's UID:
4E0AB6A323680
You shall not pass
Scanned PICC's UID:
4B695D21F2680
You shall not pass
Scanned PICC's UID:
429651AE03581
You shall not pass
Scanned PICC's UID:
453AFE2613380
You shall not pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
429651AE03581
You shall not pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
4B695D21F2680
You shall not pass
Scanned PICC's UID:
4AF0EA5E
You shall not pass
Scanned PICC's UID:
9ABAEA5E
You shall not pass
Scanned PICC's UID:
4E0AB6A323680
You shall not pass
Scanned PICC's UID:
429651AE03581
You shall not pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
4B695D21F2680
You shall not pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
Scanned PICC's UID:
23BEDFC7
Welcome, You shall pass
Scanned PICC's UID:
93B8C0D3
You shall not pass
i used MFRC_nested_attack to recover the key but i think it works only on "A Key"
here how it looks
4475A2D4224578778800------------
is there someway to recover the "B Key" with MFRC_nested_attack
hi there, treid to compile today using the Arduino IDE but gut this error:
\RFID522-Door-Unlock-master\EEPROM\EEPROM.ino: In function 'boolean checkTwo(byte*, byte*)':
\RFID522-Door-Unlock-master\EEPROM\EEPROM.ino:404:16: warning: NULL used in arithmetic [-Wpointer-arith]
if ( a[0] != NULL ) // Make sure there is something in the array first
Other useds came aross this problem, too so i guess it not necessarily related to my machine? https://www.himix.lt/arduino/arduino-and-rfid-reader-mfrc522-for-door-unlock/
RFID door unlock
I need to use the mega for the project that I have and it won't write a tag to the SD card but writes a master card no issue.
thoughts?
I did everything how it should be and wired it up. The RFID Reader just normal and the MicroSD at the ICSP Header and D4. The microsd and rc522 are working good alone but not together.
After a power down the data stored in the EEPROM is lost. How can this be prevented ?
Thanks
I want to open 2 doors but different admins to add multi levels
if i want to open door 1 i open it with user from admin 1
if i want to open door 2 i open it with user from admin 2
if i want to open door 1 + 2 i open it with user from admin 1 + 2
I hope I will not be told Arduino can only open its own sketches yet again help me if you know why?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.