This is a small program in Python/MicroPython that creates a QSO server for the Morserio-32.
It can be used to train realistic QSOs with the Morserio-32.
The QSO follows the rules of https://www.emdrc.com.au/basics-of-a-cw-qso/. The qsosrv application sends back a random callsign. The length of the callsign is currently set to 5 characters. This can be changed by sending a number i >= 3 or i >=8 before sending cq (TBD, wording still unclear).
you: Morserino
he: qsosrv
you: cq **sota** cq **sota** cq **sota** de **yourcallsign** **yourcallsign** **yourcallsign** pse k
sota ist optional
he: **yourcallsign** de **hiscallsign** **hiscallsign** **hiscallsign** k
you: **hiscallsign** ur rst **hisrst** **hisrst** **hisrst** de **yourcallsign**
he: r r ur rst **yourst** **yourst** **yourst** de **hiscallsign** k
you: rr tu 73 de **yourcallsign** ee
Entering **sk**
goes back to the first step.
On an ESP8266 qsosrv blinks after every step .-. roger.
It runs on Linux (tested on Raspberry Pi 4), Windows (Python 3.9 on Windows 10), and last but not least on an ESP8266 with Micropython, this allows you to be portable with the Morserino and an ESP8266.
Software
- Python 3.x (?) or MicroPython
Hardware
- Morserino-32 with firmware > nn.zz
- ESP8266 Microcontroller or any Linux/Windows/OSX machine
First, you have to fetch the source code from GitHub.
git clone https://github.com/mfhepp/qsosrv.git
You can also download a ZIP file from Github
Code -> Download ZIP
and unzip it.
Make sure a Python interpreter > version 3.x. is installed. This is the default on Raspbian. If unsure, see e.g. this page.
cd qsosrv
python main.py
Make sure a Python interpreter > version 3.x is installed. If unsure, see e.g. this page. A simple and clean way is installing the Anaconda package.
cd qsosrv
python main.py
I used VS Code with PyMakr to Upload Code to a esp8266 Wemos mini D1. After successfully uploading the code to the ESP8266, simply reset the device. If it does not connect automatically, doublecheck if you have added "wch.cn" to your Pymakr's Globalsettings Section "autoconnect_comport_manufacturers":.
- Connect the ESP8266, Raspberry Pi or your computer with the Morserino (TBD: How exactly?)
- Adjust your Wifi Settings.
- Update the configuration as needed (TBD).
- Start your Morserino in WifiTrx and follow the procedure below (TBD).
I will add more features from time to time. Next step will be adding a small oled display.
73 de hb9fvk (ruedi)