Page 1 of 1

Uno with RFID-RC522!

Posted: Sun Jan 07, 2024 3:18 pm
by jgu1
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 :D But how do I add more tags to match, any advice, please? :roll:

ThankĀ“s in advance.

Jorgen

Re: Uno with RFID-RC522!

Posted: Mon Jan 08, 2024 9:36 am
by Steve-Matrix
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).

Re: Uno with RFID-RC522!

Posted: Mon Jan 08, 2024 11:42 am
by jgu1
Thank you Steve, I will try to see if I am able to do it. :D

Jorgen