1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/handwired/dqz11n1g
2024-05-24 19:38:57 +01:00
..
keymaps/default Update GPIO macros in keymaps (#23792) 2024-05-24 19:38:57 +01:00
config.h Move LED indicator config to data driven (#19800) 2023-02-17 13:14:29 +11:00
keyboard.json Migrate build target markers to keyboard.json - HI (#23540) 2024-04-17 02:49:17 +01:00
matrix.c Update GPIO API usage in keyboard code (#23361) 2024-05-03 15:21:29 +10:00
readme.md dqz11n1g: Documentation improvement. (#19230) 2022-12-04 20:43:28 +00:00
rules.mk Data-Driven Keyboard Conversions: H, Part 2 (#23525) 2024-04-15 19:22:31 +01:00

DQz11N1G

DQz11N1G

Using QMK with one of the ortholinear contoured keyboards manufactured by PCD Maltron Ltd by modding it with a DIY replacement controller.

This work here in no way officially associated with PCD Maltron Ltd and comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Modifying your Maltron keyboard as described below will certainly void your warranty and may e.g. cause damage to your keyboard. Proceed at your own risk!

  • maintainer: David Kuehling
  • Hardware Supported: Maltron DQz11N1G with a replacement controller board assembled as described below. The work here is based on a German version of the keyboard: DQz11N1G-DE. I assume, but don't know for sure, that minor or no changes at all are required to make this work on different language versions of the keyboard.
  • Hardware Availability:
    • PCD Maltron Ltd, for the original keyboard
    • 1x Arduino Pro Micro
    • 3x shift register SN74HC165
    • 3x ceramic blocking capacitors (100 nF) one for each shift register
    • 1x DIL connector 2 rows a 17 pins.
    • 19x pull-down resistors (10k Ohm),
    • 4 LED current limiting resistors (not sure about the correct resistance, using 470 Ohm here)

Make example for this keyboard (after setting up your build environment):

make handwired/dqz11n1g:default

In Detail

PCD Maltron Ltd manufactures ergonomic keyboards that appear to be hand-wired internally. For the Maltron DQz11N1G-DE keyboard that I happen to own, the keyboard matrix is wired to a 34-pin DIL connector. This makes it rather easy to replace the proprietary controller-board with a self-made board based on the QMK firmware.

I don't really like the default layout of my Maltron DQz11N1G-DE keyboard, and modding it to work with QMK allows me to adapt it to my needs. It especially allows for the two space keys to assume different roles, thereby creating an additional easily reachable thumb-key.

Internal Details of Keyboard Matrix and DIL Connector

DQz11N1G-DE keyboard matrix

DQz11N1G-DE keyboard matrix connector

Replacement Keyboard Controller Board

Due to supply chain problems, I decided to base this on an Arduino-compatible Pro Micro board which is still easy to source.

Unfortunately pin-count of the DQz11N1G-DE's keyboard matrix is way beyond the Pro Micro's available I/O pin count. I'm using three 8-bit shift-registers (SN74HC165 ) to connect the 19 columns of the keyboard matrix for readout. Due to diode direction in DQz11N1G-DE we also need 19 pull-down resistors one for each of the utilized shift-register inputs.

This is a design sketch of the replacement board this is based on. Note how we need a custom matrix.c source file to deal with the shift register based keyboard readout.

Sketch of Keyboard Controller Board

This is how the assembled controller board looks like, on the right side you see the original PIC-based controller the keyboard ships with.

The assembled controller next to the original controller the keyboard ships with

Inside of the keyboard after installing the new controller board:

Installed controller

(Not visible in the photo: I drilled hole into the keyboard above the USB connector for a reset switch to simplify flashing controller firmware)