Thursday, July 16, 2015

Arduino RFID, RC522, VUSB HID as Keyboard

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





**Updates

https://github.com/adesst/arduino-vusb
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
total 6.1M
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:
https://github.com/adesst/arduino-vusb-hid-rfid-keyboard
Flash this code to 1st chip, that will act as USB-hid

https://github.com/adesst/arduino-rfid-serial
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 ^.^

No comments: