How can I make RFID card and tag do different things
Hi, as the title suggests I am looking to make the RFID card and tag do different things, for example;
I can make them both on detect start up the lcd, the led matrix and the 7 segment display
But I am wondering how to make the card start the LCD and the tag start the matrix
I think I've found the unique ids for both the tag and the card but I don't know how to use that to make them do separate things
Comments
There are probably two methods to achieve this effect:
Method 1: Make a function for LCD, LED matrix, or 7 segment display, and then call the function when the RFID module detects a specific NFC card.
Method 2(easy way): Use the os.system(cmd) function to run a python script of LCD module when the RFID module detects a specific NFC card.
As for how to program, I suggest you look up programming-related websites on the Internet to learn.
I mean I have a fair idea on how to program it, I'm really just needing how I would go about detecting different cards to call
Actually, the principle that the RFID module can detect different NFC cards is to identify the ID number written into the NFC card. And the process can be divided into two steps:
Step1: Write the id to NFC card, you can refer to the python script nfc_block_writer.py
Step 2: Read the id from NFC card, you can refer to the python script nfc_block_read.py
have been trying to figure out how to use the uids
The RFID TAG has a uid of 119,212,75,161,73,8,4,0,2,135,184,120,187,99,42,29
And the RFID CARD has a uid of
227,236,201,66,13,84,0,98,99,100,101,102,103,104,105
How can I then call that in a script to say if tag start lcd or if card start matrix