I'm using three separate codes that I have on three separate arduinos attached to three seperate scanners.
1: One code lets me write to the card.
2: One code just displays all info on the card
3: And the other code is where I'm having the issue.
Which is basically an if this then that code that when a tag is scanned it opens a relay.
T
I know the code is written to the tag because I have written "tree123456789012" on one and "apple12345678901" on the other.
And when I scan them on the second reader (the one that reads all info on the card) I see both cards with the same serial number but on pages 6~9 in hex the are the two different words I wrote.
Obviously my problem is in code 3
Where all it reads is the serial number and thinks every tag is the same. What I can't figure out is how to get it to read the word instead of the serial number. So that if the code sees the word tree123456789012 then the arduino will open the tree relay on pin X but if it see's apple1234678901 it will open the apple relay on pin Y
Once I got that part figured out it should be easy to add more IDs to open more relays on other pins.
FYI: We are also using a code we had that would display info on an lcd which for this project is not necessary but when we removed the code it broke the code so we left it as it didn't seem to hurt.
Attached are the following
Code 1: mini RFID write
Code 2: RFID card dump
Code 3: RFID tester
RFID_TESTER.ino (1.53 KB)
RFID_CARD_DUMP_INFO.ino (2.02 KB)
MiniRFIDWrite.ino (1.87 KB)