Telegraphs are one of the first long-distance communication technologies, first developed in the 1800's. A telegraph has a lever button that a user can push to send an electrical signal to another telegraph (the two telegrphs are physically connectced by a wire) and a clicker than converts a recieved signal into a short or long click sound. These signals represent either a dot (a short click) or a dash (a long click). To convey information through these dots and dashs Morse code was created. Morse code is a system for categorizing sequences of dots and dashes to represent alphanumeric character, a->z and 0->9. For example, 'a' would be represented in morse code as '*-" (dot dash).
A music scale typically includes 8 notes, where each note is denoted as a, b, c, d, e, f, or g (there are also sharp and flat notes which are notes between notes), with the first note repeated at the end but with a higher pitch. Combining notes and scales in different orders is the backbone for the vast majority of modern music.
Telegraphs and instruments are alike as to use them a user must memorize Morse code or music scales to operate each device efficiently. To help with this memorization I have developed Morse Keyboard. Morse Keyboard is an interactive device to help teach introductory knowledge for Morse code and music scales. Specifically, Morse Keyboard helps users learn the C Major scale (this is one of the most common scales in music, it consists of the notes cdefgabc, in that order), and each notes Morse code representation.
Morse Keyboard is operated with two buttons, the dot button and the dash button. A arduino will try to convert a user's input to a character in Morse code. If the input matches a note character, a to g and k, then an LED will light to indicate the entered charater and the respective note will play.
k is considered a valid note as Morse code does not differeniate between lower-case and upper-case letter. So, to be able to play the c note at to different pitches a new character, k, was needed.
The components for this project are
- an Arduino
- 2 push buttons
- 8 LEDs
- a shift register
- Piezo speaker
- 8 560-ohm resistors
- 2 10k-ohm resistors
- wires
The Arduino uses GPIO pins 2 and 3 for the push button input. Pins 8, 9, and 10 are used for the shift registered data, latch, and clock pins respectively. Finally, pin 11 on the Arduino is used for the Piezo speaker.
As mentioned, the scale of the board is the C Major scale, notes cdefgabk (again, k represents c but at a higher pitch). To play a note the user must enter the correct sequence of dots and dashes, and on the last dot or dash the user must continue to press the button and press the other button at the same time. This will inform the Arduino that a sewuence has been entered and the user would like that note to be played.
The following sources were used for this project
- https://oomlout.com/oom.php/products/ardx/circ-05.html
- https://oomlout.com/oom.php/products/ardx/circ-06.html
- https://oomlout.com/oom.php/products/ardx/circ-07.html
The following are sources for the images used in the video
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFile%3AArduino_uno.png&psig=AOvVaw0PZlfEGtiy77SrNcxMCoGC&ust=1706290749800000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCOj15MOK-YMDFQAAAAAdAAAAABAD
- https://www.google.com/url?sa=i&url=https%3A%2F%2Ficonduck.com%2Ficons%2F190087%2Fpush-button&psig=AOvVaw0NDK2PpctkoeyrdtLkB0l1&ust=1706290842062000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCJDvze-K-YMDFQAAAAAdAAAAABAH
- https://www.google.com/url?sa=i&url=https%3A%2F%2Felectronics.stackexchange.com%2Fquestions%2F270037%2Fwhat-kind-of-led-do-i-need&psig=AOvVaw16GlEKV0lOEnao2o7bf12k&ust=1706290955114000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCLjo7qyN-YMDFQAAAAAdAAAAABAD
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fpngtree.com%2Fso%2Fintegrated-circuit&psig=AOvVaw1Uv2T272dtnSoDGp4HXDG0&ust=1706291588966000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCKjQ5NON-YMDFQAAAAAdAAAAABAI
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.cleanpng.com%2Fpng-buzzer-physical-computing-piezoelectricity-breadbo-1024099%2F&psig=AOvVaw3VIiTVzsnHhtT7rM2OuAlE&ust=1706291645582000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCPj2te6N-YMDFQAAAAAdAAAAABAD
- https://www.google.com/url?sa=i&url=https%3A%2F%2Ficonspng.com%2Fimage%2F93147%2F47k-ohm-resistor&psig=AOvVaw0sCGg3mruYpg9VmPJqWsRf&ust=1706291673365000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCKCN-4aO-YMDFQAAAAAdAAAAABAI
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.stickpng.com%2Fimg%2Fvintage-images%2Ftelegraph-transmitter&psig=AOvVaw04yoXNIdNubBB5_9ghlAjP&ust=1706293476827000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCOiLm9eU-YMDFQAAAAAdAAAAABAo
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.m.wikipedia.org%2Fwiki%2FFile%3AInternational_Morse_Code_-_letters.svg&psig=AOvVaw0DHo8p7RuAUNvDQhiHW4Vg&ust=1706291932828000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCOji1PaO-YMDFQAAAAAdAAAAABAW
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.biography.com%2Finventors%2Fsamuel-morse&psig=AOvVaw1UaTXxAtl2NCPaTvl0YX0P&ust=1706291832618000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCIiB09iP-YMDFQAAAAAdAAAAABAP
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FAlfred_Vail&psig=AOvVaw3dxoth3zbweOV-i-iaBt5f&ust=1706291855845000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCIi7nNaP-YMDFQAAAAAdAAAAABAD
- https://www.google.com/url?sa=i&url=https%3A%2F%2Fclipartpng.com%2F%3F888%2Celectric-guitar-png-clipart&psig=AOvVaw1wlts0VIHJc2GiIbExlYhM&ust=1706293654635000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCKjWj62V-YMDFQAAAAAdAAAAABAD







