UART 125Khz EM4100 RFID Card Key ID Reader Module RDM6300 RDM630
UART 125Khz EM4100 RFID Card Key ID Reader Module RDM6300 RDM630 Frequency: 125KHZ Baud rate: 9600 Interface: TTL level RS232 format Working voltage: DC 5V(+/-5%) Working current: <50mA Receive distance: 20~50m Working temperature: -10°C~+70°C Storage temperature: -20°C~+80°C Humidity: 0~95% Wiring size: 46 x 32 x 3mm PCB size: 38.5 x 19 x 9mm
Sample 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 = ""; } } }
Packing content: 1 x 125K EM4100 RFID Card Reader Module 1 x Coil
UK Seller, quick dispatch.
Please see my other listings for Raspberry Pi and Arduino related products. Raspberry Pi is a Trademark of the Raspberry Pi Foundation.
Product ID: EP00210