RFID Arduino Module X3P MFRC522

14,90 

Includes 19% Tax
Free Shipping

RFID NFC module for reading and writing NFC implants. This module can be controlled and integrated with an Arduino or Raspberry Pi.

Availability: Nicht lagernd

Description

This RFID module with integrated 13.56MHz antenna can be docked to the Arduino or also with the Raspberry Pi via the digital interfaces ARM / STM.

The module requires 3.3V or alternatively a 5V power supply. The RFID MFRC522 module supports MF1xxS20, MF1xxS70 and MF1xxS50 tags. The transfer speed can reach a speed of up to 848 bytes in both directions using MIFARE Classic transponders. The module measures 36x36mm and has four drill holes on each corner. The antenna reaches a reading distance of approx. 20mm. This was tested using the NFC tag MIFARE NTAG216.

Compatible implants

  • NFC Implant X2

    49,90 99,90 

    Includes 19% Tax
    Free Shipping
    Delivery Time: sofort lieferbar

    NFC Chip Implant with sterile injection device and accessories

    The NFC implant is delivered preloaded to the injection needle

    With this set you get everything you need to implant an NFC chip yourself or at one of our partner piercers. The NTAG216 NFC 2 standard is compatible with all major NFC enabled devices. If you do not wish piercing service, simply select “without service”.

  • NFC Implant X3

    79,90 179,90 

    Includes 19% Tax
    Free Shipping
    Delivery Time: sofort lieferbar

    MIFARE® Classic compatible chip implant

    The NFC implant with 1K-4KByte memory and high compatibility.

    With this package you get everything you need to implant a NFC chip at a piercer you trust. The X3 version enjoys a high level of acceptance among existing readers and smartphones due to the widespread use of the MIFARE® Classic chip.

  • NFC RFID Implant X2.1 Dual

    79,90 129,90 

    Includes 19% Tax
    Free Shipping
    Delivery Time: ca. 2-3 Werktage

    Chip implant with two frequencies and sterile injection device

    The chip implant is delivered preloaded to the injection needle

    With this set you get everything you need to implant an NFC chip yourself or at one of our partner piercers. This chipset is compatible with all NFC-enabled smartphones (See compatibility list). In addition, the implant also features an EM4200 125KHz chipset. If you do not wish to have an intervention, simply select “Do not specify”.

Example code

// VCC—-5V

// GND—-GND
// RST—-D5
// SDA—-D10
// MOSI—D11
// MISO—D12
// SCK—-D13
#include <SPI.h>
#include <RFID.h>
RFID rfid(10,5); //D10–SDA, D5–RST
unsigned char serNum[5];
unsigned char writeDate[16] ={‘R’, ‘o’, ‘b’, ‘o’, ‘t’, ‘D’, ‘y’, ‘n’, ‘-‘, ‘T’, ‘e’, ‘s’, ‘t’, 0, 0, 0};
unsigned char sectorKeyA[16][16] = {
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF},};
unsigned char sectorNewKeyA[16][16] = {
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xff,0x07,0x80,0x69, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xff,0x07,0x80,0x69, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},};
void setup()
{
Serial.begin(9600);
SPI.begin();
rfid.init();
}
void loop()
{
unsigned char i,tmp;
unsigned char status;
unsigned char str[MAX_LEN];
unsigned char RC_size;
unsigned char blockAddr;
rfid.isCard();
if (rfid.readCardSerial())
{
Serial.print(“The card’s number is : “);
Serial.print(rfid.serNum[0],HEX);
Serial.print(rfid.serNum[1],HEX);
Serial.print(rfid.serNum[2],HEX);
Serial.print(rfid.serNum[3],HEX);
Serial.print(rfid.serNum[4],HEX);
Serial.println(” “);
}
rfid.selectTag(rfid.serNum);
blockAddr = 7;
if (rfid.auth(PICC_AUTHENT1A, blockAddr, sectorKeyA[blockAddr/4], rfid.serNum) == MI_OK)
{
status = rfid.write(blockAddr, sectorNewKeyA[blockAddr/4]);
Serial.print(“set the new card password, and can modify the data of the Sector: “);
Serial.println(blockAddr/4,DEC);
blockAddr = blockAddr – 3 ;
status = rfid.write(blockAddr, writeDate);
if(status == MI_OK)
{
Serial.println(“Write card OK!”);
}
}
blockAddr = 7;
status = rfid.auth(PICC_AUTHENT1A, blockAddr, sectorNewKeyA[blockAddr/4], rfid.serNum);
if (status == MI_OK)
{
blockAddr = blockAddr – 3 ;
if( rfid.read(blockAddr, str) == MI_OK)
{
Serial.print(“Read from the card ,the data is : “);
Serial.println((char *)str);
}
}
rfid.halt();
delay(500);
}