Modifications

Sauter à la navigation Sauter à la recherche
141 octets ajoutés ,  25 juillet 2015 à 18:52
Ligne 50 : Ligne 50 :     
== Tester les tags MiFare ==
 
== Tester les tags MiFare ==
In the serial monitor, you should see that it found the '''PN532''' chip. Then you can place your tag nearby and it will display the 4 byte ID code (this one is 0xAE 0x4C 0xF0 0x6C) and then the integer version of all four bytes together. You can use this number to identify each card. Recently NXP made so many cards that they actually ran through all 4 Bytes (2^32) so the number is not guaranteed to be absolutely unique. However, the chances are extremely slim you will have two cards with the same ID so as long as you aren't using these cards for anything terribly important (like money transfer) its fine to use the number as a unique identifier
+
Dans le moniteur série d'Arduino, vous devriez voir que la bibliothèque à trouvé le '''PN532'''. Ensuite, vous pouvez placer un tag près de l'antenne et le programme affichera les 4 octets/bytes du code d'identification (l'ID, celui-ci est 0xAE 0x4C 0xF0 0x6C) et ensuite la version (sous forme d'entier) des 4 bytes. and then the integer version of all four bytes together. You can use this number to identify each card. Recently NXP made so many cards that they actually ran through all 4 Bytes (2^32) so the number is not guaranteed to be absolutely unique. However, the chances are extremely slim you will have two cards with the same ID so as long as you aren't using these cards for anything terribly important (like money transfer) its fine to use the number as a unique identifier
    
{{ADFImage|PN532-RFID-NFC-Arduino-Lib-00.jpg}}
 
{{ADFImage|PN532-RFID-NFC-Arduino-Lib-00.jpg}}
29 917

modifications

Menu de navigation