Go Down

Topic: Problem interfacing generic RFID reader, running HID protocol (Read 145 times) previous topic - next topic

taurean1192

I am trying to interface a generic 125kHz RFID reader with my Arduino project, for ID validation. The problem is that I can't read the data when I plug it in the USB Host Shield. All the Sample codes fail to show any output.

Some help will be great on this.

taurean1192

This is the output received from the USBHID_desc sample -

Start
0000: 05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
0010: 75 01 95 08 81 02 75 08 95 01 81 03 19 00 29 65
0020: 15 00 25 65 75 08 95 06 81 00 05 08 19 01 29 05
0030: 15 00 25 01 75 01 95 05 91 02 75 03 95 01 91 03
0040: C0
Usage Page Gen Desktop Ctrls(01)
Usage Keypad
Collection Application
Usage Page Kbrd/Keypad(07)
Usage Min(E0)
Usage Max(E7)
Logical Min(00)
Logical Max(01)
Report Size(01)
Report Count(08)
Input(00000010)
Report Size(08)
Report Count(01)
Input(00000011)
Usage Min(00)
Usage Max(65)
Logical Min(00)
Logical Max(65)
Report Size(08)
Report Count(06)
Input(00000000)
Usage Page LEDs(08)
Usage Min(01)
Usage Max(05)
Logical Min(00)
Logical Max(01)
Report Size(01)
Report Count(05)
Output(00000010)
Report Size(03)
Report Count(01)
Output(00000011)
End Collection

gdsports

Try powering the Arduino via its barrel connector. The RFID reader might be drawing too much current to work when it is powered by the USB connector.

taurean1192

Try powering the Arduino via its barrel connector. The RFID reader might be drawing too much current to work when it is powered by the USB connector.

Tried doing that, no change, still no output. As per my research I may need to write a driver, unfortunately I have no clue how to do that.

Go Up