Wednesday, January 9, 2013

Arduino and Morse Code

I got an Arduino to tinker with over winter break, and one of the ideas I had was to write a decoder for Morse Code (video below).

I ended up with a hacked-together bit of code that can decode Morse in real-time, and display in on an LCD.

Parts list:

I followed these instructions for wiring up the LCD (though I did change which pins I used).

My code is available via Bitbucket.

I even (temporarily) got my hands on a vintage telegraph key, and got it wired up!

My cousin trying it out!

Arduino decoding Morse Code from Nat Mote on Vimeo.


  1. Heck of a first project. Congratulations.

  2. Thanks! I've just updated with pictures, and will update again once I have it working with the LCD.

  3. Love it, Nat! Man after my own heart. You should check out and send me a message at! One of my projects is to mount an LED strobe on my roof and broadcasting a message to see if anyone in NYC knows morse!

  4. This comment has been removed by the author.

  5. Also, I like your blog! Check out my short tutorial at
    Tell me what you think!

  6. Hello Nat,

    Nice project!
    I am currently trying to do it too, but I'm having major problems with the code. I keep getting an error for one reason or another.

  7. Are you using my code? If so, I'm surprised it's not working for you.

    1. Yes I am. I have been trying to use it for the past couple of days.

    2. if you'd like, you can shoot me an email at nat at natmote dot net and I'll see if I can help you out

  8. Hi Nat! I just wanna know which one of the 3 codes on bit bucket I gotta use to upload the Arduino because no one of them are working when I try to compile them in the IDE... Thanks!