logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

readme.md (3837B)


  1. # DQz11N1G
  2. ![DQz11N1G](https://u.cubeupload.com/ddklg/OPBN5q.jpg)
  3. Using QMK with one of the ortholinear contoured keyboards manufactured by [PCD
  4. Maltron Ltd](https://www.maltron.com) by modding it with a DIY replacement
  5. controller.
  6. This work here in no way officially associated with PCD Maltron Ltd and comes
  7. with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
  8. Modifying your Maltron keyboard as described below will certainly void your
  9. warranty and may e.g. cause damage to your keyboard. Proceed at your own risk!
  10. * maintainer: [David Kuehling](https://github.com/dvdkhlng/qmk_firmware_dqz11n1g)
  11. * Hardware Supported: Maltron DQz11N1G with a replacement controller board
  12. assembled as described below. The work here is based on a German version
  13. of the keyboard: DQz11N1G-DE. I assume, but don't know for sure, that
  14. minor or no changes at all are required to make this work on different
  15. language versions of the keyboard.
  16. * Hardware Availability:
  17. * [PCD Maltron Ltd](https://www.maltron.com), for the original keyboard
  18. * 1x [Arduino Pro Micro](https://www.sparkfun.com/products/12640)
  19. * 3x shift register [SN74HC165](https://www.ti.com/product/SN74HC165)
  20. * 3x ceramic blocking capacitors (100 nF) one for each shift register
  21. * 1x DIL connector 2 rows a 17 pins.
  22. * 19x pull-down resistors (10k Ohm),
  23. * 4 LED current limiting resistors (not sure about the correct resistance,
  24. using 470 Ohm here)
  25. Make example for this keyboard (after setting up your build environment):
  26. make handwired/dqz11n1g:default
  27. ## In Detail
  28. [PCD Maltron Ltd](https://www.maltron.com) manufactures ergonomic keyboards
  29. that appear to be hand-wired internally. For the Maltron DQz11N1G-DE
  30. keyboard that I happen to own, the keyboard matrix is wired to a 34-pin DIL
  31. connector. This makes it rather easy to replace the proprietary
  32. controller-board with a self-made board based on the QMK firmware.
  33. I don't really like the default layout of my Maltron DQz11N1G-DE keyboard,
  34. and modding it to work with QMK allows me to adapt it to my needs. It
  35. especially allows for the two space keys to assume different roles, thereby
  36. creating an additional easily reachable thumb-key.
  37. ### Internal Details of Keyboard Matrix and DIL Connector
  38. ![DQz11N1G-DE keyboard matrix](https://u.cubeupload.com/ddklg/OJFue6.jpg)
  39. ![DQz11N1G-DE keyboard matrix connector](https://u.cubeupload.com/ddklg/fjFXeL.png)
  40. ### Replacement Keyboard Controller Board
  41. Due to supply chain problems, I decided to base this on an
  42. Arduino-compatible [Pro Micro](https://www.sparkfun.com/products/12640)
  43. board which is still easy to source.
  44. Unfortunately pin-count of the DQz11N1G-DE's keyboard matrix is way beyond
  45. the Pro Micro's available I/O pin count. I'm using three 8-bit
  46. shift-registers ([SN74HC165](https://www.ti.com/product/SN74HC165) ) to
  47. connect the 19 columns of the keyboard matrix for readout. Due to diode
  48. direction in DQz11N1G-DE we also need 19 pull-down resistors one for each of
  49. the utilized shift-register inputs.
  50. This is a design sketch of the replacement board this is based on. Note how
  51. we need a custom matrix.c source file to deal with the shift register based
  52. keyboard readout.
  53. ![Sketch of Keyboard Controller Board](https://u.cubeupload.com/ddklg/GBZgSf.png)
  54. This is how the assembled controller board looks like, on the right side you
  55. see the original PIC-based controller the keyboard ships with.
  56. ![The assembled controller next to the original controller the keyboard ships with](https://u.cubeupload.com/ddklg/KLYF2V.jpg)
  57. Inside of the keyboard after installing the new controller board:
  58. ![Installed controller](https://u.cubeupload.com/ddklg/Br0aiF.jpg)
  59. (Not visible in the photo: I drilled hole into the keyboard above the USB
  60. connector for a reset switch to simplify flashing controller firmware)