Hi!
I have tested this acces kontrol board and want to use it in a project. I have taken the examble from Wiki and change the device to an Arduino uno,
working perfect But how do I add more tags to match, any advice, please?
Thank´s in advance.
Jorgen
Uno with RFID-RC522!
-
- Posts: 617
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 510 times
- Been thanked: 132 times
-
- Matrix Staff
- Posts: 1279
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 170 times
- Been thanked: 287 times
Re: Uno with RFID-RC522!
The single tag to check in this example is defined as an array of 4 bytes - UID[4]. If you wanted to check multiple tags, then use a multidimensional array - e.g. UIDS[8][4] for 8 separate tags. Once you have read the tag, you would need to loop through the comparison multiple times for each tag (and each comparison involves a loop of 4 for each byte in the tag).