Morse code
Encoder
By
Mohammad
isfar s
8-b
Abstract:
Morse code converts text into a series od dots and
dashes, each representing a letter or number. To translate
morse into normal text, I decode each symbol sequence
according to the morse code chart, where each
combination of dots and dashes corresponds to a specific
character.
Aim:
to convert the morse code language program which
is in dashes and dots to a specific characters.
Apparatus required:
Arduino uno
Usb cable
Solderless breadboard
Resister
Male-to-male jumpers
jumpers
led
procedure:
Setup: initialize the button as an input and the
led as an output.
Loop: checks if the button is pressed, it reads the
user input from the serial monitor, converts the input
message to Morse code, and then sends the Morse code
via the led.
Char to morse: converts a character to its
corresponding morse code representation.
Send morse: handles the timing for sending morse
code through the led.