Individální projekty MPOA

Mikroprocesory s architekturou ARM

Uživatelské nástroje

Nástroje pro tento web


gpoa2019:nfc-reader-rc522

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
gpoa2019:nfc-reader-rc522 [2019/05/01 21:44]
Hana Vrtělková Další vytváření
gpoa2019:nfc-reader-rc522 [2019/05/01 23:09] (aktuální)
Hana Vrtělková source code
Řádek 101: Řádek 101:
  
 After succesfull authenticication can be performed memory operations such as read block, write block. After succesfull authenticication can be performed memory operations such as read block, write block.
 +
 +=== Example of commands ===
 +^Command ​                           ^ISO/IEC 14443       ​^Command code (hexadecimal) ​         ^
 +| Request ​                          | REQA               | 26h (7 bit)                        |
 +| Wake-up ​                          | WUPA               | 52h (7bit) ​                        |
 +| Select CL1                        | Select CL1         | 93h 70h                            |
 +| Authetification with key A        | -                  | 60h                                |
 +
 +===== Source code =====
 +Libraries not included (SPI library implemented in Arduino API, MFRC522 library can be downloaded on internet).\\
 +[[https://​drive.google.com/​open?​id=1QvRs6nWOJhlTx936un_5Fq0XPvoUjxam]]
 +
 +===== Summary =====
 +Initial idea was to write the application in pure C. Unfortunatelly inicialization of the communication vai SPI and initialization of the MFRC522 and right framing of the commands for authentification was quite complicated and time-consuming. The realization was made in Arduino API using build in library for SPI and downloaded library for MFRC522 which simplified the application.\\
 +Application can not write any information into the card.
 +
 +===== Short video =====
 +{{https://​youtu.be/​fw8XuA8u60U}}
 +
 +===== References =====
 +MFRC522 library:\\
 +[[https://​www.arduinolibraries.info/​libraries/​mfrc522]]
 +
 +Data sheets:\\
 +[[https://​www.nxp.com/​docs/​en/​data-sheet/​MF1S50YYX_V1.pdf?​fbclid=IwAR1lF3yzJMDJ8S5kAtc6kM9QkILn4_KPIstq8xaJ7dioMutrpV0eTIXd9zI]]\\
 +[[https://​www.nxp.com/​docs/​en/​data-sheet/​MFRC522.pdf]]
 +
 +Images for scheme:\\
 +[[https://​www.amazon.com/​SmartProjects-Mega-Arduino-MEGA-Board/​dp/​B004A7H3DG]]\\
 +[[https://​www.makerfabs.com/​index.php?​route=product/​product&​product_id=66]]
gpoa2019/nfc-reader-rc522.1556739882.txt.gz · Poslední úprava: 2019/05/01 21:44 autor: Hana Vrtělková