Skip to the content
2 layers22 × 37 mmMorse Mech, the printed circuit board in 3D

A single-key mechanical keyboard.

Size
22 × 37 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
39
Pads
100
Tracks, vias
194, 13
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
12 Jan 2017
Updated
16 Jan 2017

Overview

Morse Mech is an open-source printed circuit board by Ernest314, from the Ernest314/Morse-Mech-PCB repository on GitHub, published under the MIT licence. It is a 2-layer board of 22 × 37 mm with 22 parts on 39 nets, routed with 194 tracks and 13 vias.

It is built around the ATMEGA16U2-MU. Its parts include 9 resistors, 3 capacitors, 2 diodes, 2 connectors and 1 IC. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Morse Mech

A single-key mechanical keyboard. (Typed, of course, in International Morse code.) The software for this board can be found in its own separate repo. The following instructions may change over time, and should be taken as a guide only. Use common sense, and feel free to submit a pull request--or even just email me--to update this file if it gets outdated.

Features

  • True single-key operation
  • Conforms to International Morse Code
  • High-quality mechanical switch
  • Adaptive signaling timing
  • 16.8 million-color backlighting
  • RGB indicator light
  • Onboard EEPROM settings storage
  • Full-speed USB operation
  • USB HID-compatible device

Version tracking

Both this repo and the corresponding code repo are pushed with the latest updates. This means that the latest commit for this repo corresponds to the latest commit for the code repo. If you have a legacy revision of the board, you will either have to modify the source code (feel free to ask me for help), or use the code repo with the closest corresponding dates.

Assembly

The KiCAD schematic contains footprint and datasheet values for each component. In addition to selecting components with matching values/footprints, you may also directly use the components in the datasheets provided. When this board was first designed, all components were available from Mouser. (The components are very common; they will probably all be available from Mouser or Digikey. Another good resource for finding components is Octopart.)

Switches and keycaps were purchased from MAX Keyboard, although you can get them from anywhere you prefer. The only limitation is that the footprint on the PCB is that of a Cherry MX switch. (This means Gateron, Kailh, and Razer switches should all work.)

The PCB for this board was initially manufactured by OSH Park. OSH Park accepts directly uploading .kicad_pcb files, and the current PCB is laid out to the tolerances of OSHPark. Another convenient manufacturer is DirtyPCBs, although the tolerances of the board have not been tested with them. (Some adjustments may be needed.) The PCB fits inside the 5cm x 5cm smaller limit for PCB sizes, and is pretty close to that size.

A stencil for the board was ordered from OSH Stencils. This was because I needed additional stencils, and it was cheap enough that I decided it was worth it to combine them and get them shipped. However, it is completely feasible to laser-cut the stencils.

The initial run of this board did not have a case, but one can easily be created for it. There are no mounting holes (other than the extra stabilization pins for PCB-mounted switches). An easy way would be to 3D-print a case, or to create a sandwiched laser-cut case. The board can be secured with hot glue, double-sided tape, or just by sandwiching the corners of the PCB.

Programming

The AVR can be programmed with any AVR programmer (compatible with ATmegas). The initial run of the boards were programmed with an Atmel-ICE programmer. (The specific AVR that the programmer should be compatible with is the ATmega16u2.) The AVR is interfaced with a standard 6-pin ICSP header, with the square pad denoting "pad 1". The pads provided on the board are not meant to have a shrouded header soldered on; instead, a Pogo pin <-> ICSP adapter was used to program the AVR.

Again, the code for the board can be found in its own repo. (See above discussion of repo compatibility.) Atmel Studio 7 was used to program the board--see that repo for more details.

Operating instructions

Finally! What you were waiting for!

As a true Morse code keyboard (there is a single switch, not two like with many other keyboards), there is some additional setup that is needed to run the board. For additional details (e.g. the different indicator light meanings), reference the code repo for this board.

In order to start sending data to the computer, the keyboard needs to first be placed into "active" mode. This consists of entering the prosign <CT> (mneumonic "copy this"). Behind the scenes, this allows the microcontroller to figure out the lengths of the operator's particular timings for dots and dashes. Correspondingly, to suspend the keyboard, enter the prosign <SK> (mneumonic "silence key").

As for entering actual characters, the keyboard accepts standard International Morse Code. This includes letters, numbers, and punctuation. There is no way to enter lower-case letters; all letters are entered in upper-case (in authentic telegram style). This is a feature, not a bug. Character and word breaks are delimited by the standard intervals--3 and 7 times the length of a "dot", respectively.

Parts

22
QtyValueFootprintReferences
4220Resistors_SMD:R_0603R3, R5, R6, R8
215pFCapacitors_SMD:C_0603C1, C2
222Resistors_SMD:R_0603R1, R2
2270Resistors_SMD:R_0603R4, R7
116MHzCrystals:Crystal_HC49-U_VerticalY1
11uFCapacitors_SMD:C_0603C3
120kResistors_SMD:R_0603R0
1ATmega16u2Housings_QFP:TQFP-32_7x7mm_Pitch0.8mmMCU1
1EEPROM_SPIHousings_SSOP:TSSOP-8_4.4x3mm_Pitch0.65mmU1
1Gateron GreenCherry_MX:CHERRY_PCB_100HSW1
1ICSPCustom_Footprints:ICSP_6PIN_POGOP2
1LED_INDCustom_Footprints:PLCC6_CREELED2
1LED_SWCustom_Footprints:PLCC6_CREELED1
1LOGO_MORSE_MECHLogos:logo-morse-mechG***
1USB_OTGCustom_Footprints:WURTH_USB_MICRO_BP1

The 21 most common of 22 parts.

Similar boards

  • 2 layers101.6 × 53.3 mmArduino MEGA 2560-Rev3, the printed circuit board in 3D

    Arduino MEGA 2560-Rev3

    bobc/Arduino_KiCad

    KiCad versions of Arduino projects

    123 parts22
  • 2 layers20 × 108.5 mmOTBreakOut, the printed circuit board in 3D

    OTBreakOut

    GaudiLabs/OpenThereminV4_EurorackBreakout

    Break-Out-Modules for the OpenTheremin V45

    43 parts6GPL-3.0
  • 2 layers158 × 34 mmTaggerMainboard, the printed circuit board in 3D

    TaggerMainboard

    Infinitag/Hardware

    Files for the INFINITAG hardware

    75 parts6
  • 2 layers50.2 × 95.6 mmTempmonitor, the printed circuit board in 3D

    Tempmonitor

    Tempmonitor/Tempmonitor

    Hardware and software for Temp monitor - An open source external system monitor.

    43 parts3
  • 2 layers76 × 106 mmSnack Machine, the printed circuit board in 3D

    Snack Machine

    Jnesselr/Vending-Machine

    105 parts2MIT
  • 2 layers95 × 90.5 mmTeensy ver, the printed circuit board in 3D

    Teensy ver

    MUNAKATA-EPC/Artemis_2023

    アルテミス2023シーズンのリポジトリです。詳しくはwikiで。

    151 parts2
  • 2 layers30 × 17.8 mmAVR ISPMKII, the printed circuit board in 3D

    AVR ISPMKII

    bhatasaka/LUFA_AVRISP-MKII

    This repo contains the PCB and firmware configuration files for a compact USB-C programming board designed for LUFA's AVRISP-MKII firmware based on an ATMega16u2.

    32 parts1
  • 2 layers68.6 × 53.3 mmArduino Mega 2560, the printed circuit board in 3D

    Arduino Mega 2560

    ded811/Mega-Uno-2560

    An Arduino-compatible ATmega2560 development board in the Arduino Uno form factor

    62 parts1

Questions

How big is the Morse Mech PCB?

It measures 22 × 37 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Morse Mech use?

22 parts, built around the ATMEGA16U2-MU. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Morse Mech KiCad files?

From the Ernest314/Morse-Mech-PCB repository on GitHub, at the commit this page was made from: the board is Morse Mech.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Morse Mech design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).