Stufin
Home Quick Cart Profile

125KHz USB RFID Reader

Buy Now on Stufin

Operating Frequency

125KHz

Reading Distance

Up to 10 cm (4 inches)

Tag Capacity

Up to 50 tags per second

Protocol

EM4100, EM4102, and compatible types

USB Interface

USB 2.0, full-speed

Power Supply

USB bus-powered

Operating Temperature

-20C to 70C (-4F to 158F)

Storage Temperature

-40C to 85C (-40F to 185F)

Humidity

5% to 95% relative humidity, non-condensing

Applications

The 125KHz USB RFID Reader is suitable for various applications, including

Inventory tracking and management

Access control and authentication

Identity verification and authentication

Supply chain management

Healthcare and medical applications

Industrial automation and control

Certifications and Compliance

The 125KHz USB RFID Reader meets the following certifications and compliance standards

CE (Conformit Europene)

FCC (Federal Communications Commission)

RoHS (Restriction of Hazardous Substances)

REACH (Registration, Evaluation, Authorization, and Restriction of Chemicals)

Warranty and Support

The 125KHz USB RFID Reader comes with a one-year limited warranty and dedicated technical support to ensure optimal performance and reliability.

Pin Configuration

  • 125KHz USB RFID Reader Pinout Explanation
  • The 125KHz USB RFID Reader is a compact and convenient device for reading RFID tags. It connects to a computer via USB and provides a simple way to integrate RFID technology into various applications. Below is a detailed explanation of each pin on the reader, along with a step-by-step guide on how to connect them.
  • Pinout Structure:
  • The 125KHz USB RFID Reader typically has a 10-pin interface, with the following pinout structure:
  • | Pin # | Pin Name | Description |
  • | --- | --- | --- |
  • | 1 | VCC | Power Supply (5V) |
  • | 2 | GND | Ground |
  • | 3 | TXD | Transmit Data (UART) |
  • | 4 | RXD | Receive Data (UART) |
  • | 5 | DTR | Data Terminal Ready (UART) |
  • | 6 | RTS | Request to Send (UART) |
  • | 7 | CTS | Clear to Send (UART) |
  • | 8 | GPO | General Purpose Output |
  • | 9 | LED_A | LED Anode (for indication) |
  • | 10 | LED_K | LED Cathode (for indication) |
  • Pin-by-Pin Explanation:
  • 1. VCC (Pin 1): This pin provides the power supply to the reader, typically 5V DC. Connect this pin to a stable 5V power source, such as a USB port or a regulated power supply.
  • 2. GND (Pin 2): This pin is the ground connection for the reader. Connect this pin to the ground of your power source or the ground of your system.
  • 3. TXD (Pin 3): This pin is the transmit data line for the UART (Universal Asynchronous Receiver-Transmitter) interface. Connect this pin to the receiver pin (RX) of your microcontroller or computer's serial port.
  • 4. RXD (Pin 4): This pin is the receive data line for the UART interface. Connect this pin to the transmitter pin (TX) of your microcontroller or computer's serial port.
  • 5. DTR (Pin 5): This pin is the data terminal ready signal for the UART interface. Connect this pin to the DTR pin of your microcontroller or computer's serial port.
  • 6. RTS (Pin 6): This pin is the request to send signal for the UART interface. Connect this pin to the RTS pin of your microcontroller or computer's serial port.
  • 7. CTS (Pin 7): This pin is the clear to send signal for the UART interface. Connect this pin to the CTS pin of your microcontroller or computer's serial port.
  • 8. GPO (Pin 8): This pin is a general-purpose output that can be used for custom applications. It can be controlled through the reader's firmware or software.
  • 9. LED_A (Pin 9): This pin is the anode (positive leg) of the built-in LED indicator. Connect this pin to a suitable resistor and then to the positive power supply.
  • 10. LED_K (Pin 10): This pin is the cathode (negative leg) of the built-in LED indicator. Connect this pin to the ground (GND) of your power source.
  • Connection Structure:
  • To connect the pins, follow these steps:
  • 1. Connect the VCC pin to a stable 5V power source.
  • 2. Connect the GND pin to the ground of your power source.
  • 3. Connect the TXD pin to the RX pin of your microcontroller or computer's serial port.
  • 4. Connect the RXD pin to the TX pin of your microcontroller or computer's serial port.
  • 5. Connect the DTR pin to the DTR pin of your microcontroller or computer's serial port.
  • 6. Connect the RTS pin to the RTS pin of your microcontroller or computer's serial port.
  • 7. Connect the CTS pin to the CTS pin of your microcontroller or computer's serial port.
  • 8. Connect the GPO pin to a suitable custom application circuit.
  • 9. Connect the LED_A pin to a suitable resistor and then to the positive power supply.
  • 10. Connect the LED_K pin to the ground (GND) of your power source.
  • Important Notes:
  • Make sure to use a suitable power supply and voltage regulator to ensure stable operation of the reader.
  • Use a suitable communication protocol (e.g., UART) to communicate with the reader.
  • Refer to the reader's datasheet and documentation for specific connection guidelines and firmware/software instructions.
  • Ensure proper grounding and shielding to minimize electromagnetic interference (EMI) and noise.

Code Examples

125KHz USB RFID Reader Documentation
Overview
The 125KHz USB RFID Reader is a compact and easy-to-use radio-frequency identification (RFID) reader that connects to a computer via USB. It operates at a frequency of 125KHz and is capable of reading RFID tags that comply with the EM4100 protocol. This reader is suitable for various applications, including access control, inventory management, and Attendance systems.
Technical Specifications
Frequency: 125KHz
 Protocol: EM4100
 Communication Interface: USB
 Reading Distance: Up to 5cm
 Tag Capacity: 1-2 tags per second
 Operating System: Windows, Linux, macOS
Hardware Connection
To connect the 125KHz USB RFID Reader to a computer, simply plug it into a free USB port. The reader will be recognized as a USB device, and the necessary drivers will be installed automatically.
Software Library and Code Examples
The 125KHz USB RFID Reader can be controlled using the provided software library, which is available for multiple programming languages. Below are code examples in Python and C# to demonstrate how to use this component in various contexts.
### Example 1: Python - Reading RFID Tags
This example demonstrates how to read RFID tags using the PyUSB library in Python.
```python
import usb.core
import usb.util
# Find the RFID reader device
dev = usb.core.find(idVendor=0x2621, idProduct=0x0011)
# Set the device configuration
dev.set_configuration()
# Claim the interface
usb.util.claim_interface(dev, 0)
while True:
    # Send the command to read a tag
    dev.write(0x01, b'x02x01x06x03x00x00x00x00')
# Read the response
    response = dev.read(0x81, 12, 1000)
# Extract the tag ID from the response
    tag_id = response[3:11]
# Print the tag ID
    print(f"Tag ID: {':'.join(f'{x:02x}' for x in tag_id)}")
# Release the interface
    usb.util.release_interface(dev, 0)
# Close the device
    usb.util.dispose_resources(dev)
```
### Example 2: C# - Reading RFID Tags with Events
This example demonstrates how to read RFID tags using the LibUsbDotNet library in C#. It also shows how to handle RFID tag events.
```csharp
using LibUsbDotNet;
using LibUsbDotNet.Main;
using System;
using System.Threading;
class RfidReader
{
    private UsbDevice _device;
public RfidReader()
    {
        _device = UsbDevice.OpenUsbDevice(new UsbDeviceFinder(0x2621, 0x0011));
        _device.SetConfiguration(1);
        _device.ClaimInterface(0);
    }
public void StartReading()
    {
        _device.WriteEndpoint(1, new byte[] { 0x02, 0x01, 0x06, 0x03, 0x00, 0x00, 0x00, 0x00 });
        _device.DataReceived += DataReceivedEventHandler;
        while (true)
        {
            Thread.Sleep(1000);
        }
    }
private void DataReceivedEventHandler(object sender, DataReceivedEventArgs e)
    {
        byte[] response = e.Data;
        byte[] tagId = new byte[8];
        Array.Copy(response, 3, tagId, 0, 8);
        Console.WriteLine($"Tag ID: {BitConverter.ToString(tagId)}");
    }
}
class Program
{
    static void Main(string[] args)
    {
        RfidReader reader = new RfidReader();
        reader.StartReading();
    }
}
```
### Example 3: Linux - Reading RFID Tags using Python and PyUSB
This example demonstrates how to read RFID tags using PyUSB in Linux.
```python
import usb.core
import usb.util
# Find the RFID reader device
dev = usb.core.find(idVendor=0x2621, idProduct=0x0011)
# Set the device configuration
dev.set_configuration()
# Claim the interface
usb.util.claim_interface(dev, 0)
while True:
    # Send the command to read a tag
    dev.write(0x01, b'x02x01x06x03x00x00x00x00', 1000)
# Read the response
    response = dev.read(0x81, 12, 1000)
# Extract the tag ID from the response
    tag_id = response[3:11]
# Print the tag ID
    print(f"Tag ID: {':'.join(f'{x:02x}' for x in tag_id)}")
# Release the interface
    usb.util.release_interface(dev, 0)
# Close the device
    usb.util.dispose_resources(dev)
```
Note: The above examples are for demonstration purposes only and may require modifications to work with your specific use case.