RFID READER AND TAG

TINKS036

  1. RFID stands for radio-frequency identification rc522 device use radio waves to read and capture information stored on a tag attached to an object.
Features:-
  1. MFRC522 chip based board
  2. Operating frequency: 13.56MHz
  3. Supply Voltage: 3.3V
  4. Current: 13-26mA
  5. Read Range: Approx. 3cm with supplied card and fob
  6. Max Data Transfer Rate: 10Mbit / s
Applications:-
  1. Logistics & chain supply
  2. Race timing
  3. Attendee Timing
  4. Access control
  5. Asset tracking
  6. Library systems, etc.

    

#include <SPI.h>#include <MFRC522.h>
#define RST_PIN 9 // Configurable, see typical pin layout above#define SS_PIN 12 // Configurable, see typical pin layout above
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance
void setup() { Serial.begin(9600); // Initialize serial communications with the PC while (!Serial); // Do nothing if no serial port is opened (added for Arduinos based on ATMEGA32U4) SPI.begin(); // Init SPI bus mfrc522.PCD_Init(); // Init MFRC522 mfrc522.PCD_DumpVersionToSerial(); // Show details of PCD - MFRC522 Card Reader details Serial.println(F("Scan PICC to see UID, SAK, type, and data blocks..."));}
void loop() { // Look for new cards if ( ! mfrc522.PICC_IsNewCardPresent()) { return; }
// Select one of the cards if ( ! mfrc522.PICC_ReadCardSerial()) { return; }
// Dump debug info about the card; PICC_HaltA() is automatically called mfrc522.PICC_DumpToSerial(&(mfrc522.uid));}