

Morse Mech
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
1README
README.mdMorse 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 220 | Resistors_SMD:R_0603 | R3, R5, R6, R8 |
| 2 | 15pF | Capacitors_SMD:C_0603 | C1, C2 |
| 2 | 22 | Resistors_SMD:R_0603 | R1, R2 |
| 2 | 270 | Resistors_SMD:R_0603 | R4, R7 |
| 1 | 16MHz | Crystals:Crystal_HC49-U_Vertical | Y1 |
| 1 | 1uF | Capacitors_SMD:C_0603 | C3 |
| 1 | 20k | Resistors_SMD:R_0603 | R0 |
| 1 | ATmega16u2 | Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm | MCU1 |
| 1 | EEPROM_SPI | Housings_SSOP:TSSOP-8_4.4x3mm_Pitch0.65mm | U1 |
| 1 | Gateron Green | Cherry_MX:CHERRY_PCB_100H | SW1 |
| 1 | ICSP | Custom_Footprints:ICSP_6PIN_POGO | P2 |
| 1 | LED_IND | Custom_Footprints:PLCC6_CREE | LED2 |
| 1 | LED_SW | Custom_Footprints:PLCC6_CREE | LED1 |
| 1 | LOGO_MORSE_MECH | Logos:logo-morse-mech | G*** |
| 1 | USB_OTG | Custom_Footprints:WURTH_USB_MICRO_B | P1 |
The 21 most common of 22 parts.
Similar boards
- 2 layers101.6 × 53.3 mm

- 2 layers20 × 108.5 mm

OTBreakOut
GaudiLabs/OpenThereminV4_EurorackBreakout
Break-Out-Modules for the OpenTheremin V45
43 parts6GPL-3.0 - 2 layers158 × 34 mm

- 2 layers50.2 × 95.6 mm

Tempmonitor
Tempmonitor/Tempmonitor
Hardware and software for Temp monitor - An open source external system monitor.
43 parts3 - 2 layers76 × 106 mm

- 2 layers95 × 90.5 mm

- 2 layers30 × 17.8 mm

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 mm

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).