Final Project Report

Final Project Report - ECE 3551 Microcomputer Systems 1...

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

View Full Document Right Arrow Icon
ECE 3551 Microcomputer Systems 1 Final Project: The Inexpensive Equalizer Brandon Cody Date submitted: 5-2-09
Background image of page 1

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

View Full DocumentRight Arrow Icon
Purpose The purpose of this project is to create a program which can be used to apply any type of filter with any cutoff frequency to audio inputs. This will alleviate the need to purchase aftermarket equalizers as well as allow the individual to pinpoint the exact sound they are trying to achieve. Requirements The filters must work individually or simultaneously. LED indicators must work properly to show which filter is selected, as well as if the Equalizer is off or on. Button Commands Pf8 First press – implements Low Pass Filter with 750Hz cutoff, LED 5 illuminates Second press – switches to Low Pass Filter with 1250Hz cutoff, LED 6 Illuminates Third press – Removes Low Pass Filter, No Low Pass Filter LED Indicator Pf9 First press – implements High Pass Filter with 1750Hz cutoff, LED 8 Illuminates Second press – Switches to High Pass Filter with 2250Hz cutoff, LED 7 Illuminates Third press – Removes High Pass Filter, No High Pass LED Indicator Pf10 First press – Turns ON “equalizer”, LED’s 4 and 9 Illuminate Second press– Turns OFF “equalizer”, No LED’s Illuminate LED Audio Inicators LED4 and LED9 Indicate Equalizer is On LED 5 Indicates Low Pass Filter 1 Selected LED 6 Indicates Low Pass Filter 2 Selected LED 8 Indicates High Pass Filter 1 Selected LED 7 Indicates High Pass Filter 2 Selected Code Description for EQ Operation ISR Filter Switch-----Ex)PF8-Low Pass Filter Button if(*pFIO_FLAG_C == 0x0100) // Check to see if PF8 has been pressed and if… { // confirm interrupt handling *pFIO_FLAG_C = 0x0100; // Change status of the Outputs
Background image of page 2
Low_Filter_Select++; if (Low_Filter_Select > 2) Low_Filter_Select = 0; } This interrupt service routine increments the value of “Low_Filter_Select” when button pf8 is pressed. When “Low_Filter_Select” is greater than 2 it is changed to zero. The value of “Low_Filter_Select” is used by the appropriate function is Process Data. For Example when PF9 is pressed from 1 to 2 times, Low Pass
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

Final Project Report - ECE 3551 Microcomputer Systems 1...

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

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