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.

13 comments:

  1. Heck of a first project. Congratulations.

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

    ReplyDelete
  3. Love it, Nat! Man after my own heart. You should check out http://www.krypto.ifastnet.com/superaldis/ and send me a message at stargate.306west140th.com! 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!

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Also, I like your blog! Check out my short tutorial at http://www.robertoram.com/blog/blog6.php
    Tell me what you think!

    ReplyDelete
  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.

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

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

      Delete
    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

      Delete
  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!

    ReplyDelete