Introduction: Use Arduino and RS232 Shield to Interface Integrated UHF RFID Reader LSID-0702

Picture of Use Arduino and RS232 Shield to Interface Integrated UHF RFID Reader LSID-0702

Long Range UHF RFID reader (1-6M) (ISO18000-6C EPC G2) integrates
the reader with the antenna. After first powered on, the reader will buzz once to indicate that it starts to work. When there is tag approaching the reader, it will buzz to indicate that it’s sending the data. For the same tag, the read interval can be configured. After read, if the same tag is still in the read area, there will be no further indication, and no data will be sent. If the time lapse exceeds interval or different tags enter the reading zone, the reader will read the card and send out data.

In this tutorial, we show how to use the integrated UHF RFID reader with Arduino and RS232 Shield.

Step 1: Step 1: Part List

Step 2: Step 2: Wiring Diagram

Picture of Step 2: Wiring Diagram

Install RS232 Shield v2 on Arduino, and connect the DB9 of RS232 shield
to the DB9 connector of the RFID reader, and supply power to the integrated RFID reader.

In the Arduino code, we will use digital pins 5 and 6 as software serial
port to talk the integrated RFID reader, so we need to configure the jumpers on RS232 shield accordingly.

Step 3: Step 3: Test Code

#include "Arduino.h"
//#define DEBUG SoftwareSerial mySerial (5,6); unsigned char incomingByte; void sendIdentifyCmd () { mySerial.write (0x7c); mySerial.write (0xff); mySerial.write (0xff); mySerial.write (0x01); mySerial.write (0x08); mySerial.write (0x7d); #ifdef DEBUG Serial.print (0x7c); Serial.print (0xff); Serial.print (0xff); Serial.print (0x01); Serial.print (0x08); Serial.print (0x7d); Serial.println (); #endif } void setup () { Serial.begin (9600); mySerial.begin (9600); Serial.println ("begin initial Serial!\n"); } void loop () { sendIdentifyCmd (); delay (2); while(mySerial.available () > 0) { incomingByte=mySerial.read (); Serial.print (incomingByte,HEX); Serial.print (' '); } Serial.println (); delay (1000); }

Step 4: Step 4: Test Result

Picture of Step 4: Test Result

After we download the above code into Arduino, we we place the RFID tag
to the reader’s antenna, the reader will buzz, and Arduino will print the ID on the serial port.

http://linksprite.com/wiki/index.php5?title=Long_Range_UHF_RFID_reader_%281-6_meters%29_%28ISO18000-6C_EPC_G2%29_RS232


Comments

geniebevel (author)2017-09-01

how can i put this all together? is there anyone can help?

mustafakayali (author)2017-08-28

anyone did it?

redent2 (author)2017-02-08

anyone who got it? we've purchased same items, but the result is only 0 0 0 0 0 0, there's no data recieved from the reader to arduino .

rachaelmcglynn (author)2014-10-07

Is anybody able to help me make this. I am a student and have purchased all of the list but dont know how to put it all together. I am a novice when it comes to Arduino

rfid_89 (author)2014-09-05

¡Buenas! Estoy muy interesado en este tutorial, pero me gustaría saber en que lugar puedo encontrar la librería Arduino que se utiliza.

¡Muchas gracias!

About This Instructable

14,951views

16favorites

License:

More by Linksprite:Using Breakout Board for ADMP401 MEMS Microphone on pcDuinoAnother home automation project with pcDuinoHow to remotely boot pcDuino from a NFS server
Add instructable to: