26.11.2026

warpva

Powering The Digital Era

Why Your MFRC522 Reader Reads Short: Antenna Matching on Low-Cost Modules

Why Your MFRC522 Reader Reads Short: Antenna Matching on Low-Cost Modules

Two MFRC522 modules from different batches, same firmware, same card: one reads at 5 cm, the other barely at 2 cm. The chip is rarely the reason. The dozen small parts between the chip and the antenna usually are.

The MFRC522 is the reader IC behind most 13.56 MHz RFID projects. It reads MIFARE and other ISO/IEC 14443 Type A cards, it is cheap, and ready-made modules with a printed loop antenna cost less than a cup of coffee. That low cost is also why read range varies so much from one module to the next.

An RFID reader is a resonant circuit. The antenna is an inductor, a few capacitors tune it to 13.56 MHz, and a resistor sets how sharp that tuning is. When any of those values drifts, or when the copper around the antenna changes, the circuit moves off resonance and the field at the card drops. The firmware cannot fix that, because the problem is in the analogue front end.

This article walks through that front end part by part, explains what each part does, and shows how to check a module you already own.

What sits between the chip and the antenna

The MFRC522 drives the antenna differentially from two transmitter pins, TX1 and TX2. Each side passes through the same chain of parts before it reaches the loop:

  1. EMC filter. A small inductor and capacitor form a low-pass filter. The transmitter output is a square wave, rich in harmonics; the filter passes 13.56 MHz and attenuates the harmonics that would otherwise radiate.
  2. Series matching capacitor. It sits between the filter and the antenna and, with the next part, transforms the antenna’s impedance into the load the transmitter is designed to drive.
  3. Parallel matching capacitor. It sits across the antenna and resonates with the antenna inductance near 13.56 MHz.
  4. Damping resistor. It lowers the circuit’s quality factor, Q. A very high Q gives a strong field at one exact frequency but filters out the data sidebands the card sends back. Too low a Q wastes transmit power.
  5. The antenna. On most modules this is a printed loop of a few turns on the PCB itself.

A separate receive path, a resistor divider and a coupling capacitor, feeds part of the antenna voltage back to the RX pin, so the chip can hear the card’s load modulation.

On a typical module that is twelve to fifteen passive parts. Every one of them affects range, but the matching capacitors affect it most.

The capacitor that decides the range

A resonant circuit follows one formula: f = 1 / (2π√(LC)). For a small printed loop with an inductance of about 1 µH, resonance at 13.56 MHz needs roughly 138 pF of total tuning capacitance. That is the scale to keep in mind: a few tens of picofarads either way is a large change.

Now consider a real case. In an MFRC522 reader board we reviewed for an RFID PCB design case study, the two parallel matching capacitors carried 120 pF in one field of the design files and 180 pF in another. The board was a two-layer design with a five-turn printed loop, a common layout for this kind of reader. Nothing in the files said which value had been used to tune the antenna.

How much does that matter? Take the simplest bound. If the parallel capacitor were the only tuning element, going from 120 pF to 180 pF would scale the resonant frequency by √(120/180), about 0.82, moving it from 13.56 MHz to around 11 MHz. In the real network the series capacitors share the tuning, so the shift is smaller, but the matched impedance seen by the transmitter also moves. Either way, a 60 pF difference on a part that should be specified to a few picofarads is the difference between a tuned reader and a detuned one.

This is also why two batches of the same module can behave differently. If one batch was built with a different capacitor value, or with a substitute part that the factory considered equivalent, the antenna is no longer where it was tuned. Nothing on the board looks wrong.

The practical lesson: if a module reads short, check the matching capacitors first. Small ceramic capacitors carry no markings, so lift one and measure it on an LCR meter, or compare it against a module that reads well. If you are designing your own board, put the tuned values in the BOM as the only values, with the dielectric and tolerance, so nobody can substitute them.

Dielectric and tolerance: the values that move

The nominal value is only half the specification. The other half is how much the capacitance changes with temperature, voltage and part-to-part spread.

Matching capacitors should be C0G (also called NP0) ceramics. C0G capacitance stays essentially flat across temperature and applied voltage. X7R and Y5V parts, which are cheaper at the same size, lose capacitance with temperature and DC bias, and their tolerance is usually ±10% or wider. On a 138 pF network, ±10% is ±14 pF, before the antenna itself is considered.

The antenna voltage on an RFID reader is also much higher than the 3.3 V supply. At resonance, the voltage across the loop and the parallel capacitor can reach tens of volts peak to peak. The capacitor’s voltage rating has to cover it, and a high-k ceramic loses more capacitance under that voltage than a C0G part does.

For anyone designing or repairing a reader front end:

  • Use C0G/NP0 for every capacitor in the EMC filter and matching network.
  • Specify ±5% or tighter, ±2% if the BOM allows.
  • Check the voltage rating against the antenna voltage, not the supply voltage.
  • Treat the EMC filter inductor the same way: its value and its self-resonant frequency both matter.

Cheap modules often use whatever capacitor the assembler had in stock. That alone can explain a noticeable spread in read range between batches.

Copper and metal near the loop

The antenna inductance is not fixed by the copper trace alone. Anything conductive near the loop changes it.

Ground pour inside or under the loop. A copper area inside the antenna, or a ground plane directly under it, behaves like a shorted turn. The 13.56 MHz field induces eddy currents in it, those currents oppose the field, and both the inductance and the Q fall. Good module layouts keep the area inside the loop free of copper on every layer, and keep the pour back from the antenna traces. If you design your own board, treat the antenna region as a keep-out for copper, components and vias.

Metal behind the module. The same effect happens outside the board. Mounting a reader directly on a metal panel, next to a battery or above a steel enclosure wall detunes it, sometimes badly enough that it stops reading. Moving the module even a centimetre away from the metal can recover much of the range. Where that is not possible, a ferrite sheet between the antenna and the metal guides the field away from the metal, and the antenna has to be retuned with the ferrite in place.

Cable and wiring routed across the antenna. Jumper wires to a microcontroller board, routed straight across the loop, couple into the field. Route them away from the antenna area, ideally leaving from the side opposite the loop.

The common thread: an antenna is tuned for one environment. Change the environment and the tuning changes with it. The tuning should be checked in the final enclosure, not on the bench.

Compatible chips and receiver gain

Many low-cost modules are marked RC522 or carry a compatible reader IC rather than an NXP MFRC522. The board we reviewed was one of them: the design specified the NXP part, but the fitted chip was a compatible device from another manufacturer. Compatible parts generally run the same register map and work with the same libraries, but their transmitter strength and receiver sensitivity are characterised by their own manufacturer, not by NXP’s datasheet. An antenna network tuned around one chip is not guaranteed to be optimal for another.

There is one setting worth checking before touching hardware. The MFRC522 has a programmable receiver gain, the RxGain field in the RFCfgReg register. Its reset default is 33 dB and the maximum is 48 dB. Popular Arduino and Raspberry Pi libraries leave the default unless you change it; most offer a function to set the antenna gain. Raising it can add some range on a weak module, at the cost of more sensitivity to noise.

Two cautions apply. First, receiver gain only helps the chip hear the card; it does not increase the field that powers the card, so a badly detuned antenna stays short-range. Second, on a compatible chip, confirm that the register behaves as documented before relying on it.

[EFY editor: add an internal link here to an existing EFY project using the MFRC522, for example an RFID door lock or attendance system.]

If the range is still short after the gain change, the problem is in the antenna network, and it is time to measure.

How to check your own module

You do not need an RF lab. Three tests, in increasing order of effort, tell you most of what you need to know.

1. A repeatable read-range test. Fix the module flat on a non-metallic surface, tape a ruler beside it and use one reference card for every test. Lower the card slowly, face parallel to the antenna, and record the distance at which the UID first reads reliably on ten consecutive attempts. Repeat for every module, every capacitor change and every enclosure. A number you can repeat is worth more than an impression that one module “seems better”.

2. Find the resonant frequency with a NanoVNA. A low-cost vector network analyser such as the NanoVNA can show where the antenna actually resonates. Make a small pickup loop, one or two turns of wire about 1 cm across, connect it to port 1, and hold it loosely coupled above the unpowered module’s antenna. Sweep from about 10 to 20 MHz and look for the dip in the S11 trace: that is the antenna’s resonance as built. If the dip sits well away from 13.56 MHz, the matching values are wrong for that antenna. Keep the pickup loop at a consistent distance, because coupling it too tightly pulls the reading.

3. Look at the field with an oscilloscope. With the module powered and transmitting, the same pickup loop connected to an oscilloscope shows the 13.56 MHz carrier. Its amplitude at a fixed distance gives a direct comparison between modules, or before and after a change. When a card enters the field, the amplitude drops slightly; that dip is the card drawing power.

For a full impedance match, the measurement point is the input of the matching network with the chip’s transmitter disconnected, and the target impedance comes from NXP’s antenna design application note for the MFRC52x family. That is the method to use when designing a new antenna; the three tests above are enough to diagnose an existing one.

A short checklist for a reader that reads short

  1. Test range the same way every time: one card, one ruler, ten reads.
  2. Raise RxGain in firmware. If range improves only slightly, the antenna is the problem.
  3. Remove metal, batteries and wiring from around the loop, then test again.
  4. Find the actual resonant frequency with a NanoVNA and a pickup loop.
  5. Measure the matching capacitors; replace them with C0G parts of the correct value and ±5% or better.
  6. Retune in the final enclosure, not on the bench.

Steps 3 and 5 cost almost nothing and are worth trying before anything else. The chip is usually fine; the dozen parts around it decide how far it reads.

References

  • NXP Semiconductors, MFRC522 Standard performance MIFARE and NTAG frontend, data sheet
  • NXP Semiconductors, antenna design application note for the MFRC52x reader family (verify: insert the current NXP URL before submitting)

About the author

Victor Zhang works on PCB design review and technical content at AimPCB, a PCB design, fabrication and assembly company in Tianjin, China. He writes engineering breakdowns of real customer boards, from RFID readers to industrial controllers.

Copyright © All rights reserved. | Newsphere by AF themes.