Skip to content

2. Build Guide

SethHibpshman edited this page Jun 15, 2026 · 3 revisions

This page documents how I assembled and brought up MorseDeck Terminal, from PCB fabrication through first boot. For component specs and pin mapping, see Hardware Reference. For code and dependency details, see Software Reference.

Table of Contents

Tools and Software

Tools I used:

  • Soldering iron and solder
  • Multimeter
  • USB-C cable (data-capable)

Software I used:

  • Thonny - flashing MicroPython, uploading files, and writing code
  • KiCad - PCB design and Gerber export
  • MicroPython firmware for ESP32-S3, downloaded from MicroPython ESP32-S3

Components: See the Bill of Materials in the README.

PCB Assembly

I designed the PCB in KiCad and exported Gerbers via File > Plot > Plot. I ordered fabrication through JLCPCB, which came out to around $5 for 5 boards with overseas shipping.

I soldered components in this order to avoid clearance issues:

  1. Resistors first (lowest profile)
  2. LED
  3. Pin headers for the ESP32-S3 dev board
  4. Buzzer
  5. Rotary encoder

I seated the ESP32-S3 dev board into the headers rather than soldering it directly so it can be removed if needed.

Wiring the Off-Board Components

Several components connect via wire rather than being soldered directly to the PCB.

OLED Display (SoftI2C)

OLED Pin ESP32-S3 Pin
SCL 46
SDA 8
VCC 3.3V
GND GND

3D-Printed Enclosure

Print files are in /hardware/enclosure. I printed in PLA. The OLED and keypad mount from the front face. I made sure the rotary encoder and USB port were accessible before closing the case.

Flashing MicroPython

I flashed MicroPython using Thonny's built-in firmware installer:

  1. Connect the ESP32-S3 via USB-C
  2. In Thonny, go to Tools > Options > Interpreter
  3. Select MicroPython (ESP32) and the correct COM port
  4. Click Install or update MicroPython and select the ESP32-S3 firmware
  5. Let it flash and reboot

Uploading Libraries and Firmware

I uploaded all files through Thonny using File > Save as > MicroPython device. The board filesystem looks like:

/main.py
/ssd1306.py
/gfx.py
/keypad.py

Upload library files first, then main.py last. After saving main.py, Thonny prompts to reset the board. The boot animation should appear on the OLED within seconds.

urandom is built into MicroPython and does not need to be uploaded.

First Boot Checklist

After first boot I verified everything:

  • Boot animation plays on the OLED
  • Rotary encoder scrolls through settings menu (hold 2 seconds to open)
  • Dit paddle produces a short tone
  • Dah paddle produces a longer tone
  • Keyed input decodes to text on OLED
  • Keypad registers input in Keyboard Replay mode
  • LED toggles correctly from settings
  • Screensaver activates after ~60 seconds idle

If something was not working, Debug mode in the settings menu showed paddle state, encoder pins, keypad input, and memory, making it easier to isolate wiring issues.

Clone this wiki locally