APSX RW-210 RFID Reader

27 May 2010

Hi:

Has anyone played with one of these?  It appears to have some sort of front end on it and I'm not sure how to work with it.  They provide an app to interface from Windows, but I want to interface via the mbed.

I can talk to it by sending hex codes.  For example

   int Reader_Off = 0xF7;
   int Reader_On  = 0xF8;
   int Red_Off    = 0xFC;
   int Red_On     = 0xFD;
   int Green_Off  = 0xFE;
   int Green_On   = 0xFF;
   int Get_UID    = 0x06;
RFID.putc(Red_On);

Will light up the red LED on the board.  I seem to be ok with the single byte commands, but reading and writing tags requires a different approach.

From their manual, the read and write examples are here.

Example1:
Read Command: 06 0C 27 01 00 2A 50
06: 6 bytes sent (not including this byte ‘06’)
0C: 12 bytes expected or needed
27: Flag (00100111 bin)
01: Inventory command (ISO 15693 standard)
00: Block number
2A 50: CRC16 (Cyclic Redundancy Check - Low Byte & High Byte)
Example2:
Write Command: 0A 00 43 21 00 06 07 08 09 CD F6
0A: 10 bytes sent (not including this byte ‘0A’)
00: No bytes expected
43: Flag
21: Write command
00: Block number
06 07 08 09: Four Bytes Data
CD F6: CRC16 (Low Byte & High Byte)
I can't seem to find a sequence to send that will get this to read a tag.

I get one byte '7F' from my RFID.getc() after I send the Get_UID command.  They do supply a copy of the program that drives the app, but it's in Visual Basic and between all the code to handle the VB boxes and clicks, I can't see what it is actually doing.

A nudge in the right direction would be very helpful for me.

Thanks

Tim

28 May 2010

Hi:

I hope no one has invested a huge amount of time in trying to answer this yet.  After doing some further investigation, I realized that this is significantly different than my previous exercise in interfacing to the LF SpeeedStudio Reader.

For this to work, it is the command structure of ISO15693 that I have to put in place.  I suspect that will take me a few minutes :)

Thanks

Tim