chafon-rfid
chafon-rfid copied to clipboard
Reading multiple tags using the IDENTIFY command
We have a project where we want to read multiple tags at once. Using the Chafom Reader.exe program on Windows and connected via USB to a CF-RU5309 (I think) it all works as expected.
But my code based on this library running on an Arduino Nano talking to a custom board via USB which talks to the reader via serial only reads 1 tag at a time (it briefly read 2 tags but that seems to have been an anomaly).
Per the SDK, I send an Identify command 0x53, 0x57, 0x00 ,0x03 ,0xFF ,0x01, 0x53
per the manual and I get back 1 tag.
Their Reader.exe software sends 0x53, 0x57, 0x00 ,0x06 ,0xFF ,0x01, 0x00, 0x00, 0x00, 0x50
which appears to contain dummy data (the last 3 0x00 bytes) which (a) is different and (b) doesn't work for me at all.
Has anyone had any success with using serial comms to talk to their reader? I know this is kinda outdated tech but the project I'm working on requires USB for output from the board and serial to talk to the RFID reader.
Any help would be greatly appreciated...
I managed to make the correct reading, the manufacturer provided me with the sdk and now the code is in my repository
https://github.com/DomolinBolivia/CF-RU5309-RaspberryPi
Sdk kindly provided by the manufacturer although I had to make some corrections.
https://drive.google.com/drive/folders/1hPM4hObom5JWjDT9XOB34v9EcIeUUnZ6?usp=sharing http://www.chafon.com/DownLoadFile.aspx?fid=256
Inside the SDK folder there should be a .docx file describing their protocol. In reality, the dummy data represents other things, If you want to implement your own library, that read is a must (albeit their writing is weird at best)