garrysblog / Arduino-Morse-Code-Decoder

Arduino sketch to convert morse code into plain text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino-Morse-Code-Decoder

The Morse Code Decoder

Using a microphone module connected to an Arudio nano, recieved pulses of morse code are convereted to plain text and and displayed on a 20x4 LCD module.

Speed adjustment is set by a potentiometer to the sending speed of the morse or alternatively the unit can be set to automatic mode. While auto mode attempts to track the speed, manual mode usually gives the best results.

The set length (in words per minute) and the actual speed of the last receved dot are displayed on the top line of the LCD display. The second and third line display the most recent characters of received morse in plain text. The bottom line displays the the most recent morse displayed as dots and dashes.

There are other morse code to text decoders online. This is unlikely to be the best. It's just the result of a challenge I set myself.

More details of the project are available on my blog https://garrysblog.com/2020/03/22/morse-code-decoder-using-an-arduino-nano/

Author Garry Edmonds

Status

What works

  • Manual mode with clear signal
  • Automatic speed tracking when there is not a large speed variation between transmitted signals, that is when the speed changes by more than 2

What doesn't

  • When the incoming signal is noisy
  • When there is significant differences between the length of characters and gaps. Where there is long gaps between characters.

Useful links used to develop this project

Thanks to everyone that provides information online. For this project the resources were particulalry useful.

Libraries

Morse code specifications

Filters

General Arduino

Morse examples for testing

About

Arduino sketch to convert morse code into plain text

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%