loading

What it does:

It translates your morse code into English words!

With this Morse Translator you can improve your morsing skills. Imagen,if the zombie apocalypse will happen, this will be the only way to communicate. Start practicing now!!

... or just have fun morsing ;)

About the morse code:

Characters in morse code consist of a series of dots (short beeps) and dashes (long beeps).
The duration of a dot is the basic unit of time.

To begin with, the variable is set to a value of 1000 ms, which is good if you're just starting to learn morse code. The following rules hold: The duration of a dash is three times the duration of a dot (default 1000ms) The gap between dashes and dots within a character is the duration of a dot.The gap between characters is three times the duration of a dot (i.e., the duration of a dash)The gap between words is seven times the duration of a dot.

Components

  • 1x Arduino Uno
  • 1x Breadboard
  • 1x Potentiometer 10k Ω
  • 1x Button
  • 1x Speaker (Piezo Buzzer)
  • 1x LCD (Hitachi HD44780 compatible)
  • 1x Resistor 220 Ω
  • M-M / M-F Jumper cables

Step 1: Connecting Parts

Connect the parts according to the fritzing sketch.

Step 2: Code and Usage

Upload the source code to your Arduino.

You can change the duration of a dot in the source code by changing the value of the variable dotDuration.

In order to make it easier for beginners, the morse code translator tolerates certain deviations of the actual duration of dots, dashes and gaps.

The tolerance can be modifies by changing the value of the variable tolerance in the source code (the default is 500 ms).

- Happy morsing!

<p>Hello, I can't seem to make the LCD display the characters. Could you help me?? </p>
<p>Thaaaank you so much for all the votes :)</p><p>&lt;3</p>
<p>Hi, i'm getting nothing but E, any ideas?</p>
Maybe, try to press the button faster.<br><br>Have look at the morse code table.<br><br>Hope it works for you.<br>Have fun!<br><br>
<p>there is an error in code </p><p>what is that mean </p><p>Morse:13: error: expected unqualified-id before '\x6574'</p><p>Morse.ino: In function 'char readCharacter()':</p><p>Morse:127: error: 'alphabet' was not declared in this scope</p><p>Morse:132: error: 'alphabet' was not declared in this scope</p><p>help please :)</p>
<p>Hellooo,</p><p>Uff that's a good question.</p><p>Which platform did you use?<br>Have you perform any changes in the code?<br>Have you used the Arduino IDE?</p><p>Have you opened the file in Notepad and changed the encoding?<br><br>I just tested the code without any issues.<br>I use: Arduino IDE + Arduino Uno</p><p>Maybe download the file again, and open it directly in the Arduino IDE.</p><p>Let me know if that worked out :)<br></p>
<p>Hello and thank you for the assembly.</p><div><p>Question: I have an I2C LCD display<br>Four pins, how to plug<br>And what changes in the code?</p><p>Happy New Year 2017</p></div>
<p>Hi rexty37,</p><p>thanks :)</p><p>How to plug the display depends on which display do you have :)</p><p>What you have to do anyway:</p><p>Include the library of your LCD display to the code and replace &quot;LiquidCrystal lcd(12, 11, 5, 4, 3, 2);&quot; in the code</p><p>Hope it worked :)<br><br>Best regards and happy new Year 2k17</p><p>Fred</p>
Cool. Definitely making this as i'm really interested in Morse code. Well explained and easy instructable. Voted :)
<p>That's really fun! :)</p>

About This Instructable

2,815views

67favorites

License:

More by Fred_RK:The Morse Translator with Arduino 
Add instructable to: