Morse Code Project - Magic Morse

Discussion in 'The Projects Forum' started by RayB, Oct 1, 2011.

  1. RayB

    Thread Starter New Member

    Apr 3, 2011
    If you want to have a nice, long weekend project for the coming winter, Magic Morse may get you all keyed-up (no pun) for some short-day fun.

    Magic Morse Decoder is a diverse project with elements of learning something new, mathematical algorithms, PICAXE implementation, PBASIC'ish coding, and lots of opportunity to be original in the construction and presentation of the overall project. Here is a YouTube link that covers the basics:

    The source code for the very inexpensive PICAXE 08M2 is available here (free registration is required before download):

    There is a PDF in the Instructables link above that can be downloaded that shows the 1 IC decoder schematic with minimal external requirements. A previously published 555 oscillator circuit is used so as not to reinvent the keyer:

    What is unique about this circuit is that almost every Morse Code PIC project relies on an external tone-decoder IC which may cost more than the PIC; however, Magic Morse is all software. The 08M2 code runs at 32MHz and the decoding hits a ceiling of about 10WPM (still not bad for a newbee that is just learning.) The code can be ported to a 64MHz PICAXE 20X2 (or a pre-programmed chip can be purchased inexpensively) if you are not into software porting. At the 64MHz processor clock, the 20X2 uC can decode straight-code up to or slightly above 15WPM or can exceed 25WPM if Farnsworth timing is included between characters.
    Note: Straight Morse Code uses a 3-dit timing interval (quiet period - no tone) between individual elements of a word and a 3-dit to 5-dit timing between words. Farnsworth encoding extends the between element times while maintaining an approximate 15WPM timing within each element of a character. This additional time allows the Magic Morse software time to output the decoded character to the LCD or PC at 9600 BAUD and "get back into the loop" for decoding the next character.
    As shown in the YouTube video the circuit can also decode ARRL audio files using a PC. Although I have not personally tried it, using a PC and a Software Defined Radio, SDR program the Magic Morse implementation should be able to decode real-time Morse Code.

    Enjoy the Winter...

    - Ray
  2. bertus


    Apr 5, 2008

    Why do you not post every thing that is needed to this forum.
    Many of the members WILL not register to other forums if they do not need to.

  3. flat5

    Active Member

    Nov 13, 2008
    Those decoding speed limits (15 wpm) are too slow to be practical on the ham bands.
    With a little brush up I can receive at that speed.

    OTOH, my netbook can use it's mic and free software to receive morse up to 60 wpm.
  4. MMcLaren

    Well-Known Member

    Feb 14, 2010
    I have a free program from DXSoft called CWGet that does that too (using sound card)...