Morse Code Sender

2,023

18

1

Introduction: Morse Code Sender

This is a device that sends morse code signals giving a short beep for a dot and a long beep for a dash, just like the way it was in the old days. I have designed it to function more like an encoding and decoding game for those who want to practice morse code.

This is particularly useful for you if you wan to hash our your morse code sending and decoding abilities. It could also be used in a game of wits and speed, who's faster, you or texting?!

Step 1: BoM

  • Arduino
  • Push Button Switches
  • Breadboard
  • Buzzer
  • Jumper Wires

Step 2: Wiring

Follow the table below for the connections needed for the morse code sender circuitry.

I/OPin #Arduino Pin #
Buzzer*19
Buzzer*2GND**
Switch - Blue 16
Switch - Blue2GND**
Switch - Green VCC 7
Switch - GreenGNDGND**

* The order is arbitrary.

* There are multiple ground pins on the Arduino board

Step 3: Code

const int buzz = 9;
const int switch1 = 6;
const int switch2 = 7;
void setup() {
  pinMode (buzz, OUTPUT);
  pinMode (switch1, INPUT);
  pinMode (switch2, INPUT);
}
void loop() {
  if (switch1 == LOW){
    tone(buzz, 1000, 50);
    delay (50);
    noTone(buzz);
  } else if (switch2 == LOW){
    tone (buzz, 1000, 100);
    delay(100);
    noTone(buzz);
  } 
}

Step 4: Enjoy!

Tap away! Try to outspend your text-addicted buddy with your old fashioned way of communication.

I actually saw a contest a number of years ago (when messenger wasn't even a thing) on who's faster at messaging, a morse code expert vs an expert texter teenager (with those old flippy phones and 9 buttons for texting....yeah, no touch screen back in the day) and guess who won? Morse Code!!!

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017

Be the First to Share

    Recommendations

    • New Year, New Skill Student Design Challenge

      New Year, New Skill Student Design Challenge
    • Raspberry Pi Contest

      Raspberry Pi Contest
    • Fix It Speed Challenge

      Fix It Speed Challenge

    Comments

    0
    SergioMacías
    SergioMacías

    1 year ago

    Good project to practice morse, it would be a nice addition to have an LED to blink and a switch to change to silent mode, I'm not very good at Arduino but ill try to make one, thanks for the basics. And if you know the code for this I would really appreciate it, thanks.