RF ID 125KHZ Economy - PIC,8051,AVR ,USB PROGRAMMER,DEVELOPMENT BOARDS - alselectro

Search
Go to content

Main menu:

RF ID 125KHZ Economy

WIRELESS > RF ID PRODUCTS

RF ID 125KHZ Economy

Rs 400.00add GST Add

RF ID 125KHZ Economy






UART 125Khz EM4100 RFID Card Key ID Reader Module

Frequency: 125KHZ
- Baud rate: 9600
- Interface: TTL level
- Working voltage: DC 5V(+/-5%)
- Working current: <50mA
- Receive distance: 20~50mm
- Working temperature: -10°C~+70°C
- Wiring size: 46*32*3mm
- PCB size: 38.5*19*9mm

Sample Arduino code:
------------------------------------------------------
String comdata = "";
void setup()
{
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
digitalWrite(2,HIGH);
digitalWrite(3,HIGH);
Serial.begin(9600);
}

void loop()
{
digitalWrite(2,HIGH);
digitalWrite(3,HIGH);
while (Serial.available() > 0)
{
comdata += char(Serial.read());
delay(2);
}
if(comdata.length() > 0&&comdata=="0500ADDF1443")
{
while( comdata.length() > 0 )
{
digitalWrite(3,LOW);
delay(100);
while (Serial.available() > 0)
{
comdata += char(Serial.read());
delay(2);
}
comdata = "";
}}
else if (comdata.length() > 0)
{
while(comdata.length() > 0)
{
digitalWrite(2,LOW);
delay(100);
while (Serial.available() > 0)
{
comdata += char(Serial.read());
delay(2);
}

comdata = "";
 }
}
}
-----------------------------------------

Output format into hexadecimal beginning frame + ID check code + code + stop frame, such as the Numbers on the ID Tag0008565187


 
Back to content | Back to main menu