Introduction: Morse Code Sender

Picture of 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

Picture of BoM
  • Arduino
  • Push Button Switches
  • Breadboard
  • Buzzer
  • Jumper Wires

Step 2: Wiring

Picture of 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

Picture of 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!

Picture of 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!!!

Comments

About This Instructable

318views

10favorites

License:

Bio: Aerospace Engineer working in Software Development with a passion for Hardware.
More by TechMartian:Flying Captain America's Shield - RC PlaneWide Angle ShotsLED Ping Pong With Shift Register
Add instructable to: