Description
RDM630 series special non-contact rf ID card module, adopt advanced rf receiving circuit and embedded microcontroller controller design, combined with efficient decoding algorithm, complete EM4100 compatible type ID card data reception.Has received high sensitivity, small work current, stability higher characteristic, is suitable for access control, attendance, charge, security, patrolling, etc all kinds of rfid applications.
Output format into hexadecimal beginning frame + ID check code + code + stop frame, such as the Numbers on the ID Tag0008565187And the output as shown below
The conversion between hexadecimal
The test code:
String comdata = "";
Void setup ()
{
PinMode (2, the OUTPUT);
PinMode (3, the OUTPUT);
DigitalWrite (2, HIGH);
DigitalWrite (3, HIGH);
Serial. The begin (9600);
}
Void loop ()
{
DigitalWrite (2, HIGH);
DigitalWrite (3, HIGH);
While (Serial. The available () > 0)
{
Comdata + = char (Serial. The read ());
Delay (2);
}
If (comdata. Length () > 0 && comdata = = "0500 addf1443")
{
While (comdata. Length () > 0)
{
DigitalWrite (3, LOW);
Delay (100);
While (Serial. The available () > 0)
{
Comdata + = char (Serial. The read ());
Delay (2);
}
Comdata = "";
}
}
Else if (comdata length () > 0)
{
While (comdata. Length () > 0)
{
DigitalWrite (2, LOW);
Delay (100);
While (Serial. The available () > 0)
{
Comdata + = char (Serial. The read ());
Delay (2);
}
Comdata = "";
}
}
}
Read the card distance is 5 cm.
Output format into hexadecimal beginning frame + ID check code + code + stop frame, such as the Numbers on the ID Tag0008565187And the output as shown below
The conversion between hexadecimal
The test code:
String comdata = "";
Void setup ()
{
PinMode (2, the OUTPUT);
PinMode (3, the OUTPUT);
DigitalWrite (2, HIGH);
DigitalWrite (3, HIGH);
Serial. The begin (9600);
}
Void loop ()
{
DigitalWrite (2, HIGH);
DigitalWrite (3, HIGH);
While (Serial. The available () > 0)
{
Comdata + = char (Serial. The read ());
Delay (2);
}
If (comdata. Length () > 0 && comdata = = "0500 addf1443")
{
While (comdata. Length () > 0)
{
DigitalWrite (3, LOW);
Delay (100);
While (Serial. The available () > 0)
{
Comdata + = char (Serial. The read ());
Delay (2);
}
Comdata = "";
}
}
Else if (comdata length () > 0)
{
While (comdata. Length () > 0)
{
DigitalWrite (2, LOW);
Delay (100);
While (Serial. The available () > 0)
{
Comdata + = char (Serial. The read ());
Delay (2);
}
Comdata = "";
}
}
}
Read the card distance is 5 cm.
Package Include
- 1* RDM6300
- 1* TK4100