Stufin
Home Quick Cart Profile

125KHz EM4100 RFID Card Read Module

Buy Now

Operating frequency

125KHz

Reading distance

Up to 10cm (4 inches)

Interface

UART or TTL serial communication

Baud rate

9600bps (default), adjustable

Power consumption

<100mA

Operating voltage

3.3V to 5.5V

Dimensions

40mm x 20mm (1.57in x 0.79in)

Weight

<5g

Applications

  • Access control systems
  • Inventory tracking and management
  • Identification systems
  • Smart home automation
  • Industrial automation
  • Medical device tracking
  • Library management systems
The 125KHz EM4100 RFID Card Read Module is suitable for various IoT applications, such as

Conclusion

The 125KHz EM4100 RFID Card Read Module is a compact and low-power RFID reader module designed for reading and decoding EM4100 protocol RFID tags. Its simplicity, low power consumption, and compact design make it an ideal choice for various IoT applications that require RFID tag reading capabilities.

Pin Configuration

  • 125KHz EM4100 RFID Card Read Module Documentation
  • Pinouts Explanation
  • The 125KHz EM4100 RFID Card Read Module has a total of 8 pins, which are used to connect the module to a microcontroller or other peripheral devices. Below is a detailed explanation of each pin:
  • Pin 1: VCC
  • Function: Power supply pin
  • Description: This pin is used to supply power to the module. It should be connected to a 5V DC power source.
  • Recommended connection: Connect to a 5V DC power supply or a voltage regulator output.
  • Pin 2: GND
  • Function: Ground pin
  • Description: This pin is used to provide a ground reference to the module.
  • Recommended connection: Connect to a common ground or 0V point in the circuit.
  • Pin 3: RX (Data Input)
  • Function: Data input pin
  • Description: This pin is used to receive data from the microcontroller or other peripheral devices.
  • Recommended connection: Connect to the TX (Transmit) pin of the microcontroller or other devices.
  • Pin 4: TX (Data Output)
  • Function: Data output pin
  • Description: This pin is used to send data to the microcontroller or other peripheral devices.
  • Recommended connection: Connect to the RX (Receive) pin of the microcontroller or other devices.
  • Pin 5: EN (Enable)
  • Function: Enable pin
  • Description: This pin is used to enable or disable the RFID reader. A high logic level (VCC) enables the reader, while a low logic level (GND) disables it.
  • Recommended connection: Connect to a digital output pin of the microcontroller or a switch.
  • Pin 6: BUZ (Buzzer)
  • Function: Buzzer pin
  • Description: This pin is used to connect an external buzzer or speaker. When a card is detected, the module will output a beep signal on this pin.
  • Recommended connection: Connect to a buzzer or speaker, and a resistor (1k - 10k) to limit the current.
  • Pin 7: LED (Indicator)
  • Function: Indicator pin
  • Description: This pin is used to connect an external LED indicator. When a card is detected, the module will output a high logic level on this pin.
  • Recommended connection: Connect to an LED, a resistor (1k - 10k) to limit the current, and a suitable voltage supply.
  • Pin 8: ANT (Antenna)
  • Function: Antenna pin
  • Description: This pin is used to connect an external antenna, which improves the RFID reader's detection range and performance.
  • Recommended connection: Connect to a suitable antenna, following the manufacturer's guidelines for antenna design and placement.
  • Connection Structure
  • To connect the 125KHz EM4100 RFID Card Read Module to a microcontroller or other devices, follow this structure:
  • Power supply (VCC) -> 5V DC power source
  • Ground (GND) -> Common ground or 0V point
  • RX (Data Input) -> TX (Transmit) pin of the microcontroller
  • TX (Data Output) -> RX (Receive) pin of the microcontroller
  • EN (Enable) -> Digital output pin of the microcontroller or a switch
  • BUZ (Buzzer) -> Buzzer or speaker, with a resistor (1k - 10k) to limit the current
  • LED (Indicator) -> LED, with a resistor (1k - 10k) to limit the current, and a suitable voltage supply
  • ANT (Antenna) -> Suitable antenna, following the manufacturer's guidelines for antenna design and placement
  • Remember to consult the datasheet and application notes provided by the module manufacturer for specific connection requirements and guidelines.

Code Examples

125KHz EM4100 RFID Card Read Module Documentation
Overview
The 125KHz EM4100 RFID Card Read Module is a low-frequency RFID reader module that operates at 125KHz and is compatible with EM4100 protocol RFID cards. This module is widely used in various applications such as access control, inventory management, and smart home systems.
Pinout and Connections
The module has the following pinouts:
VCC: 5V power supply
 GND: Ground
 RX: Data output
 TX: Data input
 EN: Enable pin (active low)
Communication Protocol
The module communicates using a serial protocol at a baud rate of 9600. The data is transmitted in the following format:
Header: 0x02
 Card ID: 10 bytes (5 bytes for EM4100 protocol)
 Checksum: 2 bytes (XOR of card ID bytes)
 Footer: 0x03
Code Examples
### Example 1: Reading RFID Card using Arduino
This example demonstrates how to use the RFID reader module with an Arduino board to read an RFID card.
```cpp
#include <SoftwareSerial.h>
#define RFID_RX 2
#define RFID_TX 3
#define RFID_EN 4
SoftwareSerial rfidSerial(RFID_RX, RFID_TX);
void setup() {
  pinMode(RFID_EN, OUTPUT);
  digitalWrite(RFID_EN, LOW);
  rfidSerial.begin(9600);
  Serial.begin(9600);
}
void loop() {
  if (rfidSerial.available() > 0) {
    char header = rfidSerial.read();
    if (header == 0x02) {
      char cardId[10];
      for (int i = 0; i < 10; i++) {
        cardId[i] = rfidSerial.read();
      }
      char checksum = rfidSerial.read();
      char footer = rfidSerial.read();
      if (footer == 0x03) {
        Serial.print("Card ID: ");
        for (int i = 0; i < 10; i++) {
          Serial.print(cardId[i], HEX);
          Serial.print(" ");
        }
        Serial.println();
      }
    }
  }
  delay(50);
}
```
### Example 2: Integrating with Raspberry Pi (Python)
This example demonstrates how to use the RFID reader module with a Raspberry Pi board running Python to read an RFID card.
```python
import serial
ser = serial.Serial('/dev/ttyUSB0', 9600)
while True:
    if ser.in_waiting > 0:
        header = ser.read(1)
        if header == b'x02':
            card_id = ser.read(10)
            checksum = ser.read(1)
            footer = ser.read(1)
            if footer == b'x03':
                print("Card ID: ", end="")
                for byte in card_id:
                    print("{:02x}".format(byte), end=" ")
                print()
```
Note: In this example, `/dev/ttyUSB0` is the serial port connected to the RFID reader module. You may need to adjust this depending on your setup.
These code examples demonstrate the basic usage of the 125KHz EM4100 RFID Card Read Module with different microcontrollers and programming languages. You can modify and extend these examples to suit your specific application requirements.