Visual morse code decoder for the Raspberry Pi.
The code in this repository was inspired by and is partly based on the Raspberry Pi Learning Resource Morse Code Virtual Radio whose code can be found on GitHub as well.
The decoder is written in Python3 and uses
Connect a regular straight keyer such that it closes the connection from a GPIO input pin and ground. E.g. use pin number 39 (ground) and pin number 40 (BCM 21). See Raspberry Pinout. The input pin can easily be set in the main.py
. The state of this input pin is read every 10 ms which creates a sample rate of 100 Hz.
The GUI is written in tkinter, Pythons interface to Tcl/Tk. The moving bars on the top and the visual decoding tree are painted using the Tkinter Canvas Widget.
We also created a German flyer explaining morse code and how to decode morse code using the binary search tree, which is used in the visualization of this application as well.
- Add support for iambic paddles
- Improve automatic speed detection
- Experiment with higher speeds
- Add support for morse code generation
- Add support for recording and playback