+ 1
How connect a RFID (HID device) reader with python?
Hello guys, I'm trying to connect my RFID reader recognized as a HID device in my computer, in order to read 10 digits cards, I was using pyusb but I failed, thanks in advance.
4 ответов
+ 4
Pol , your RFID reader should work like other input devices like a keyboard or a Barcode reader. Your code should call input(), and it will stay there until the user is typing on the keyboard, or a device like RFID or Barcode reader will get active and sending data after reading process. check if there is some hardware switch for setting configuration of the device.
if your device is working properly with a text processing program or something like this, you should check your code.
+ 2
What does the RFID reader use manual say?
+ 1
Gordon it doesn't have any manual, it works as keyboard plug&play, once is connected to my computer it can print the 10 digits by default of my RFID cards in any text-space(word, excel..)
+ 1
Pol it sounds like the RFID reader works as a keyboard wedge. You read it by using the input() function, since it behaves just like a user typing the 10-digit code on the keyboard.