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.

README.md 2.6KB

10 years ago
10 years ago
10 years ago
10 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. IBM 4704 to USB keyboard converter
  2. ==================================
  3. This firmware converts IBM 4704 keyboard protocol to USB HID.
  4. Keyboard initialization process takes a few seconds at start up. During that you will hear buzzer from the keyboard. **You need to plug USB cable after hooking up your keyboard to the converter.**
  5. Update
  6. ------
  7. - 2015/09/07 Added keymap for Alps 102-key. Thanks, tai @ geekhack!
  8. - 2015/05/05 Added keymaps for 107-key, 77-key and 50-key. Thanks, orihalcon @ geekhack!
  9. - 2015/05/19 Fixed a protocol handling bug.
  10. Supported Keyboard
  11. ------------------
  12. ### IBM capacitive switch models:
  13. - 6019273 Model 100 50-key (grid layout) http://kishy.ca/?p=894
  14. - 6019284 Model 200 62-key Alpha(60% layout) http://kishy.ca/?p=894
  15. - 6019303 Model 300 77-key Expanded Alpha http://deskthority.net/photos-f62/ibm-6019303-t8502.html
  16. - 6020218 Model 400 107-key Full key http://kishy.ca/?p=894
  17. ### Alps switch(vintage Green) models:
  18. - 5954339 Japanese 102-key http://deskthority.net/post87127.html#p87127
  19. - 6112883 Japanese 102-key http://geekhack.org/index.php?topic=52888.msg1194489#msg1194489
  20. - 6112884 Japanese 102-key http://geekhack.org/index.php?topic=50437.msg1193047#msg1193047
  21. - 6341739 Chinese 102-key http://geekhack.org/index.php?topic=52888.msg1176566#msg1176566
  22. Connector
  23. ---------
  24. Keyboard Plug from front:
  25. DSUB-9
  26. -------------
  27. \ N 2 3 4 5 /
  28. \ N N N N /
  29. ---------
  30. 2 GND
  31. 3 VCC 5V
  32. 4 DATA
  33. 5 CLOCK
  34. N No connection/No pin.
  35. Connection
  36. ----------
  37. In case of using ATMega32U4/U2
  38. 1. Supply power with VCC and GND.
  39. 2. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h.
  40. 3. Optionally you may need pull-up register. 1KOhm probably work.
  41. TMK Converter can supports IBM 4704.
  42. https://github.com/tmk/keyboard_converter
  43. Build Firmware
  44. --------------
  45. Just run `make`:
  46. $ make -f <makefile>
  47. For TMK Converter rev.1 use `Makefile.tmk_rev1` as makefile:
  48. $ make -f Makefile.tmk_rev1
  49. For TMK Converter rev.2 use `Makefile.tmk_rev2` as makefile:
  50. $ make -f Makefile.tmk_rev2
  51. To select keymap:
  52. $ make -f <makefile> KEYMAP=[plain|...]
  53. To indentify your TMK Converter revision see [this](https://github.com/tmk/keyboard_converter#pcb-revisions).
  54. Keymap
  55. ------
  56. Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `keymap_<name>.c` and see keymap document(you can find in top README.md) and existent keymap files.
  57. Use `KEYMAP_ALPS102()` to define your keymap for Alps models.