Wrapped my project into nice grey project box. Nice project i have to combine
Arduino, RFID (RC522), VUsb together as HID Keyboard. Just tap an RFID card
and my little chips send it to computer as keyboard input. Warning this project not working
on Windows XP. And runs perfect on Linux OS, WinVista, Win7 and Win8.1
You will need to create a dir named *UsbDevice* in the arduino libraries,
this example taken from my Linux Debian8 64, yours may vary.
adesanto@debian8:/opt/AVR/arduino-1.6.9/libraries$ ls -ltha
drwxr-xr-x 26 adesanto adesanto 4.0K Feb 12 00:49 .
drwxr-xr-x 12 adesanto adesanto 4.0K Feb 12 00:49 ..
drwxr-xr-x 3 adesanto adesanto 4.0K Feb 12 00:12 UsbDevice
And clone the code into the newly created dir. Then the 2 codes
below are good to be compiled.
For the source codes, you can find them here:
Flash this code to 1st chip, that will act as USB-hid
Flash this code to 2nd chip, that will act as card-reading via SPI
of RFID-RC522 and send the reading via UART to the 1st IC
Here is the new build schematic.
So happy ^.^