Uno with RFID-RC522!

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 615
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Uno with RFID-RC522!

Post 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
Attachments
MFRC522_UID_UnoTest.fcfx
(19.11 KiB) Downloaded 51 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Uno with RFID-RC522!

Post 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).

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: Uno with RFID-RC522!

Post by jgu1 »

Thank you Steve, I will try to see if I am able to do it. :D

Jorgen

Post Reply