Introduction: Learning Morse!!

Picture of Learning Morse!!

Hi!! I made this instructable for those persons who want to learn Morse code. I thought that only write and store code in our minds was boring, and I decided to make this learning more interactive and fun using an arduino board. Have Fun :D!!!

Step 1: What Is Morse Code?

Picture of What Is Morse Code?

Morse code has been in use for more than 160 years—longer than any other electrical coding system, and provided an essential means of communication. Some people have even called it the Victorian Internet because it enabled world-wide communications in a way never before possible. Morse code is a method of transmitting text information as a series of on-off tones, lights, or clicks that can be directly understood by a skilled listener or observer without special equipment.

Each letter and numeral is represented by a unique sequence of dots and dashes. The duration of a dash is three times the duration of a dot. Each dot or dash is followed by a short silence, equal to the dot duration. The letters of a word are separated by a space equal to three dots (one dash), and the words are separated by a space equal to seven dots.

What was the importance of the code Morse?

Before the invention of Morse Code and the telegraph, messages were still handwritten and carried by horseback. Morse Code changed the way we communicated. In the time of its invention, it was the fastest long distance form of communication.

Morse Code allowed for ships at sea to communicate over long distances using large lights. Morse Code was especially pivotal during the second World War because it greatly improved the speed of communication. Naval war ships were able to communicate with their bases and provide critical information to each other. War planes also used Morse Code to detail locations for enemey ships, bases, and troops and relay them back to headquarters.

Is Morse code still used today?

Morse Code is still widely recognized, even if it is not as widely used as it once was. Morse code is still popular among amateur radio enthusiasts, although proficiency in Morse Code is no longer a requirement to obtain your amateur radio license.
Morse Code is most prevalent in Aviation and Aeronautical fields since radio navigational aids such as VOR's and NDB's still identify in Morse Code. The US Navy and Coast Guard still use signal lamps to communicate via Morse Code. Morse Code has also been used as an alternative form of communication for people with disabilities or whom have their abilities to communicate imparied by stroke, heart attack, or paralysis. There have been several cases where individuals have been able to use their eyelids to communicate in Morse Code by using a series of long and quick blinks to represent that dots and dashes.

The SOS is the most easy example that we can find, everybody (or most people), know the famous "Save Our Souls" message. It has served a lot of people.

Step 2: Materials

Picture of Materials
  • Arduino Board
  • 1 breadboard
  • Some jumpers wires
  • LCD with I2C
  • 1 resistance of 220Ω
  • 1 resistance of 100Ω
  • 1 buzzer
  • 1 blue LED

Step 3: Making the Circuit

Picture of Making the Circuit
  1. Connect the VCC and GND of your arduino board to the respective lines of alimentation in your breadboard
  2. Put a resistance of 100 Ω in your breadboard,then attach a wire to the pin 8 of your arduino board and connect it to the resistance.
  3. Put the positive pin of the buuzer in the negative node of your resistor (by kirchhoff law, the negative node is where there is a negative voltaje drop), and then connect the negative pin of the buzzer to GND.
  4. Connect in parallel ,respect to buzzer, the blue LED and add to this a pull up resistance of 220 Ω, then attach the negative pin of the led to GND.
  5. Finally, connect the LCD to the respect pins of you arduino board, I mean: VCC to VCC, GND to GND, SDA to SDA, and SCL to SCL.
  6. Good work, we have finished the circuit!! Now, we need to write the code =D

Step 4: Writing the Code

Picture of Writing the Code

You can download the code here:

Step 5: Does It Work??

Now, we have to compile and chargue the program in our arduino. The operation is simple, we have to send a message through the Serial Monitor, and then the LED and the buzzer must flash and sound in the respective morse code respect the message sent. Like the video in the top.

If you could make it, CONGRATULATIONS!!! Now you can learn the Morse Code by an interactive way =D


kamingto (author)2016-04-13

Is it can connect the morse key to arduino input pin???

JuanToño (author)kamingto2016-04-14

Hmm Do you mean connect the output of the Arduino (Morse signals), to an arduino pin? In that case, sure, that is possible!, only attach the output of the morse key to an arduino input. But If you are using only one arduino board, you can change the code to have more than one outputs with the morse key, even you can manipulate the code to have the morse key in one output pin, and in other pin have the morse key plus your operations/changes/algorithms and generate a new pulse

kamingto (author)JuanToño2016-04-15

Thank you for your information.
I would like to connect the button look like the morse key to arduino pin.
In your program, it is used the serial print to read the signal. But I have no idea how to do in your program to connected the button key(morse key).
Could you give me a trips.
Thank you.

JuanToño (author)kamingto2016-04-17

Hi, Sure!, I'm using the Serial monitor to "translate" almost any word to morse automatically. If you want to make a traditional morse code machine (input each letter using a button to create dots and dashes), you can use one push button and a buzzer without using an arduino or even code! Something like the image in the link below, only change the LED by a Buzzer :)

kamingto (author)JuanToño2016-04-17

Thank you very much for your help.
I will try it.

JuanToño (author)kamingto2016-04-18

;) Any other doubt, you can ask me


bernpb (author)2015-05-01

There is an error in coding..hw to solve it?

JuanToño (author)bernpb2016-04-17

Hi, Sure!, I'm using the Serial monitor to "translate" almost any word to morse automatically. If you want to make a traditional morse code machine (input each letter using a button to create dots and dashes), you can use one push button and a buzzer without using an arduino or even code! Something like the image in the link below, only change the LED by a Buzzer :)

JuanToño (author)bernpb2015-05-01

Hi! I have compiled the code again and the arduino IDE does not mark an error. Check if you copied the same code, or check if the correct arduino board is selected. Some other cause, could be the arduino IDE version.

bernpb (author)JuanToño2015-05-03

oke bro..tq.:)

JuanToño (author)bernpb2015-05-03

Sure, I download the library from here:

Download all the archives and save them in a file "LiquidCrystal_I2C", and put this file into "libraries" in your arduino files.

bernpb (author)JuanToño2015-05-03

So how to install I2CLCD in library? cn u gv the link to download yr arduino version?thankz

bernpb (author)JuanToño2015-05-01

Arduino: 1.6.3 (Windows 8), Board: "Arduino Uno"

sketch_may02b.ino:2:17: fatal error: LCD.h: No such file or directory

compilation terminated.

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

This is an error.

JuanToño (author)bernpb2015-05-02

I already know what is happening, you dont have installed the I2CLCD library, in the instructable i used a LCD with I2C comunication, if you are using a lcd with I2C, as I, you have to install the library.

bernpb (author)JuanToño2015-05-01

ok thankz bro..i try it u send again that code.thanks.:)

juanchi50 (author)2014-10-26

A really nice work dude!

ibenkos (author)2014-10-18

Smart idea! Thanks for shearig :)

MsSweetSatisfaction (author)2014-10-11

Very neat idea! Definitely an awesome way to learn something like morse code. Thanks for sharing!

paulindallas (author)2014-10-11

Nice job, Juan

About This Instructable




More by JuanToño:Make and Share Compiled Files of Arduino Sketches!Learning Morse!!Semaphore for beginners
Add instructable to: