Products RFID MFRC522-MOD


MFRC522-MOD


MFRC522-MOD, RFID, from Signal HK OEM Part in Stock Hong Kong The MFRC522 Module is a compact and widely used 13.56 MHz RFID/NFC reader module based on the MFRC522 chip from NXP Semiconductors. It is designed for

The image is for illustrative purposes only; please refer to the product data sheet for precise specifications.


GET QUOTE NOW!

Part Number MFRC522-MOD
Manufacturer Signal HK OEM Part Official Vector Logo Signal HK OEM Part
Description The MFRC522 Module is a compact and widely used 13.56 MHz RFID/NFC reader module based on the MFRC522 chip from NXP Semiconductors. It is designed for easy integration into embedded systems, providing a complete contactless communication solution with minimal external components.

This module supports ISO/IEC 14443 Type A and MIFARE® protocols, allowing it to read and write various contactless smart cards and RFID tags such as MIFARE Classic, Ultralight, and other compatible cards. It is commonly used for identification, authentication, and access control applications.

The MFRC522 module communicates via a SPI interface, ensuring fast and reliable data exchange with microcontrollers such as Arduino, ESP8266, ESP32, Raspberry Pi, and STM32 platforms. It typically operates at 3.3V logic levels, making it suitable for low-voltage embedded systems.

The module includes an onboard antenna, crystal oscillator, and passive components, simplifying hardware design. It supports data transfer rates up to 848 kbps and offers a typical reading distance of up to 3–5 cm, depending on antenna design and tag type.

With its small PCB form factor and standard pin header interface, the MFRC522 module is easy to use in prototyping and production environments. It is widely used in applications such as access control systems, attendance tracking, contactless payment prototypes, IoT security, smart locks, and RFID-based identification systems.
Product Group RFID
MOQ 100 pcs
SPQ 100 pcs
Figure/Case TH-Module
Package TRAY Pack
PDF PDF Datasheet
Ship From Hong Kong
Shipment Way DHL / Fedex / TNT / UPS / Others
Delivery Term Ex-Works
Send RFQ sales@signalhk.com


ESP8266 Example Code for MFRC522 Module

ESP8266MOD code for RFID Card/Tag Reader MFRC522 Module


	
	
/*
==============================================================
Title: ESP32 + MFRC522 RFID Web Console Test (SoftAP + AJAX)

Pinout Connections (ESP32 -> MFRC522):
  SS / SDA  -> GPIO 5
  SCK       -> GPIO 18
  MOSI      -> GPIO 23
  MISO      -> GPIO 19
  RST       -> GPIO 22
  3.3V      -> 3.3V
  GND       -> GND

Description:
  - ESP32 starts in Access Point mode.
  - User connects with a phone to the ESP32 Wi-Fi network.
  - User opens the web page served by ESP32.
  - When an RFID card is scanned, its information is:
      1) Printed to Serial Monitor
      2) Shown on the web page in a console-like window
  - The web page updates using AJAX (fetch polling).

Important:
  - MFRC522 must be powered from 3.3V, not 5V.
==============================================================
*/

#include 
#include 
#include 
#include 

#define SS_PIN   5
#define RST_PIN  22

const char* AP_SSID     = "ESP32-RFID-Console";
const char* AP_PASSWORD = "12345678";

IPAddress local_ip(192, 168, 4, 1);
IPAddress gateway(192, 168, 4, 1);
IPAddress subnet(255, 255, 255, 0);

WebServer server(80);
MFRC522 rfid(SS_PIN, RST_PIN);

String logBuffer = "";
const size_t MAX_LOG_LENGTH = 6000;

String lastUID = "";
unsigned long lastScanTime = 0;
const unsigned long duplicateWindowMs = 1500;

// HTML page (served by ESP32)
const char INDEX_HTML[] PROGMEM = R"rawliteral(



RFID Console



ESP32 RFID Console

Waiting...\n
)rawliteral"; void appendLog(const String &line) { Serial.println(line); logBuffer += line + "\n"; if (logBuffer.length() > MAX_LOG_LENGTH) { logBuffer = logBuffer.substring(logBuffer.length() - MAX_LOG_LENGTH); } } String uidToString(MFRC522::Uid *uid) { String result = ""; for (byte i = 0; i < uid->size; i++) { if (uid->uidByte[i] < 0x10) result += "0"; result += String(uid->uidByte[i], HEX); if (i < uid->size - 1) result += " "; } result.toUpperCase(); return result; } void handleRoot() { server.send(200, "text/html", INDEX_HTML); } void handleLogs() { server.send(200, "text/plain", logBuffer); } void setup() { Serial.begin(115200); SPI.begin(); rfid.PCD_Init(); WiFi.mode(WIFI_AP); WiFi.softAPConfig(local_ip, gateway, subnet); WiFi.softAP(AP_SSID, AP_PASSWORD); appendLog("AP IP: " + WiFi.softAPIP().toString()); server.on("/", handleRoot); server.on("/logs", handleLogs); server.begin(); } void loop() { server.handleClient(); if (!rfid.PICC_IsNewCardPresent()) return; if (!rfid.PICC_ReadCardSerial()) return; String uid = uidToString(&rfid.uid); unsigned long now = millis(); if (uid == lastUID && (now - lastScanTime) < duplicateWindowMs) { return; } lastUID = uid; lastScanTime = now; appendLog("Card UID: " + uid); rfid.PICC_HaltA(); rfid.PCD_StopCrypto1(); }





Request quotation for
MFRC522-MOD
CAPTCHA Image












Room 1304, 13/F, Allways Centre, 468 Jaffe Road, Causeway Bay, Hong Kong.



Copyright © 2008-2024 Signal HK Limited. All Rights Reserved.Designated trademarks and brands are the property of their respective owners.
Use of this Website constitutes acceptance of Signal HK Limited Terms of Use and Privacy Policy
MFRC522-MOD datasheet, MFRC522-MOD specifications, MFRC522-MOD features, MFRC522-MOD pinout, MFRC522-MOD Arduino, MFRC522-MOD price, MFRC522-MOD circuit diagram, MFRC522-MOD development board, MFRC522-MOD app MFRC522-MOD Application MFRC522-MOD Stock Quote MFRC522-MOD Best Price MFRC522-MOD Free Stock MFRC522-MOD Lead Time MFRC522-MOD Delivery Time MFRC522-MOD Stock , MFRC522 module, MFRC522 RFID module, MFRC522 supplier, MFRC522 price, MFRC522 datasheet, MFRC522 buy online, MFRC522 distributor, MFRC522 stock availability, MFRC522 Arduino module, MFRC522 RFID reader board, MFRC522 SPI RFID module, MFRC522 NFC module 13