Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Designing Keyboard 101

Designing Keyboard 101

How to Design my/your own keyboard

nasa9084

May 04, 2019
Tweet

More Decks by nasa9084

Other Decks in How-to & DIY

Transcript

  1. Designing
    Keyboards
    101
    @nasa9084

    View Slide

  2. $ whoami
    • @nasa9084
    • LINE corp.
    • Go / Kubernetes

    View Slide


  3. View Slide

  4. View Slide


  5. View Slide

  6. What are you using?

    View Slide

  7. FILCO Majestouch Convertible 2
    (Cherry MX Blue)
    2016.04 - 2018.10

    View Slide

  8. Ergodox EZ
    (Cherry MX Blue)
    2018.10 -

    View Slide

  9. Ergodash
    (Kailh BOX white)
    2019.02 -

    View Slide

  10. Self-madeʁ

    View Slide

  11. Self-made Keyboards
    • Buy keyboard kit, build by your hands
    • Shop
    • https://yushakobo.jp
    • About 25,000 yen ~

    View Slide

  12. Mint60
    By eucalyn_

    View Slide

  13. Corne Cherry
    By foostan

    View Slide

  14. Nomu30
    By recompile keys

    View Slide

  15. Keyboard Related Addiction
    • Keyboard Buying Addiction
    • Keyboard Making Addiction
    • Key-switch Acquisition Syndrome
    • Key-cap Acquisition Syndrome
    • Cable Making Addiction
    • Keyboard Designing Addiction

    View Slide

  16. Designing
    Keyboards 101
    @nasa9084

    View Slide

  17. Components
    • Key-switches (Cherry MX compatible)
    • Key-caps
    • PCB
    • Diode (1N4148/1N4148W)
    • Controller (ProMicro)
    • Cable, Reset switch, Jack, LEDs, and so on…

    View Slide

  18. Cherry MX (compatible) switches
    40 yen / key ~

    View Slide

  19. ProMicro
    Arduino compatible micro controllers by sparkfun
    2,492yen

    View Slide

  20. ProMicro compatible controllers
    Arduino compatible controller compatible controller…
    300 yen~

    View Slide

  21. QMK Firmware
    • Open source keyboard firmware for ProMicro
    • https://github.com/qmk/qmk_firmware
    • Support 6 keyboards and community keyboards
    $ git clone github.com/qmk/qmk_firmware
    $ cd qmk_firmware
    $ make $KEYBOARD:$KEYMAP:avrdude
    # if your keyboard is Mint60
    $ make mint60:default:avrdude

    View Slide

  22. Designing

    View Slide

  23. First step
    to the
    Endgame
    https://booth.pm/ja/items/1044084

    View Slide

  24. How to Design a Keyboard
    1. Design key layout
    2. Design schematic
    3. Map schematic and footprint
    4. Arrange parts layout
    5. Wiring
    6. Order your PCB

    View Slide

  25. Design Key Layout
    • Design with Keyboard Layout Editor
    • http://www.keyboard-layout-editor.com

    View Slide

  26. http://www.keyboard-leyout-editor.com

    View Slide

  27. Keyboard Layout Preset
    • Begin from famous keyboards
    • Add new keys you want
    • Remove keys you don’t use
    http://www.keyboard-layout-editor.com

    View Slide

  28. Design Schematic
    • Use KiCad
    • is a CAD for creating PCB
    • http://kicad-pcb.org
    • 
    • Current stable is 5.1.2

    View Slide

  29. Key Matrix
    • 14 pins are avail for
    key input
    • Layout keys in a
    matrix to use many
    keys
    • Detect a key by 2 pins

    View Slide

  30. Other Components
    • Connect all
    components to
    ProMicro
    • Connect left and right
    by TRRS cable
    • Reset switch to reset
    ProMicro
    • (Optional) LED

    View Slide

  31. TRRS Cable
    • 3.5mm - 4 contacts phone connector cable
    • Tip-Ring-Ring-Slave cable
    • Hard to find to buy
    • Connect right hand and left hand

    View Slide

  32. Map Footprints
    Schematics → Parts

    View Slide

  33. Arrange Parts Layout
    • Can use raw data
    from keyboard-
    layout-editor
    • Can use Python script
    © By foostan

    View Slide

  34. Wiring Components
    • with 0.25mm wire
    • 0.5mm for power
    • Very hard…
    © By foostan

    View Slide

  35. Order PCB
    • Output Garber format file
    • Confirm with KiCad GarbView
    • Measure size
    • Rename files
    • Order from https://www.elecrow.com

    View Slide

  36. Q?

    View Slide