Morse encoder and decoder
December 2, 2010 2 Comments
This is an upgrade from my original Morse encoder/trainer.
I have added decode to the list of functions. Now you can try your skill with this program. Just key in (at 13WPM) with the A button on the Phi-1 shield and see Morse code (di and dah) display on the LCD. If you enter a valid sequence, the LCD will display the translated character. So if you key in …. . .-.. .-.. —, then the LCD will display HELLO. If you enter something wrong, just hang on to the key for two seconds or so then the last letter is erased.
The original Morse code player is unchanged, just enter a few words with up and down keys and play it.
I have also added a simple menu so you may select whether to encode or decode. Once you select encode, you can enter a few letters and play them. After they’re played, the program quits to the menu so you can choose decode and immediately practice your skill. I’ve learned about 10 letters and all the numbers now.
My next step is to put an adjustable parameter in the menu so you can choose the speed of the Morse code. I could use another weekend.
Here is a video (the decode, where I keyed in HELLO, took at least 5 trials. I need more practice 🙂
Where to get the Phi-1 shield?
You can purchase it at dipmicro, either just bare PCB, or kit (PCB + all parts). If the kit is not available (they need to be bagged), then scroll down and purchase everying on the list with the correct quantity, you’re set!