ArduMorse - Converts Letters to Morse Code and Conveys It Through Blinks.

About: “Fear is the disease, hustle is the antidote” - Travis Kalanick I’m extroverted, intuitive, follow my heart, prospecting, assertive (that’s what my Myers Briggs profile says, ENFP - A) …… but above all a ma...

So, this is what morse code looks like. In order to 'speak' through morse code, unique combination of dots and dashes are used. We can talk in morse code just like we talk everyday, but for now let's keep it simple and only convert 'letters' of the English alphabet into morse code.


Step 1: Gather the Materials.

All you need is :

  • An Arduino UNO
  • A cable to connect UNO to your PC (Of course! That's obvious.)
  • An LED

That's it !

Step 2: Let's Get Coooooding.....

Grab the code file and open it in your IDE. Hold on! It's easy, let's break it down:

  • Scroll right to the bottom and you will see two functions namely dot() and dash(). True to their names, dot() - conveys a dot in morse code through the blinking of LED, dash() - conveys a dash() in morse code through the blinking of LED.
  • At the top all I have done is - named pin 13 as 'led', declared a variable named 'incoming' to store the data entered through the serial monitor and set pin 13 as output.
  • Serial.available() > 0 : To ensure that we take in data only when there's something entered through the Serial Monitor by us.
  • Then, I have programmed the combination of dot() and dash() for each letter of the English alphabet.

Step 3: Voila!

I tried to be kinda informal. I'm always looking out for improvements in my presentation style. Please make sure to share your suggestions in the comments. If you wanna add a buzzer to it then go for it, all you need to do is just uncommment a few lines of code in the code file I have attached and you will be good to go. Just a small suggestion, make sure that you don't use the buzzers with 'beep-beep' sound instead go for the ones which have a continuous 'beeeeeep' sound.

Happy Tinkering :-)

Arduino Contest 2019

This is an entry in the
Arduino Contest 2019



    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • IoT Challenge

      IoT Challenge
    • Arduino Contest 2019

      Arduino Contest 2019