Lab 06a - Morse

Lab 06a - Morse - Lab 6a Morse Code Lab n Lab 6a Morse Code...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
BYU CS/ECEn Morse Code Lab 1 Lab 6a - Morse Code Lab n Write an MSP430 assembly program that communicates a message in Morse Code using an LED and a transducer (magnetic speaker). n Write a Watchdog Interrupt Service Routine (ISR) n Configure the watchdog as an interval timer. n Pulse width modulate (PWM) the speaker to create a tone. n Turn the red LED on for DOTs and Dashes. n Toggle the green LED on and off at one second intervals. n Use a .string assembler primitive to store the message. n Assess Dot and Dash codes from an external file. n Use Switch #1 to turn the tones on and off. Lab 6a: Morse Code
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
BYU CS/ECEn Morse Code Lab 2 Lab 6a - Morse Code Lab n The word PARIS is the standard to determine Morse Code speed. n Each dit (dot) is one element, n Each dah (dash) is three elements, n Intra-character spacing is one element, n Inter-character spacing is three elements, n and inter-word spacing is seven elements. n PARIS is exactly 50 elements n If you send PARIS 5 times in a minute (5 WPM) you have sent 250 elements. n 250 elements into 60 seconds per minute = 240 milliseconds per element. n 13 words-per-minute is one element every 92.31 milliseconds.     
Background image of page 2
BYU CS/ECEn Morse Code Lab 3 Duty Cycles Lab 6a: Morse Code Frequency = Pitch Duty Cycle = Volume
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
BYU CS/ECEn Chapter 9 - Interrupts 4 Watchdog PWM .cdecls C,LIST,"msp430x22x4.h" ; include c header WDT_CPS .set 1200000/500 ; WD clocks / second count STACK .set 0x0600 ; stack .bss WDTSecCnt,2 ; WDT second counter .bss buzzON,1
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 9

Lab 06a - Morse - Lab 6a Morse Code Lab n Lab 6a Morse Code...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online