I'm trying to read data from USB RFID reader using Python script. The data was write into a RFID sticker using NFC tool on my phone. So when I scan the RFID sticker at the RFID reader, Python script should display the data that I write into the RFID sticker.
For example, I write a string into RFID sticker with "Hello World".
I want it to display the string.
But this does not work. I think it doesn't work because the script used for different reader model. I tried to find the RFID reader info on my Linux by using these command.
But this command `sudo tree /dev/input` do not showing any device related to my RFID reader.
Hardware:
- USB RFID reader EM4100
- RFID sticker NXP MIFARE Ultralight (Ultralight C)
From my understanding, USB should be used as serial library in Python, but the reader act as a HID device. So I tried installing Python library using this command.
> sudo pip install hid
Anyone know how to make the Python script work or any guide that might related?
Thanks.
I'm trying to read data from USB RFID reader using Python script. The data was write into a RFID sticker using NFC tool on my phone. So when I scan the RFID sticker at the RFID reader, Python script should display the data that I write into the RFID sticker.
For example, I write a string into RFID sticker with "Hello World".
I want it to display the string.
But this does not work. I think it doesn't work because the script used for different reader model. I tried to find the RFID reader info on my Linux by using these command.
2 directories, 29 files