Repository navigation
2. Build Guide
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.
- Tools and Software
- PCB Assembly
- Wiring the Off-Board Components
- 3D-Printed Enclosure
- Flashing MicroPython
- Uploading Libraries and Firmware
- First Boot Checklist
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.
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:
- Resistors first (lowest profile)
- LED
- Pin headers for the ESP32-S3 dev board
- Buzzer
- Rotary encoder
I seated the ESP32-S3 dev board into the headers rather than soldering it directly so it can be removed if needed.
Several components connect via wire rather than being soldered directly to the PCB.
| OLED Pin | ESP32-S3 Pin |
|---|---|
| SCL | 46 |
| SDA | 8 |
| VCC | 3.3V |
| GND | GND |
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.
I flashed MicroPython using Thonny's built-in firmware installer:
- Connect the ESP32-S3 via USB-C
- In Thonny, go to Tools > Options > Interpreter
- Select MicroPython (ESP32) and the correct COM port
- Click Install or update MicroPython and select the ESP32-S3 firmware
- Let it flash and reboot
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.
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.