Daniel Pop
Posts: 6
Joined: Fri Jul 29, 2016 7:18 am

Write a RFID tag using RPi 3 model B

Tue Aug 09, 2016 11:37 am

Hi there! First of all I'm using a RC522 - 13,56 MHz module for reading the tags which came with it. I need to change the UIDs for those tags and I haven't managed to find anything that could help me at all... Please help !

danjperron
Posts: 3508
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: Write a RFID tag using RPi 3 model B

Tue Aug 09, 2016 12:49 pm

The only thing you can't change on the card is the UID.

There is no way to change them.

But it is easy to write all the other bytes except the card is format this way

16 sectors x 4 block x 16 bytes = 1024 bytes but the third block is used for security key. Then only block 0,1 and 2 are available.

These are some links from raspberry.org forum.

viewtopic.php?p=733026#p733026
viewtopic.php?p=873556#p873556
viewtopic.php?p=818250#p818250
viewtopic.php?p=647519#p647519

Return to “Advanced users”