Notifications

Day 10: Restoring the City’s Voice – Morse Code Device

Objective:


  1. Build a Morse code device using a button and an LED.
  2. Learn how Morse code works and how to send signals using dots and dashes.
  3. Understand how to program the Arduino to recognize short and long presses to simulate Morse code.


Components Needed:


  • HERO board
  • Breadboard
  • 2× LED (different color)
  • 1 × Button
  • 1 × 220 ohm Resistor
  • 1 × 10k ohm Resistor
  • Jumper wires (Male to Male)


Wiring Diagram:



Code: