Component guide · Beginner · 3 min read
RDM6300 125 kHz RFID Reader

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The RDM6300 reads 125 kHz EM4100 RFID cards and key fobs and sends each card's ID over UART at 9600 baud. It runs from 5 V, needs no library and reads cards a few centimetres from its coil antenna. It is the usual choice for simple door locks and attendance systems using the thick white 125 kHz cards, which the 13.56 MHz RC522 cannot read.
Key specs at a glance
- Frequency
- 125 kHz
- Cards
- EM4100 and compatible (read only)
- Read range
- About 2 to 5 cm
- Output
- UART 9600 baud, 5 V TTL
- Supply
- 5 V, about 50 mA
- Data frame
- 14 bytes: 0x02, 10 ASCII hex ID, 2 checksum, 0x03
What the RDM6300 module is
When a card enters the coil's field, it is powered by the field and sends back its fixed ID. The module decodes it and sends the ID as text, then repeats it while the card stays in range.
125 kHz cards only carry an ID and are easy to copy, so use them for convenience, not high security.
RDM6300 module pinout
The pins on the RDM6300 module and what each one does.
| Pin | Function |
|---|---|
| +5V (P1 pin 5) | Supply, 5 V |
| GND (P1 pin 4) | Ground |
| TX (P1 pin 1) | UART data out, 5 V |
| RX (P1 pin 2) | Not used |
| ANT1 / ANT2 | Antenna coil |
| LED (P3) | Card-read indicator output |
- +5V (P1 pin 5)
- Supply, 5 V
- GND (P1 pin 4)
- Ground
- TX (P1 pin 1)
- UART data out, 5 V
- RX (P1 pin 2)
- Not used
- ANT1 / ANT2
- Antenna coil
- LED (P3)
- Card-read indicator output
Wiring the RDM6300 module
The TX line is 5 V: an ESP32 needs a divider or level shifter on it. Keep the antenna coil away from metal, which kills the range.
| RDM6300 module pin | Arduino Uno | ESP32 |
|---|---|---|
| +5V | 5V | 5V (VIN) |
| GND | GND | GND |
| TX | D2 (SoftwareSerial RX) | GPIO 16 through a 1k/2k divider |
- +5V
- Arduino Uno:
- 5V
- ESP32:
- 5V (VIN)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- TX
- Arduino Uno:
- D2 (SoftwareSerial RX)
- ESP32:
- GPIO 16 through a 1k/2k divider
Example code
Compare the ID with a list of allowed cards and drive a relay or lock. The rdm6300 library by arduino12 also handles checksums and repeated reads.
#include <SoftwareSerial.h>
SoftwareSerial rfid(2, 3); // RX, TX (unused)
char buf[14];
int n = 0;
void setup() {
Serial.begin(115200);
rfid.begin(9600);
}
void loop() {
while (rfid.available()) {
char c = rfid.read();
if (c == 0x02) n = 0; // start of frame
else if (c == 0x03 && n >= 12) { // end of frame
buf[10] = 0; // keep the 10 ID characters
Serial.print("Card: "); Serial.println(buf);
n = 0;
} else if (n < 13) buf[n++] = c;
}
}Setup and tuning
use 125 kHz EM4100 cards or fobs; 13.56 MHz MIFARE cards will not work.
hold the card flat over the coil; metal behind it cuts the range.
the reader sends the ID repeatedly while the card is present; ignore repeats for a second.
use a relay or MOSFET for the lock and a flyback diode across its coil.
What you need
Shop this list4 of 6 found in our store · ₹681
Generic RDM6300 125KHz RFID Reader Module – EM4100 Compatible, UART TTL Interface: the part this guide coversRDM6300 125KHz RFID Reader Module – EM4100 Compatible, UART TTL Interface₹229- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
RFID / NFC cards and tags: check they are 125 kHz EM4100RFID / NFC Cards and Tags₹14- Relay module: to drive a door lockFind this part
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- RFID RC522: 13.56 MHz MIFARE cards that can store data.
- NFC PN532 readers: NFC phones and 13.56 MHz tags.
- UHF RFID readers: metres of range for stock and vehicle tracking.
Try it: Voltage divider calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Using 13.56 MHz MIFARE cards, which the RDM6300 cannot read.
- Connecting the 5 V TX straight to an ESP32 pin.
- Mounting the coil on metal.
- Acting on every repeated read instead of once per card.
Frequently asked questions
What cards does the RDM6300 read?
125 kHz EM4100 and compatible cards and fobs.
Can it write cards?
No, it is read only.
What is the read range?
About 2 to 5 cm, depending on the card and antenna.
Does it work with ESP32?
Yes, power it from 5 V and put a divider on its TX line.
RDM6300 or RC522?
RDM6300 for 125 kHz cards; RC522 for 13.56 MHz MIFARE cards.
Parts for this guide
Calculators
Projects that use it
Put this into practice: 7 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- RDM6300 125 kHz card reader mini-module datasheet
- EM4100 read-only contactless identification device datasheet (EM Microelectronic)
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


