ماژول کارت خوان RFID Reader RDM6300 با فرکانس ۱۲۵ کیلوهرتز

۲۵۰,۰۰۰ تومان

موجود در انبار

23 نفر در حال مشاهده این محصول هستند!
توضیحات

RDM6300 125Khz RFID reader module
The RDM6300 RFID reader module is a device used to read radio frequency identification (RFID) cards or tags operating at a frequency of 125 kHz.
RFID systems enable contactless identification via radio waves and are used in a variety of applications for access control, automation, inventory tracking, and other applications that require identification or authentication of objects or people.
RDM6300 RFID reader module supports standard 125kHz RFID cards , uses standard communication interface such as UART (Universal Asynchronous Receiver-Transmitter) to transmit data to the microcontroller or host device.
SPECIFICATIONS
Frequency: 125 kHz
Supply voltage: 5V (±5%)
Current: 50mA
Reception range: 20 to 50 mm (depending on the card, antenna and environment)
Dimensions
PCB: 38.38 mm x 18.10 mm
Antenna: 35.2 mm x 46 mm

Basic test circuit of the RDM6300
This code reads data arriving from the RDM6300 module via serial communication and displays it on the Arduino serial monitor.

Code

#include <SoftwareSerial.h>

// Define the pins for software serial communication
#define RX_PIN 4 // RX from RDM6300 connected to pin 4 of Arduino
#define TX_PIN 3 // TX of the RDM6300 connected to pin 3 of Arduino

SoftwareSerial rfidSerial(RX_PIN, TX_PIN); // RX, TX

void setup() {
  // Start serial communication with the serial monitor
  Serial.begin(9600);
  
  // Start serial communication with the RDM6300 module
  rfidSerial.begin(9600);
  
  Serial.println("Starting RDM6300 RFID reader...");
}

void loop() {
  // Check if there is data available on the RDM6300 serial port
  if (rfidSerial.available() >= 14) { // The RDM6300 sends 14 bytes for each tag read
    // Read the tag data
    byte tagData[14];
    for (int i = 0; i < 14; i++) {
      tagData[i] = rfidSerial.read();
    }
    
    // Display the tag ID on the serial monitor
    Serial.print("Tag ID: ");
    for (int i = 5; i < 11; i++) { // Bytes 5 to 10 contain the tag ID
      Serial.print(tagData[i], HEX);
    }
    Serial.println();
  }
}