Sunday, April 6, 2014

TI Launchpad Morse Code Generator

In electric circuit theory lab, we were assigned one of several projects using a TI MSP430 microcontroller. I chose to make a simple Morse code generator. I programmed the microcontroller code using Energia, which allows you to program the TI as if it were an Arduino.

This simplifies programming immensely, with functions for outputting square waves and blinking the onboard LED. In hindsight, if I were to re-do this project, I would use the millis()function instead of delay() to set the timing.

Components

Morse code generator schematic
  1. TI Launchpad w/MSP430G2
  2. Piezo buzzer











Show Code