You have a small PCB with a chip, an antenna trace, and a row of pins. It is not a finished reader with a case and beeper. It is a module—the guts of an RFID system meant to be embedded into your own project.
Here is the thing. When people search how to use RFID reader module, they usually discover that modules are different from finished readers. No USB plug-and-play. No mobile app. You have to wire it, talk to it over SPI or serial, and write code to interpret what comes back.
Let me walk through the real steps for using RFID modules, from the popular MFRC522 for HF to UHF modules for longer range.
First: Know Your Module Type
RFID modules come in different frequencies and interfaces. Your steps depend on which one you have.
MFRC522 (13.56 MHz HF): The most common hobbyist module. Reads Mifare cards, NFC tags. Uses SPI communication. Costs a few dollars. Good for access control, attendance systems, and learning .
UHF modules (860-960 MHz): For longer range (up to several meters). Often communicate over serial (UART) with simple ASCII commands. Used in inventory and tracking .
Low Frequency modules (125 kHz): For old proximity cards. Usually simple readers that just output the card ID over serial.
This guide focuses on the MFRC522 because that is what most people mean when they search how to use RFID reader module. But we will cover UHF modules too.
Step 1: Wiring the Module (MFRC522)
The MFRC522 uses SPI (Serial Peripheral Interface) to talk to your microcontroller. You need to connect four SPI pins plus power and reset .
For Raspberry Pi (40-pin header):
MFRC522 Pin
Raspberry Pi Pin
GPIO/Function
SDA (SS)
Pin 24
GPIO8 (CE0)
SCK
Pin 23
GPIO11 (SCLK)
MOSI
Pin 19
GPIO10 (MOSI)
MISO
Pin 21
GPIO9 (MISO)
IRQ
Not connected
–
GND
Pin 6 (or any GND)
Ground
RST
Pin 22
GPIO25
3.3V
Pin 1
3.3V power
Important: The MFRC522 runs on 3.3V, not 5V. Connecting to 5V will destroy the module .
For Arduino Uno:
MFRC522 Pin
Arduino Pin
SDA (SS)
Pin 10
SCK
Pin 13
MOSI
Pin 11
MISO
Pin 12
IRQ
Not connected
GND
GND
RST
Pin 9
3.3V
3.3V
The Arduino example from the MFRC522 library shows this exact wiring .
Step 2: Install Required Software
For Raspberry Pi with Python:
First, enable SPI on your Raspberry Pi :
bash
# In raspi-config, go to Interface Options > SPI > Enable
sudo raspi-config
# Reboot after enabling
Never write to trailer blocks unless you know what you are doing. Writing incorrect data to a trailer block can lock the entire sector permanently .
For more control, use the MFRC522 class instead of SimpleMFRC522:
python
from mfrc522 import MFRC522
reader = MFRC522()
# Request card
(status, TagType) = reader.Request(reader.PICC_REQIDL)
if status != reader.MI_OK:
print("No card found")
exit()
# Get UID
(status, uid) = reader.Anticoll()
if status == reader.MI_OK:
print(f"UID: {uid}")
# Select tag for authentication
reader.SelectTag(uid)
# Authenticate using default key
key = [0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]
trailer_block = 11 # Sector 3 trailer
status = reader.Authenticate(reader.PICC_AUTHENT1A, trailer_block, key, uid)
if status == reader.MI_OK:
# Read multiple blocks
block_nums = [8, 9, 10] # Sector 2 data blocks
data = []
for block_num in block_nums:
block_data = reader.ReadTag(block_num)
if block_data:
data += block_data
if data:
print("Read data:", ''.join(chr(i) for i in data))
reader.StopAuth() # Always stop authentication
Step 5: Using UHF RFID Modules
UHF modules work differently. They typically communicate over serial (UART) and use ASCII commands .
Example with M5Stack UHF-RFID unit:
cpp
#include <M5Unified.h>
#include "UNIT_UHF_RFID.h"
Unit_UHF_RFID uhf;
void setup() {
M5.begin();
Serial.begin(115200);
// Initialize UHF module on Serial2 with pins 1(RX) and 2(TX)
uhf.begin(&Serial2, 115200, 1, 2, false);
// Check communication
String info = uhf.getVersion();
if (info != "ERROR") {
Serial.println("Module ready: " + info);
}
uhf.setTxPower(2600); // Set power level
}
void loop() {
// Poll for tags once
uint8_t result = uhf.pollingOnce();
if (result > 0) {
for (uint8_t i = 0; i < result; i++) {
Serial.println("EPC: " + uhf.cards[i].epc_str);
Serial.println("RSSI: " + uhf.cards[i].rssi_str);
}
}
delay(2000);
}
UHF modules can read tags from several meters away, unlike HF modules which need close contact .
Step 6: Write Data to Tags
Writing requires targeting the right memory location .
For HF tags with MFRC522:
python
# After authentication (see above)
block_nums = [8, 9, 10]
text = "PROD-12345"
# Pad to 16 bytes per block (16 * number of blocks)
data = bytearray()
data.extend(bytearray(text.ljust(len(block_nums) * 16).encode('ascii')))
i = 0
for block_num in block_nums:
reader.WriteTag(block_num, data[(i*16):(i+1)*16])
i += 1
print("Write complete")
For production applications, CYKEO offers embedded RFID modules that integrate seamlessly:
CYKEO CM-UHF1: Compact UHF module with serial interface, 26dBm output, reads up to 8 meters. Simple ASCII command set for easy integration.
CYKEO CM-HF1: 13.56MHz module with SPI interface, compatible with MFRC522 code. Reads Mifare, NTAG, and ICODE tags.
CYKEO CM-LF1: 125kHz module for proximity cards. Simple 3-byte UART output—just connect and read.
All CYKEO modules come with:
Full documentation and command sets
Example code for Arduino, Raspberry Pi, and STM32
Technical support from engineers
The Bottom Line
How to use RFID reader module comes down to:
Wire correctly—SPI for MFRC522, serial for UHF modules
Install libraries—mfrc522-python for Raspberry Pi, MFRC522 library for Arduino
Read with simple code—SimpleMFRC522 for basic UID access
Understand memory—sectors and blocks for HF, memory banks for UHF
Authenticate before writing—keys matter
Start with the DumpInfo example or SimpleMFRC522 to verify your module works. Then move to more advanced operations.
CYKEO modules are designed to be drop-in replacements for common modules, with better sensitivity and reliability. Our documentation includes migration guides for MFRC522 projects.
And when you get stuck—because RF is tricky—CYKEO support has helped hundreds of developers integrate RFID modules. Call us with your module type and what you are building.
Need an RFID module for your project? CYKEO offers HF and UHF modules with full documentation and support. Contact our embedded team for datasheets and sample code.
CYKEO Passive RFID Tags are made for wet and high-humidity environments where standard labels do not last. This rfid passive tag is often used around liquids, chemicals and temperature changes, providing stable reading distance and long data life for industrial tracking.
CYKEO CYKEO-PCB1504 Metal RFID Tags is a compact anti-metal UHF RFID solution built for direct mounting on metal surfaces. With stable 8-meter read range, Ucode-8 chip, and long data retention, this rfid metal tag fits tools, containers, automotive parts, and industrial asset tracking.
CYKEO CYKEO-PCB7020 On-Metal RFID Tags are designed for reliable tracking on steel and metal surfaces. Built with an FR4 epoxy body and industrial-grade chips, these On-Metal RFID Tags deliver stable performance, long data life, and chemical resistance, making them a dependable RFID anti-metal tag for harsh environments.
The CYKEO CYKEO-60-25 Anti-Metal RFID Tag is built for metal surfaces where standard tags fail. Designed for long-range performance, harsh environments, and stable data retention, this Anti-Metal RFID Tag is ideal for industrial assets, containers, and equipment tracking using on metal RFID tags.
The CYKEO RFID Laundry Tag is designed for long-term textile identification in harsh laundry environments. Built to withstand high heat, chemicals, and repeated washing, this RFID Laundry Tag delivers stable performance for hotels, hospitals, and industrial laundry operations using laundry rfid tags at scale.
The CYKEO CYKEO-125-7 RFID Book Tag is designed for reliable book and document tracking in libraries and archives. This RFID Book Tag delivers long read range, dense placement support, and stable performance on shelves, making it a practical rfid tag on books for library automation, file management, and archival systems.
CYKEO RFID tags in hospitals are designed for sterile environments where accuracy matters. These autoclavable RFID tags support long-term tracking of surgical tools, implants, and medications, helping hospitals improve visibility, compliance, and patient safety.
CYKEO RFID Cable Tie Tag is built for reliable identification on metal surfaces. This UHF RFID Cable Tie Tag is widely used in rfid tags for inventory systems, industrial asset management and Hospital RFID Tags, offering stable read performance, long service life and global EPC Gen2 compatibility.
CYKEO RFID Asset Tag is designed for stable identification of metal assets in industrial environments. This UHF RFID Asset Tag is commonly used for rfid tag asset tracking on equipment, tools and containers, providing reliable reads, long service life and ISO/IEC 18000-6C support.
CYKEO UHF RFID Card is designed for fast identification and long-term use in industrial and commercial systems. Supporting ISO 18000-6C, this UHF RFID Card works at 860–960 MHz and is suitable for custom RFID cards used in asset tracking, access control and inventory management.
CYKEO HF RFID Cards are designed for secure and stable access control systems. These 13.56 MHz RFID key cards support ISO 14443-A, reliable rewriting and long service life, making HF RFID Cards suitable for offices, campuses, events and membership management.
CYKEO UHF RFID Tag is designed for reliable tracking of metal jewelry and high-value items. This Jewelry RFID Tag supports long-range reading up to 8 meters, anti-counterfeit protection and stable performance on metal, making it suitable for retail, inventory control and asset management.
CYKEO Embedded RFID Modules are designed for compact industrial and IoT devices that require stable UHF performance. These UHF RFID Modules support global protocols, flexible power control, and reliable multi-tag reading for smart cabinets, production lines, and asset tracking systems.
CYKEO Embedded RFID Module is built for compact IoT and industrial devices that need stable UHF performance. This UHF module supports global protocols, low power operation, and reliable multi-tag reading for smart lockers, production lines, and always-on RFID systems.
CYKEO CYKEO-M1 drone rfid module is a compact UHF RFID reader module designed for drones and UAV platforms. It supports long-range aerial scanning, fast multi-tag reading, and stable performance in wind, vibration, and outdoor environments.
CYKEO CYKEO-M4 RC522 RFID Module is an industrial-grade UHF RFID reader with 4 ports, supporting ISO, EPC, and GB protocols. High-speed, accurate reading for IoT, automation, and warehouse applications.
CYKEO CYKEO-M8 Module RFID is an 8-port UHF R2000 RFID Module designed for high-density, multi-tag environments. Stable 33dBm output, ISO & GB protocol support, ideal for warehouses, factories, and automated systems.
CYKEO CYKEO-M16 RFID Module is a 16-port UHF RFID reader module based on the R2000 chipset. Designed for dense tag environments, it supports ISO and GB standards and delivers stable multi-antenna control for industrial automation.
The CYKEO CYKEO-M16L RFID Reader Module is a 16-channel UHF RFID core designed for dense tag environments. With adjustable 33dBm output, multi-protocol support, and stable multi-antenna control, this RFID Tag Reader Module fits industrial automation, warehouse systems, and large-scale IoT deployments.
CYKEO CYKEO-M8L module RFID is a compact industrial UHF module built for dense tag and multi-antenna environments. With 8 RF ports, adjustable 33 dBm output, and ISO & GB protocol support, it is widely used in factories, warehouses, and automated tracking systems.
CYKEOCYKEO-M4L UHF RFID Module is a compact 4-channel RFID tag reader module designed for dense tag environments. Supporting ISO and GB protocols, it delivers stable reads up to 10 meters for industrial and IoT systems.
Cykeo CYKEO-A11 UHF RFID reader antenna delivers 11dBi gain, 840-960MHz frequency range, and IP65 ruggedness for retail, logistics, and industrial RFID systems. Features low VSWR and easy installation.
CYKEO Antenna RFID Reader delivers stable long-range UHF performance with a 10.5dBi directional design, built for warehouses, conveyor portals, and industrial RFID systems. This rfid reader antenna provides 20m+ read distance and rugged IP67 protection.
Cykeo CYKEO-A5B industrial Linear RFID Antenna delivers 5dBi gain, ≤1.5:1 VSWR, and IP65 rugged design for warehouse, production line, and logistics UHF systems.
Cykeo’s CYKEO-B12 Long Range RFID Antenna delivers 15m+ read range with 12dBi gain, IP65 rugged design, and global 840-960MHz UHF support. Ideal for warehouse/logistics asset tracking.
Cykeo CYKEO-B10 Long Distance RFID Antenna offers 10dBi gain, 840-960MHz frequency range, IP65 rating, and 20m+ coverage for logistics/warehousing/ETC systems. Low VSWR ensures stable signal transmission.
Cykeo CYKEO-A6 UHF RFID panel antenna features 6dBi gain, 840-960MHz broadband, IP65 metal-ready housing for logistics/smart retail. 18mm ultra-thin design with tool-free mounting.
Cykeo CK-A3 industrial antenna RFID UHF offers 5m+ tag detection, ≤1.3:1 VSWR, IP65 rugged design, and global UHF spectrum compatibility (840-960MHz) for warehouses, factories, and retail.
Cykeo CYKEO-B5 directional RFID antenna provides 5dBi gain with 60° narrow beamwidth for precise inventory tracking. IP65-rated, global UHF frequency support, and low VSWR.
Create your own high-performance DIY RFID antenna! 5dBi gain, 840-960MHz tunable, step-by-step guides. Compatible with Arduino, Raspberry Pi, and commercial UHF readers.
Cykeo CYKEO-A7 Flexible RFID Antenna features 840-960MHz wideband tuning, 7dBi gain, and IP68 rating for medical/retail/industrial curved surface deployments. 98% read accuracy with peel-and-stick installation.
Cykeo CYKEO-B5A industrial Passive RFID Antenna delivers 5dBi gain, 70° beamwidth, and -40°C~55°C operation for warehouses/smart cabinets. Compatible with Zebra/Impinj readers.
Cykeo’s CYKEO-A9B High Gain RFID Antenna delivers 15m+ read range with 9dBi amplification. Features IP54 rugged design, 840-960MHz bandwidth, and 80° beamwidth for warehouse/manufacturing RFID systems.
Cykeo’s enterprise-grade 8dbi Impinj RFID Antenna 10m+ read range with 840-960MHz tuning. Features IP65 housing, 1.4 VSWR, 35° beamwidth for retail/warehouse RFID systems.
Cykeo CYKEO-A9 industrial UHF RFID antenna delivers 9dBi gain, 840-960MHz frequency range, and IP65 protection for warehouse/logistics/retail RFID systems. Features N-type connector and ≤1.3:1 VSWR.
CYKEO UHF RFID Antenna built for long-distance and industrial applications. This antenna rfid uhf delivers strong gain, outdoor durability, and reliable tag performance in warehouses, yards, and vehicle ID systems.
CYKEO Antenna RFID delivers reliable long-range UHF performance in warehouses, retail shelves, and cold-chain environments. This compact uhf rfid antenna provides stable reads with circular polarization and ultra-wide 840–960 MHz support, ideal for industrial tracking, smart shelves, and asset monitoring.
Cykeo’s CYKEO-C8 UHF RFID antennas delivers 8dBi gain, 840-960MHz full-band coverage, and IP65 ruggedness for manufacturing/warehouse RFID systems. Industrial RFID Antennas Features
Cykeo’s 8dBi UHF RFID antenna and reader kit delivers 10m+ range, 840-960MHz broadband, and IP65 ruggedness for factories, warehouses, and logistics. ISO 18000-6C & EPC Gen2 certified.
Cykeo’s CYKEO-A12C UHF Large RFID Antenna delivers 12dBi gain, 840-960MHz global frequency, IP65 ruggedness for logistics/warehousing/automotive. 40° beamwidth ensures stable 15m+ tag reads.
CYKEO Near Field RFID Antenna provides precise 5–30 cm reading for shelves, cabinets, and workstations. This compact rfid shelf antenna delivers stable short-range performance around metal and clutter, ideal for pharmacies, libraries, and electronics sorting.
Cykeo’s industrial long range RFID reader delivers 20-meter scanning, 500+ tags/sec speed, and IP67 waterproof design for automated warehouses, logistics, and harsh environment applications.
Cykeo’s CYKEO-RA6L industrial RFID long range reader features 20m read distance, 500 tags/sec speed, and IP67 protection. Ideal for warehouse automation, manufacturing WIP tracking, and smart logistics. Supports ISO 18000-6C/6B protocols.
CYKEO Long Range RFID Tag Reader built for outdoor and industrial operations. This Outdoor RFID Reader delivers 20m read distance, fast tag processing, and IP67 durability for wide-area tracking.
Cykeo CYKEO-RA12L industrial Long Range RFID Reader delivers 20m read range, 200+ tags/sec scanning, and IP67 protection for manufacturing/logistics applications. Supports ISO 18000-6C/GB protocols.
Discover how RFID technology improves patient safety, asset tracking, and medication management in healthcare. Learn about Cykeo’s compliant RFID solutions for hospitals.
RFID technology has extensive applications in the medical field, contributing in the following areas: Records ManagementRFID enables the rapid and accurate identification and tracking of medical records, including patient files, examin...
A hands-on guide to RFID antenna design covering frequency selection, impedance matching, substrate choice, and tuning. Includes real-world pitfalls, on-site testing tips, and lessons from field deployment.