Hello! I was given a task to make a reader for NFC tags and Mifare cards (Classic cards would be enough, I suppose).
What it should be like:
I have to connect NXP PN532 reader (link below) using UART interface (I think it is more preferable than I2C or SPI interface because of its simplicity) with PIC microcontroller, which should be modelated in Proteus. Connection between PN532 and PC should be made with help of RS232-USB adapter, as far as I undersand.
The goal is to make authentification using mifare classic cars. I don't exactly know how it is usually done, but I would have made it in following way: get the uid of mifare card, which is stored in block 0, save uid in non-volatile memory of PIC, and in next requests just compare the uid of the card with the uids from PIC memory. This method has a downside of potential running out of memory, so another one comes to my mind: set key (that no one except you knows) for one of the sectors of the card and also store it in non-volatile memory of PIC. Then we can just check if passed authentification to get access to this sector or not. This method also has a downside, as a length of the key is only 6*8 = 48 bits. So if know a better way of organising authentification process, please tell me :)
Also it would be good to include to organise any input or output. For example, we might type in terminal or with keyboard a key which will be stored in card and PIC memory, also we might select a sector, where we will store the key. Finally, we can put some text in blocks protected with out key, for example, the name of the owner of the card. Then, when PN532 reads our card, we might show the name of the owner on the led of terminal.
As for PIC, I would like to pick as simple one as possible. I think that PIC16F877A would be ok, but i might be mistaken :)
Finally, I need a step by step guide of what you have done, cause I really want to know how to make all that stuff work, but just have no enough time to make it by my own :с I will put a link of one the guides, which I want your guide should be look like. Not in terms of style, of course, but in terms of the amount of detailed information :)
Links:
pn 532 user manual
[login to view URL]
pn 532 long datasheet:
[login to view URL]
pn 532 short datasheet:
[login to view URL]
mifare classic datasheet:
[login to view URL]
using mifare classic tags:
[login to view URL]
Good guides:
[login to view URL]
[login to view URL]
pn 532 on ebay:
[login to view URL]
Already done such projects many times, with pn532 and mfrc522.
just talk and get code from me. :)
Relevant Skills and Experience
we have 8+ years in embedded system field.
Proposed Milestones
$98 USD - prj fee
Lets come and talk.
Hi,
I have worked on PN532 RFID reader and Mifare Cards. I understood that you want to interface PN532 with PIC MCU and implement authentication.
I can execute this project in short time.
Relevant Skills and Experience
I have worked with PN532 RFID reader and I can interface it with PIC MCU and authenticate as well cards.
I have read your mechanism would like to discuss more in chat.
Proposed Milestones
$200 USD - Default Milestone
Need discussion in chatbox
Hello Sir,
I read your job description very carefully and I believe I am very qualified for your project.
Relevant Skills and Experience
I am a master of PIC, microcontroller, PCB design
Looking forward to work with you.
Thanks
Proposed Milestones
$155 USD - default
Hello there! Hope you doing good! If you still need this to be done, be sure to contact me.
Lets make something awesome!
Greetings!
Habilidades y experiencia relevante
Electronics Engineer Since May 2015
Htos propuestos
$250 USD - Project Milestone
Can complete and send you the project details with documentation
Relevant Skills and Experience
.
Proposed Milestones
$244 USD - .
I may need the MiFare Reader for testing purpose, after project completion