Professional Documents
Culture Documents
2. Problem Introduction
2.1. Introduction about Morse code
Morse code is a method used in telecommunication to encode text characters as standardized sequences
of two different signal durations, called dots and dashes, or dits and dahs. Morse code is named after
Samuel Morse, one of the inventors of the telegraph. Morse code is a character-encoding scheme that
allows operators to send messages using a series of electrical pulses represented as short or long pulses,
dots, and dashes. [1][2]
However, ATTENTION, in this assessment, students are not coding by Morse code, for sure, they will code
in C language.
2.2. Using Morse code
International Morse code is composed of five elements:[3]
• short mark, dot or dit ( ▄ ): "dit duration" is one time unit long
• long mark, dash or dah ( ▄▄▄ ): three time units long
• inter-element gap between the dits and dahs within a character: one dot duration or one unit
long
• short gap (between letters): three time units long
• medium gap (between words): seven time units long
International Morse code encodes the 26 basic Latin letters a through z, one accented Latin letter (é), the
Arabic numerals, and a small set of punctuation and procedural signals (prosigns). There is no distinction
between upper and lower case letters. Those Morse-code 26 letters and 10 numerals are shown in Figure
1 below.
Once people would like to send a Morse-code message, they will need to make a START signal (START
prosign), then the message that they would like to transmit, and then the STOP signal (STOP prosign).
2. Software:
Use Arduino IDE with C language to program the Morse-code SOS flasher software. Your software must
control the hardware to show the signal as required:
a) For each message, need to make a START signal (START prosign), then the message that they would like
to transmit, and then the STOP signal (STOP prosign).
b) When you upload the code onto your Arduino, there will be nothing happened.
c) When button are pressed two times, the system will display the message including the first names of
each group member, repeatedly.
d) The dih and dah signal must be displayed (through the blinking LED) with appropriate time. You will
need to mention this in your video with some explanations why you chose that value as your time ON
and time OFF (or we often call as “delay” in class). For example: if you choose, dih signal for 1 second
ON and 1 SECOND OFF, then your dah signal must be 3 seconds ON and 1 second OFF.
e) All gaps between letters and between words need to be obeyed to section 2.2.
f) The message SOS (including the START prosign, SOS message, and STOP prosign) display on the LED only
when you press the button four times.
g) If you press the button six times, the system should stop sending Morse code, and return to step (b)
above, and repeat the behavior like in step (c) and (f).
References
Morse code By the end of this lab, you will be able to:
[1] Beechey, F.S. (1876). Electro-Telegraphy. London, UK: E. & F.N. Spon. p. 71 – via Archive.org.
[2] Camm, F.J. (1941). Radio Engineers' Pocket Book (2nd ed.). Chemical Publishing Co. p. 72 – via
Archive.org.
[3] International Morse Code Recommendation. Radiocommunication Sector. itu.int (Report). ITU
Recommendation. International Telecommunication Union. October 2009. ITU-R M.1677-1. Archived from
the original on 6 November 2012. Retrieved 23 December 2011.