Where it started
Morse Scout started when I began learning CW and needed a practice oscillator. I wanted a sidetone that sounded pleasant, and I wanted a screen that showed me what I had sent. I was looking for something I would enjoy using during practice, not just a circuit that made a sound when I pressed a key.
I began by modifying the code for the Morse Tutor created and open-sourced by Bruce E. Hall, W8BH. I work in IT, but I do not spend most of my time developing software, so I used an AI coding assistant from the beginning. It helped me explore unfamiliar code, test ideas and turn rough requirements into working experiments.
From oscillator to embedded computer
The first major improvement was a sine-wave sidetone. It worked, but I soon reached the limits of the STM32 Blue Pill microcontroller. I moved to an ESP32-S3 and added a larger screen, which gave the project room for a more useful interface.
At first, I built everything from breakout boards. The result worked, but it looked like a large bundle of wires. I also wanted smoother screen fonts and more control over the layout. Those experiments worked, but they made it clear that the project needed a more deliberate hardware and software structure.
I outgrew the Arduino IDE and moved to Visual Studio Code. I used PlatformIO first, then moved to Espressif’s ESP-IDF development environment. ESP-IDF gave me better control over the target hardware, build configuration, tasks, storage and audio services.
Designing an interface people can use
I wanted the interface to be intuitive enough that someone could pick up the device and start practising without first reading a manual. I found the LVGL graphics library and began building a proper touchscreen interface around it.
I started the user interface in SquareLine Studio. When that trial ended, I moved the project to EEZ Studio, which became the editable source for the screen layouts and generated LVGL interface files.
During the same period, I discovered development boards with integrated five-inch touchscreens. They reduced the number of separate boards and wires. Eventually I moved to a seven-inch board with the new ESP32-P4 microcontroller. It had enough processing power and memory to run the touchscreen interface, key input and audio together without noticeable latency.
A different way to develop
An important change came after I watched Andreas Spiess’s video on an AI-driven ESP32 workflow. It changed how I approached the software. Instead of starting with a small code change and discovering the requirements along the way, I began writing down what the device should do before implementing it.
The current workflow starts with a Functional Specification Document (FSD). An FSD describes the goal, user-visible behaviour, constraints, interfaces, failure cases and acceptance tests. The work is then divided into smaller implementation tasks. As the firmware changes, the FSD, test cases and traceability notes are updated together. This gives the project a shared reference for the firmware, UI, hardware and documentation, and makes it easier to review changes made with AI assistance.
The AI-assisted workflows I use include:
- FSD writing: turns an idea into requirements, test cases and traceability notes before implementation begins.
- ESP32 firmware engineering: helps with ESP-IDF, FreeRTOS tasks and queues, peripherals, storage, networking and embedded C.
- ESP-IDF project handling: supports repeatable builds, firmware packaging, flashing and serial-monitor checks.
- LVGL UI contracts: keeps runtime-created screens within their intended geometry, touch targets and scrolling rules, and checks for overlap or clipping.
- EEZ Studio UI work: analyzes the editable interface project and keeps generated LVGL files connected to the application code.
- KiCad design review: checks schematics, symbols, pin connections, PCB relationships and electrical rules.
- Datasheet and component research: extracts specifications and pin details before parts are selected or connected.
- Documentation and release checks: keeps the manual, screenshots, credits, licenses and release notes aligned with the firmware.
AI writes and reviews parts of the work, but the resulting behaviour still needs to be built, tested and checked against the real device. The goal is to make a small project manageable, not to hide how it works.
Speech without an internet connection
The ESP32-P4 made it practical to add features that would have been out of reach on the earlier hardware. One of them is fully offline, on-device neural text-to-speech for word exercises.
Morse Scout uses the compact SanoTTS Heart voice model. The firmware keeps the model and speech runtime on the device, converts selected words or phrases into audio locally, and sends the result to the sidetone audio path. This means spoken answers do not depend on a cloud service or an internet connection. It also keeps practice content on the device instead of sending it to an online speech provider.
Making it a buildable device
With the main electronics working, I used KiCad to design a custom I/O board for Morse keys, audio and the other external connections. I also designed a 3D-printable enclosure to hold the display board, I/O board, controls and wiring.
That was the point when the project stopped looking like a collection of experiments and started taking shape as Morse Scout: a standalone, open and non-commercial Morse code trainer that can be built, studied and improved by other operators.
What’s next
The project continues to grow through firmware improvements, new practice activities, better documentation and the release of the source files. Follow the blog for updates.