I’m currently doing a project where ideally I will have multiple objects with RFID tags on them that are placed on top of a platform with a Sparkfun SRTR connected to a Arduino Uno Wifi Rev 2 below the platform. The idea is that once a button is pressed the RFID reader will read all the tags that are on that platform, take the data from the user data and add all the data to an array.
Any advice on how I can achieve this?
I have used the constant read example from the library and it reads all the tags in the range but after a while I get Bad CRC or unknown error. I have tried modifying this code to call the getTagDataBytes() method but obviously that just returns the number of bits of embedded data not the actual data.
Also I can read an individual tag and print out what I’ve wrote to it using the read_user_data example code. e.g. Write “Pineapple!” to tag, print out “Pineapple!” (writing to the the user data section of the tag).
Thank you