The EM-18 RFID Reader Module is a compact and efficient device designed to read RFID tags operating at a frequency of 125 kHz. It is widely used in applications such as access control systems, inventory management, attendance systems, and other automation projects. The module communicates the unique ID of an RFID tag to a microcontroller or computer via UART (serial communication) or Wiegand protocol, making it versatile and easy to integrate into various systems.
Explore Projects Built with EM-18 RFID Reader Module
Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
This circuit is designed for security and identification purposes, featuring an RFID-RC522 module for contactless communication and a fingerprint scanner for biometric authentication. It includes an LCD display for user interaction, a touch sensor for input, a buzzer for audio feedback, and a relay module for controlling external devices. The components are interfaced with a NANO Expansion board, which likely contains a microcontroller to coordinate the operations of the system.
This circuit is designed for an RFID-based access control system using two Arduino UNO microcontrollers, each connected to an EM-18 RFID reader module, a servo motor, a buzzer, and two LEDs (one red and one green). The system reads RFID tags, checks for authorization, and controls gate access by actuating the servo motors. Visual (LED) and auditory (buzzer) indicators provide feedback on access granted or denied status.
This circuit features an Arduino UNO connected to an RFID-RC522 module for RFID scanning and an ESP8266 ESP-12E WiFi module for wireless communication. The Arduino controls a KY-019 Relay module, which in turn drives a 12V solenoid lock, allowing the lock to be actuated based on RFID card detection or potentially remote commands via WiFi. The Arduino's embedded code is set up to initialize the RFID reader and output the UID of scanned cards to the serial monitor.
This circuit consists of two Arduino UNO microcontrollers, each connected to an EM-18 RFID reader module, a servo motor, a buzzer, and two LEDs (one red and one green). The Arduinos are programmed to read RFID tags, control access by actuating the servo motors as gates, and provide visual and auditory feedback using LEDs and buzzers. The system is designed to manage entry and exit access, likely for a secure area, by validating RFID tags against a list of authorized tags and recording entry/exit times.
Supported RFID Tags: 125 kHz passive tags (e.g., EM4100, EM4200)
Dimensions: 32 mm x 32 mm x 8 mm
Pin Configuration and Descriptions
The EM-18 RFID Reader Module has a 9-pin interface. Below is the pin configuration:
Pin Number
Pin Name
Description
1
VCC
Power supply input (4.5V to 5.5V DC).
2
GND
Ground connection.
3
TX
UART Transmit pin. Outputs the RFID tag data in serial format.
4
RX
UART Receive pin. Not typically used in most applications.
5
D0
Wiegand Data 0 output.
6
D1
Wiegand Data 1 output.
7
BEEP
Buzzer control pin. Outputs a signal when a tag is successfully read.
8
LED
LED control pin. Outputs a signal when a tag is successfully read.
9
ANT
Antenna pin (internally connected to the onboard antenna).
Usage Instructions
Connecting the EM-18 to a Microcontroller
To use the EM-18 RFID Reader Module with a microcontroller like the Arduino UNO, follow these steps:
Power the Module: Connect the VCC pin to the 5V pin of the Arduino and the GND pin to the Arduino's GND.
Connect the TX Pin: Connect the TX pin of the EM-18 to the RX pin of the Arduino (pin 0).
Optional Connections: If needed, connect the BEEP and LED pins to external indicators (e.g., a buzzer or LED) for additional feedback.
Sample Arduino Code
Below is an example of how to interface the EM-18 RFID Reader Module with an Arduino UNO to read RFID tag data:
// EM-18 RFID Reader Module with Arduino UNO
// Connect EM-18 TX to Arduino RX (Pin 0)
// Connect EM-18 VCC to Arduino 5V and GND to Arduino GND
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 bps
Serial.println("EM-18 RFID Reader Ready");
}
void loop() {
if (Serial.available() > 0) { // Check if data is available from the EM-18
String tagData = ""; // Variable to store the RFID tag data
while (Serial.available() > 0) {
char c = Serial.read(); // Read each character from the EM-18
tagData += c; // Append the character to the tagData string
delay(5); // Small delay to ensure all data is read
}
Serial.print("RFID Tag ID: "); // Print the tag ID to the Serial Monitor
Serial.println(tagData);
}
}
Important Considerations
Ensure the RFID tag is within the 5–10 cm range of the module for reliable reading.
Avoid placing the module near metal objects or other RFID readers to prevent interference.
Use a stable 5V power supply to avoid communication errors.
If using the Wiegand protocol, additional decoding logic will be required.
Troubleshooting and FAQs
Common Issues and Solutions
No Data Received on Serial Monitor:
Ensure the TX pin of the EM-18 is connected to the RX pin of the Arduino.
Verify that the baud rate in the code matches the module's default baud rate (9600 bps).
Check the power supply voltage (should be 4.5V to 5.5V).
RFID Tag Not Detected:
Ensure the tag is within the 5–10 cm range of the module.
Verify that the tag operates at 125 kHz (e.g., EM4100 or EM4200).
Check for any nearby sources of electromagnetic interference.
Intermittent or Unstable Readings:
Use a decoupling capacitor (e.g., 10 µF) across the VCC and GND pins to stabilize the power supply.
Avoid moving the tag too quickly across the reader.
FAQs
Q1: Can the EM-18 read multiple tags simultaneously?
No, the EM-18 can only read one tag at a time. If multiple tags are present, it may not function correctly.
Q2: Can I use the EM-18 with a 3.3V microcontroller?
The EM-18 requires a 5V power supply. If your microcontroller operates at 3.3V, use a level shifter for the TX pin to avoid damage.
Q3: How can I extend the reading range of the EM-18?
The reading range is limited by the onboard antenna and cannot be significantly extended. For longer ranges, consider using a different RFID reader with a higher power output.
Q4: What type of RFID tags are compatible with the EM-18?
The EM-18 is compatible with 125 kHz passive RFID tags, such as EM4100 and EM4200.
By following this documentation, you can effectively integrate the EM-18 RFID Reader Module into your projects and troubleshoot common issues with ease.