]> git.donarmstrong.com Git - tmk_firmware.git/blob - converter/usb_usb/README
d0547cde900898eb508f8c03974f010903be98cd
[tmk_firmware.git] / converter / usb_usb / README
1 USB to USB keyboard protocol converter
2 ======================================
3
4 Hardware requirement
5 --------------------
6 Arduino Leonardo
7     http://arduino.cc/en/Main/ArduinoBoardLeonardo 
8
9 Circuit@Home USB Host Shield 2.0
10     http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino
11
12
13 Build firmware
14 --------------
15     $ git clone git://github.com/tmk/tmk_keyboard.git
16     $ cd tmk_keyboard
17     $ git checkout usb_hid
18     $ git submodule init
19     $ git submodule update
20
21 and download LUFA and unzip under protocol/lufa and edit LUFA_PATH in protocol/lufa.mk. Then,
22
23     $ cd converter/usb_usb
24     $ make
25
26 You will get usb_usb.hex if you are lucky.
27 Program your Leonardo with avrdude(or easy-going Arduino IDE):
28
29     $ avrdude -patmega32u4 -cavr109 -PCOM17 -b57600 -Uflash:w:usb_usb.hex
30
31
32 Limitation
33 ----------
34 Only supports 'HID Boot protocol'.
35 Not support keyboard LED yet.