You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. USB to USB keyboard protocol converter
  2. ======================================
  3. Hardware requirement
  4. --------------------
  5. Arduino Leonardo
  6. http://arduino.cc/en/Main/ArduinoBoardLeonardo
  7. Circuit@Home USB Host Shield 2.0
  8. https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino-assembled/
  9. Buying Arduino Leonardo and USB Host Shield 2.0(from Circuit@home) will be the easiest way, you won't need even soldering iron.
  10. Arduino's Shield will also work well but I think Sparkfun's needs to be modified.
  11. http://arduino.cc/en/Main/ArduinoUSBHostShield
  12. https://www.sparkfun.com/products/9947
  13. Also Pro Micro 3.3V(not Mini) or Teensy with mini host shield will work with some fixes on signal/power routing.
  14. https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-for-arduino-pro-mini
  15. https://www.sparkfun.com/products/12587
  16. https://www.pjrc.com/teensy/td_libs_USBHostShield.html
  17. Build firmware
  18. --------------
  19. $ git clone git://github.com/tmk/tmk_keyboard.git
  20. $ cd tmk_keyboard
  21. $ git submodule init
  22. $ git submodule update
  23. $ cd converter/usb_usb
  24. $ make
  25. Program converter. Push reset button on Leonardo before run this command. Serial port name(COM17) depends your system. On Linux I got /dev/ttyACM0.
  26. $ DEV=COM17 make program
  27. or
  28. $ avrdude -patmega32u4 -cavr109 -b57600 -Uflash:w:usb_usb.hex -PCOM17
  29. Limitation
  30. ----------
  31. Only supports 'HID Boot protocol'.
  32. Not support keyboard LED yet.
  33. Note that the converter can host only USB "boot protocol" keyboard(6KRO) and not NKRO, it is possible to support NKRO keyboard but you will need to write HID report parser for that. Every NKRO keyboard can have different HID report and it is difficult to support all kind of NKRO keyboards in the market.
  34. Update
  35. ------
  36. 2014/12/11 Added Hub support(confirmed with HHKB pro2)
  37. Resource
  38. --------
  39. USB Host Sheild 2.0
  40. https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino
  41. https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-for-arduino-pro-mini
  42. USB Host Sheild 2.0 source
  43. https://github.com/felis/USB_Host_Shield_2.0
  44. Arduino USB Host Shield(with bootst converter)
  45. http://arduino.cc/en/Main/ArduinoUSBHostShield
  46. Arduino source
  47. https://github.com/arduino/Arduino/hardware/arduino/{cores,variants}
  48. Initial release of TMK USB-USB converter
  49. https://geekhack.org/index.php?topic=33057.msg653549#msg653549
  50. http://deskthority.net/workshop-f7/is-remapping-a-usb-keyboard-using-teensy-possible-t2841-30.html#p74854
  51. Arduino-based hardware keyboard remapper - Colemak forum
  52. http://forum.colemak.com/viewtopic.php?id=1561
  53. Teensy + Host Shield
  54. http://www.pjrc.com/teensy/td_libs_USBHostShield.html