Home:ALL Converter>How to use a serial port to communicate with an RFID reader

How to use a serial port to communicate with an RFID reader

Ask Time:2013-06-20T18:20:06         Author:amar

Json Formatter

I am beginner, I have enabled the uart2 by using the make menuconfig in my linux source. I am using LPC1788 cortex m3, in that uart tx is connected to P0.10 and rx to P0.11, I want to utilize the uart to read the RFID card using SL031 (http://www.stronglink-rfid.com/download/SL031-User-Manual.pdf) reader, which will be connected to rx and tx pins that means P0.10 and P0.11. please guide me how to read the RFID and save the the data received. by enabling the the uart I have tested the uart working by shorting tx and rx,now i want to connect the reader to those tx and rx and read the data. how can i do this.

Author:amar,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/17211137/how-to-use-a-serial-port-to-communicate-with-an-rfid-reader
microMolvi :

Task: Write/send data & read/receive data over UART to/from SL031 using microcom.\n\nProblem: Your device expects data/commands in hexadecimal format and, as far as I know, microcom does not directly support sending data in hexadecimal format. \n\nSolution:\n\nTo write/send:\nUse a hex editor, Bless Hex Editor for instance, to write a series of commands you want to send to SL031. Redirect/pipeline this data, using basic shell commands, to microcom.\n\nTo read/receive:\nCapture the data of microcom in a file and analyze it with a hex editor. You can do this by redirecting/pipelining the output of microcom to a log file.\n\nHope this helps. If it does kindly accept the answer :)\nAsk me if you need further clarification.",
2013-06-21T13:46:44
yy