Reading a 125khz RFID Tag (RDM6300), Help Please
Posted: Tue Mar 05, 2019 8:44 pm
Hi All,
Can I ask the wider flowcode community for a bit of assistance please as I can’t get my code to work reliably or consistently and I am probably going about it completely incorrectly.
My end goal is to have a small circuit that will read a 125khz RFID tag (using a RDM6300) and depending on which group the tag is in the circuit will output a signal in binary on 4 pins, each group is could have up to 30 tags in and there will be 4-7 groups. – lots of tags!
The RDM6300 outputs serial at 9600 baud and the signal is high when there is no tag to read.
It only really needs to check once a second but no matter what settings I use on the RS232 component it seems to read nothing and then continue, I thought it was supposed to wait so a valid string and then continue.
On reading up about this I think I will need to use a lookup table for the chip to work out what group it is in (Colours) but again I am not sure how to implement this.
Currently my development circuit is setup so I can see if I can read the IDs reliably and the results are very sketchy.
Each tag has a 9 digit number stamped on it:
e.g. 001378550 (Blue)
Using a serial analyser I have read the output of the RDM6300 using the above tag and it was a 14 Byte string:
2 2 9 0 0 A D 9 F 9 4 8 F 3
After reading a few tags and using process of elimination I have worked out the centre 8 Bytes are the Tag number and all the packet of 10 tags I have read start with a 2 then two bytes then the 8 byte tag id, two more bytes and ending on a 3.
I am using a 16F1937 because I have a lot of them but if you can recommend a smaller cheaper chip that will do the job please let me know.
Here is the Flowcode 8 file as well as a scope trace of one of the tags.
Thanks for any help
Ben
Some other Tags I have read for reference
Green: 0011159803 – 22C00AA48FB353
Grey: 0015837585 – 22900F1A991E03
Red: 0011342820 – 22900AD13E4733
Can I ask the wider flowcode community for a bit of assistance please as I can’t get my code to work reliably or consistently and I am probably going about it completely incorrectly.
My end goal is to have a small circuit that will read a 125khz RFID tag (using a RDM6300) and depending on which group the tag is in the circuit will output a signal in binary on 4 pins, each group is could have up to 30 tags in and there will be 4-7 groups. – lots of tags!
The RDM6300 outputs serial at 9600 baud and the signal is high when there is no tag to read.
It only really needs to check once a second but no matter what settings I use on the RS232 component it seems to read nothing and then continue, I thought it was supposed to wait so a valid string and then continue.
On reading up about this I think I will need to use a lookup table for the chip to work out what group it is in (Colours) but again I am not sure how to implement this.
Currently my development circuit is setup so I can see if I can read the IDs reliably and the results are very sketchy.
Each tag has a 9 digit number stamped on it:
e.g. 001378550 (Blue)
Using a serial analyser I have read the output of the RDM6300 using the above tag and it was a 14 Byte string:
2 2 9 0 0 A D 9 F 9 4 8 F 3
After reading a few tags and using process of elimination I have worked out the centre 8 Bytes are the Tag number and all the packet of 10 tags I have read start with a 2 then two bytes then the 8 byte tag id, two more bytes and ending on a 3.
I am using a 16F1937 because I have a lot of them but if you can recommend a smaller cheaper chip that will do the job please let me know.
Here is the Flowcode 8 file as well as a scope trace of one of the tags.
Thanks for any help
Ben
Some other Tags I have read for reference
Green: 0011159803 – 22C00AA48FB353
Grey: 0015837585 – 22900F1A991E03
Red: 0011342820 – 22900AD13E4733