readme.md (3753B)
1 # daskeyboard4 2 3  4 5  6 7 Reverse engineered PCB definition of daskeyboard 4 (Professional) 8 9 * Keyboard Maintainer: [Commander1024](https://github.com/Commander1024) 10 * Hardware Supported: The PCB, rotary encoder, LEDs 11 * Hardware Availability: https://www.daskeyboard.com/de/daskeyboard-4-professional/ 12 * Microcontroller used: https://stm32-base.org/boards/STM32F401CEU6-WeAct-Black-Pill-V3.0.html 13 14 I used a WeAct Black Pill V3.0 featuring the STM32F401CEU6 processor to replace the keyboard's destroyed controller. This keyboard definition can also be easily adopted to use any other microcontroller compatible with QMK and with sufficient I/O ports. 15 16 The layout definition in **info.json** contains the magic. The rows and columns appear in the pin definition in the order they appear on the 26 pads, where the original ribbon cable was connected. **Note**: Pad 25 is not connected. 17 18 It *should* work for ANSI as well as ISO variants, although I only tested the latter. 19 20 Rotary encoder and LEDs are handwired. 21 22 ## Media key mapping 23 KC_RGUI (right super key) is used to switch or toggle (double tap) to media layer. 24 The rotary encoder is used for volume control. 25  26 27 Make example for this keyboard (after setting up your build environment): 28 29 make handwired/daskeyboard/daskeyboard4:default 30 31 Flashing example for this keyboard: 32 33 make handwired/daskeyboard/daskeyboard4:default:flash 34 35 See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). 36 37 ## Bootloader 38 39 Enter the bootloader in 3 ways: 40 41 * **Bootmagic reset**: Hold down the key at (5,16) in the matrix (usually the top left key or Escape) and plug in the keyboard 42 * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead 43 * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available 44 45 ## PCB-Pinout 46 | PCB-pin | properties | STM32F411 | 47 |---------|-----------------------------|-------------| 48 | 1 | column, diode, 4 switches | C14 | 49 | 2 | row, no diode, 13 switches | A13 | 50 | 3 | row, no diode, 15 switches | A14 | 51 | 4 | column, diode, 3 switches | C15 | 52 | 5 | column, diode, 8 switches | A0 | 53 | 6 | row, no diode, 14 switches | A1 | 54 | 7 | column, diode, 7 switches | A2 | 55 | 8 | row, no diode, 13 switches | A3 | 56 | 9 | column, diode, 7 switches | A4 | 57 | 10 | column, diode, 7 switches | A5 | 58 | 11 | column, diode, 8 switches | A6 | 59 | 12 | column, diode, 8 switches | A7 | 60 | 13 | column, diode, 7 switches | B0 | 61 | 14 | column, diode, 7 switches | B1 | 62 | 15 | column, diode, 7 switches | B10 | 63 | 16 | column, diode, 7 switches | B9 | 64 | 17 | row, no diode, 12 switches | B8 | 65 | 18 | column, diode, 2 switches | B7 | 66 | 19 | column, diode, 2 switches | B6 | 67 | 20 | column, diode, 6 switches | B5 | 68 | 21 | column, diode, 6 switches | B4 | 69 | 22 | row, no diode, 12 switches | B3 | 70 | 23 | row, no diode, 10 switches | A15 | 71 | 24 | row, no diode, 15 switches | B15 | 72 | 25 | N/C | | 73 | 26 | column, diode, 7 switches | A8 |