Search code examples
rfiduartattiny

Interpreting data from RDM630 RFID reader


I am trying to build an RFID based door opener with an Attiny2313 and an RDM630 RFID reader. There has been no Problem with programming or getting the two ICs to talk to each other via UART. The Problem is the interpretation of the data. I wasn't able to make any sense of what the RDM630 had sent to the Attiny, so I hooked it up via an RS232/USB Adapter, and this is what I get on my PC:

Display = ASCII: ascii screen shot

Display set to HEX: hex screen shot

Written on the Card is: 0000714511 010,59151

Can anyone help me make sense of the Data?


Solution

  • Most of the bytes that the RDM630 RFID reader module sends are ASCII characters of hex digits ('0'-'9','A'-'F') which means 0x30-0x39, 0x41-0x46.

    It looks like your RS232/USB inverts the bits, comparing to a direct TTL connections.

    (RS232 is inverted TTL. It has also different voltage levels, but that's OK as long as TTL transmit output feeds RS232 receive input, as in your case. The other way around is more tricky).