Magic Morse Arduino Trainer - Hackaday

Skip to content

cover_IMG408

Magic Morse is a mathematical algorithm that [Ray Burnette] wrote a few years ago to make it easy to send and receive Morse code. When he first wrote it, he designed it for a PIC, but since then he has re-written it to use as a training program for the Arduino platform.

It can run on the Uno, Nano, Pro Micro, or even home-brew Arduino boards. He’s demonstrating the program with a Nokia 5110 LCD, but has also included code for the typical 2×16 LCD displays. The Magic Morse algorithm is copyrighted, but he has released the Arduino code as open source in an effort to get people using Morse code once again — it is pretty awesome.

So how does it work? The algorithm assigns weights to the “dits” and “dahs” as received — when there is a longer pause, the algorithm creates a pointer which calls the character out of an array stored in the EEPROM. He’s included an example of this in Excel on his page.

Now you have no excuses about learning Morse code! Oh and if you don’t have a fancy telegraph key (the switch), [Ray’s] also published a handy method of making your own Morse code key out of popsicle sticks and magnets.

Post navigation $1 Coin Cell Charger$20 GPS/GLONASS/Beidou Receiver

21 thoughts on “Magic Morse Arduino Trainer

  1. QRZ

    73’s

    Reply
  2. I love the Popsicle stick keyer. Marvelous idea.

    Reply
  3. copyrighted algorithm? how does that work? never heard of that. Code gets copyright, algorithms get patents.

    Reply
    1. If he wrote how the algorithm works, i suppose he owns the copyright on that document. Not that that would have any bearing on who could use the desribed algorithm. But I suspect there is a misunderstanding somewhere (and i will not rule out it is on my part :).

      Reply
      1. Replying to myself. Bad form. punish me if you must.

        The implementation (his code) is released as open source, and it seems the copyright is just on the text documents describing it. So HAD can not post the text without his permission (but that is the same for every written work, so i am not sure why they bother mentioning it)

        Reply
  4. I’ve got a code key, arduino, lcd, and various other parts. What i don’t see is a schematic on his site.

    Reply
    1. In the first link you find a link to a file named notes_and_credits.console it seems to describe how to connect it all up (i didnt thorougly read it to see if it gives the full picture though) a “direct link” to the file: https://halckemy.s3.amazonaws.com/uploads/document/file/1475/notes_and_credits.console

      Reply
  5. My keyer is iambic, fully open source, and made with GNU-Linux / gEDA!!

    http://vk5hse.blogspot.com.au/2013/05/the-vk5hse-i-kaktusss-iambic-keyer.html

    Reply
    1. My questions for hackaday:

      why aren’t we reading about this project right now instead?

      why is there a “hackaday” article about a project where the actual “hack” is proprietary information? “here, kiddies, look but don’t touch”

      Reply
      1. The code’s open-source, according to mh. The describing documents are copyrighted but you only need to understand them, not re-publish them. If you’ve got the code you can do what you like. No problem.

        I think the “copyright” on the code is some mistake somewhere. Code itself is copyrighted, software mechanisms and methods themselves are patentable. Horribly, wrongly, patentable.

        Reply
        1. Don’t take my word as an authority on the issue. I was musing about in the hope someone else could clear it up :-) (Attempting to get a “someone is wrong on the internet!” reaction, so to speak :)

          Reply
      2. The reason this article is here another another on is that this was the one someone sent in to HAD.

        I doubt there is anything they can post where someone somewhere dont have a “better” write-up. At least you got this 2nd choice in the comments of this. so its effectively a two-for-one deal ;-)

        Reply
  6. I already know Morse code. Known it for some time now, probably a little rusty because I haven’t used it regularly in a few years. But I still hold my amateur extra license.

    Reply
    1. I know the argument is “in an emergency you could always key CW”, but how often does that happen? Are many rescues effected nowadays of people who couldn’t get voice or data to work, but used Morse and were found? Just seems bizarre Morse gets any use, after 150 years, for anything other than a hobby. And as a hobby it’s a pretty wierd one for nowadays. To me it’s like bit-banging RS-232 with a pushbutton.

      Reply
      1. Well apart from emergency use, its fun. Maybe you have to try it to understand and read about the underlying technological advances of CW. QRP and homebrew gives a extra dimension to the hobby. Check out this website: http://fhs-onsulting.com/aa1tj/radio.html -You will get it.

        And at night when everybody sleeps, you dont have to shout in a mic or staring at screen using a digitalmode ;) Headphone on and a cold beer = quality time

        Reply
      2. LOL on the RS-232 – surprisingly that latter is still used on some things.

        Part of the CW thing is the transmitter can be as simple as a spark gap. Granted, a dirty signal but still – easier to build a CW transceiver than an SSB transceiver.

        Reply
      3. I like when someone tells you “this you should learn because it would be great if X happens”. Taking the emergency as an example, it might be knowing first-aid is better? it might be having a good physical condition is better (for helping out others or getting out of a collapsed building). The best thing you can have in an emergency is people with a lot of different usefull skills. If everyone knows morse it becomes rather pointless for me to learn it too (unless im interrested anyways, i fully accept people doing stuff for their own interrest) – And just how much skill does it take to key out “… — …” well enough that someone might pick it up anyways? (this is not meant as an insult to those who have morse under their belt or as an interrest – just to those who keep pushing their own opinions of what is important or interresting down on others)

        Reply
      4. It’s not “bizarre”, it’s in wide use, not a niche thing at all even today. Spend some time listening to Morse transmissions, especially during a contest, and you’ll get a sense of how fast and furious modern-day Morse is. And people are not beating out Morse with a straight key, most use paddle keys and electronic keyers that are faster and easier to use than the antiques you see in these Hackaday articles.

        Reply
  7. shameless plug: this might come in handy if i ever want to use my keyer made from an iphone3gs: http://www.dennisdebel.nl/test/?p=1284

    Reply
  8. Shameless plug too. I just made a Morse Keyboard with Arduino, and I wanted it to be so simple, that anyone can get it working (so geared towards novices). If you’re looking to make one, check it out:

    integratedmosfet.blogspot.com

    Reply
  9. While we’re at it, may I shamelessly plug my own Morse project? It’s a TI MSP430-based Morse code transmission trainer I built for an contest; fancy Straight Key included, though not as fancy as the one shown above. Here’s the video, sorry for my English:

    https://www.youtube.com/watch?v=0og_ZvkAL6A

    Reply

Leave a ReplyCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search Search for: Never miss a hack Follow on facebook Follow on twitter Follow on youtube Follow on rss Contact us Subscribe If you missed it
  • Why Can’t I 3D Print With Rubber?

    42 Comments
  • How Wind Nearly Took Down Boulder NTP

    26 Comments
  • Surviving The RAM Apocalypse With Software Optimizations

    94 Comments
  • Catching Those Old Busses

    29 Comments
  • Thorium-Metal Alloys And Radioactive Jet Engines

    36 Comments
More from this category Our Columns
  • Linux Fu: Compose Yourself!

    18 Comments
  • Know Audio: Microphone Basics

    27 Comments
  • Keebin’ With Kristina: The One With The Keyboard-Mouse, Again

    7 Comments
  • Hackaday Podcast: 2025 Holiday Placeholder Edition

    3 Comments
  • Keebin’ With Kristina: The One With The Ultimate Portable Split

    8 Comments
More from this category Search Search for: Never miss a hack Follow on facebook Follow on twitter Follow on youtube Follow on rss Contact us Subscribe If you missed it
  • Why Can’t I 3D Print With Rubber?

    42 Comments
  • How Wind Nearly Took Down Boulder NTP

    26 Comments
  • Surviving The RAM Apocalypse With Software Optimizations

    94 Comments
  • Catching Those Old Busses

    29 Comments
  • Thorium-Metal Alloys And Radioactive Jet Engines

    36 Comments
More from this category CategoriesCategories Select Category 3d Printer hacks Android Hacks Arduino Hacks ARM Art Artificial Intelligence Ask Hackaday ATtiny Hacks Battery Hacks Beer Hacks Biography blackberry hacks Business car hacks Cellphone Hacks chemistry hacks classic hacks clock hacks cnc hacks computer hacks cons contests cooking hacks Crowd Funding Curated Current Events Cyberdecks digital audio hacks digital cameras hacks downloads hacks drone hacks Engine Hacks Engineering Fail of the Week Featured Fiction firefox hacks FPGA g1 hacks Games google hacks gps hacks green hacks Hackaday Columns Hackaday links Hackaday Store Hackerspaces HackIt handhelds hacks hardware High Voltage History Holiday Hacks home entertainment hacks home hacks how-to Interest internet hacks Interviews iphone hacks ipod hacks Kindle hacks Kinect hacks laptops hacks Laser Hacks LED Hacks Lifehacks Linux Hacks lockpicking hacks Mac Hacks Machine Learning Major Tom Medical Hacks Microcontrollers Misc Hacks Multitouch Hacks Musical Hacks Netbook Hacks Network Hacks News Nintendo DS Hacks Nintendo Game Boy Hacks Nintendo Hacks Nintendo Wii Hacks Nook Hacks Original Art Palm Pre Hacks Parts PCB Hacks Peripherals Hacks Phone Hacks Playstation Hacks Podcasts Portable Audio Hacks Portable Video Hacks PSP Hacks Radio Hacks Rants Raspberry Pi Repair Hacks Retrocomputing Retrotechtacular Reverse Engineering Reviews Robots Hacks Roundup Science Security Hacks Skills Slider Software Development Software Hacks Solar Hacks Space Tablet Hacks Teardown Tech Hacks The Hackaday Prize Tool Hacks Toy Hacks Transportation Hacks Uncategorized Video Hacks Virtual Reality Weapons Hacks Wearable Hacks Weekly Roundup Wireless Hacks Xbox Hacks Our Columns
  • Linux Fu: Compose Yourself!

    18 Comments
  • Know Audio: Microphone Basics

    27 Comments
  • Keebin’ With Kristina: The One With The Keyboard-Mouse, Again

    7 Comments
  • Hackaday Podcast: 2025 Holiday Placeholder Edition

    3 Comments
  • Keebin’ With Kristina: The One With The Ultimate Portable Split

    8 Comments
More from this category Recent comments
  • Yonatan Avhar on Terminal-Based Web Browsing With Modern Conveniences
  • Jeff Wright on Sheet Metal Forming With 3D Printed Dies
  • Joseph Chiu on Xcc700: Self-Hosted C Compiler For The ESP32/Xtensa
  • Stephen Walters on Implementing Commodore’s IEC Bus Protocol On A KIM-1 Single Board Computer
  • Benjamin Goldberg on Why Can’t I 3D Print With Rubber?
  • spiritplumber on The Many-Sprites Interpretation Of Amiga Mechanics
  • Jozerworx on Build Yourself A Graphing Weather Display
  • Jozerworx on Build Yourself A Graphing Weather Display
  • Jeremy on Putting A Cheapo 1800W DC-DC Boost Converter To The Test
  • effgee on Create Aerated Concrete Using Xanthan Gum And Dishwashing Liquid
Loading Comments... Write a Comment... Email (Required) Name (Required) Website