Dark Matters
  • About Me
  • Publications
  • Educational Resources
  • Blog
  • Other Interests

Arduino Report #2: Project 3--Morse Code Translator

1/12/2013

1 Comment

 
Additional Parts:
  1. Orange LED
  2. 220 Ohm Resistor

Time to Complete:  15 minutes
Picture
The Morse Code Translator is a continuation of the S.O.S. Flasher project I wrote about last week. As the title implies, the goal is to convert a text string into the appropriate Mosre code LED flashes. I have added a buzzer (6 VDC) I found at Radio Shack to the circuit as well to give it an audible signal as well. A photo of this simple setup is to the right. The buzzer is put in parallel with the resistor-LED combo. I tested the buzzer with the S.O.S. project that was still loaded into the board from last week--the Arduino keeps the previous program until a new one is uploaded.). It is plenty obnoxious, perfect for a Morse Code signal.

Since the circuitry is no different than the last project, the goal of this one is to build on the concepts of strings and arrays introduced in the last project. This project also introduces the concept of communicating between the computer and the Arduino via the USB interface in ways other than uploading programs. I will be sending messages from my computer to the Arduino to be translated into the appropriate Morse code flashes according to the program stores onboard. This is done via the serial monitor in the Arduino program. 


The program is written by created separate arrays for the letters and for the numerals. The letter array looks like
char* letters[ ]={ ".--" , "-..." , etc. },
with the numerals having a similar structure. Then, the dots and dashes have to be defined in terms of lengths of time to turn on the LED. Spaces between letters and words have to be defined as well. For added fun, add the spaces for sentences and the other special characters that can be used with Morse Code.  

Below, I show a video of the working final project for the typical programing example. The next project is the High-Brightness Morse Code Translator for those foggy nights, when you're out at sea.

1 Comment
http://vivitranslation.com link
5/23/2014 04:21:57 pm

Depressingly so, there was also much in the country due to factories built in rural areas to enrich the farmer's economic status.

Reply



Leave a Reply.

    Archives

    July 2015
    February 2014
    November 2013
    October 2013
    September 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013

    Categories

    All
    Arduino
    Chess
    Lightsaber
    Math
    Probability
    Projects
    Python
    Raspberry Pi
    Robotics
    Statistics

    The Great Arduino Project

    RSS Feed

Powered by Create your own unique website with customizable templates.