20130602 edit: Nokia 51xx display code posted here: http://forum.arduino.cc/index.php?topic=169826.msg1263354#msg1263354
I am the author of the Magic Morse (PICAXE) project sold by Jameco. Magic Morse is also discussed in various Instructable articles.
The attached code is Arduino and represents my implementation of the Magic Morse decode algorithm within the timing windows defined by raron in his Arduino implementation of his Morse Code encoder-decoder:
The code presented is only a decoder. It is designed to be a minimalist implementation using very inexpensive components: parallel LCD, piezo sounder, two LEDs and current limiting resistors. Pinout for the 328 uC can be found in the Notes.h section in the attached ZIP.
IF you are serious about getting over the normal learning WPM for Morse Code, I recommend you locate and purchase a good Morse key… I use a SpeedX obtained from a Hamfest boneyard sale. Often, nice keys can be found on eBay. There is one source for a $10 “training” key: Willy’s Electronic.
To initially set the “WPM”, simply hold the Morse key “closed” through the 2 second credits window. Select a new value with the Morse key (longggg press of key to write to EEPROM.)
NOTE: I use the LiquidCrystal.h library; BUT I do deviate on the wiring (because it makes wiring a Mini-Pro as a backpack on the rear of a LCD nicer!
LiquidCrystal lcd(7, 6, 2, 3, 4, 5); // BEWARE: does not match Arduino Examples
Have fun. Compiled with 1.0.5 and tested on UNO, bareboard, Mini Pro, and Nano.
NOTE: You must be a forum member AND signed-in to see the attachment (and to download same!)
Magic_Morse_V8a.zip (8.28 KB)