Difference between revisions of "Disco Board Project"

From ENGR005 2008
Jump to: navigation, search
(Project Overview)
(Project Overview)
Line 5: Line 5:
 
==Project Overview==
 
==Project Overview==
  
The intent of the Disco Board Project is to construct a device that will synchronize the flashing of lights with peaks in certain frequency ranges in a waveform; namely, components of the beat in songs. This will be accomplished using a real-time processing component of MATLAB coupled to a series of relay switches. The MATLAB component (specifically, the audio processing toolkit in SimuLink) will read input from a computer port (most likely a microphone in or line in). It will apply a series of bandpass filters to the input data; the frequency ranges that are "passed" will be chosen such that they encapsulate the relevant parts of the input. In the case of a song, these would be frequency ranges corresponding to the kick drum, snare drum and hi-hat. The output of the bandpass filters will then be evaluated as an absolute value (giving the magnitude of the signal) and then smoothed with a low-pass filter. An IF statement will then determine if the magnitude of the signal has exceeded a prescribed value; when it does, the program will send a signal to a relay and a light will flash. If all components work as described above, the user should be able to notice a clear correlation between the beats of their song and the flash-pattern of the lights, and will have some pretty bangin' lighting for their next party.
+
The intent of the Disco Board Project is to construct a device that will synchronize the flashing of lights with peaks in certain frequency ranges in a waveform; namely, components of the beat in songs. This will be accomplished using a real-time processing component of MATLAB coupled to a series of relay switches. The MATLAB component (specifically, the audio processing toolkit in SimuLink) will read input from a computer port (most likely a microphone in or line in). It will apply a series of bandpass filters to the input data; the frequency ranges that are "passed" will be chosen such that they encapsulate the relevant parts of the input. In the case of a song, these would be frequency ranges corresponding to the kick drum, snare drum and hi-hat. The output of the bandpass filters will then be evaluated as an absolute value (giving the magnitude of the signal) and then smoothed with a low-pass filter. An IF statement will then determine if the magnitude of the signal has exceeded a prescribed value; when it does, the program will send a signal to a relay and a light will flash. If all components work as described above, the user should be able to notice a clear correlation between the beats of their song and the flash-pattern of the lights, and will have some pretty bitchin' lighting for their next party.
  
 
(Put block diagram here, as well as (eventually) scanned copies of notes)
 
(Put block diagram here, as well as (eventually) scanned copies of notes)

Revision as of 01:42, 17 November 2008

Project Members

Julian Leland

Project Overview

The intent of the Disco Board Project is to construct a device that will synchronize the flashing of lights with peaks in certain frequency ranges in a waveform; namely, components of the beat in songs. This will be accomplished using a real-time processing component of MATLAB coupled to a series of relay switches. The MATLAB component (specifically, the audio processing toolkit in SimuLink) will read input from a computer port (most likely a microphone in or line in). It will apply a series of bandpass filters to the input data; the frequency ranges that are "passed" will be chosen such that they encapsulate the relevant parts of the input. In the case of a song, these would be frequency ranges corresponding to the kick drum, snare drum and hi-hat. The output of the bandpass filters will then be evaluated as an absolute value (giving the magnitude of the signal) and then smoothed with a low-pass filter. An IF statement will then determine if the magnitude of the signal has exceeded a prescribed value; when it does, the program will send a signal to a relay and a light will flash. If all components work as described above, the user should be able to notice a clear correlation between the beats of their song and the flash-pattern of the lights, and will have some pretty bitchin' lighting for their next party.

(Put block diagram here, as well as (eventually) scanned copies of notes)

Required Materials

4 - 120v AC Relays - available from Ed Jaoudi

4 - Female 120v AC sockets, grounded, surface-mountable

4 - 470Ω resistors

4 - 2v LEDs

1 - Terminal block, 16- to 22-ga. wire

1 - Male 120v AC extension cord, grounded

Contingent on method of interface between computer and relays:

- Method of interface - must be able to accept data from USB or serial, send 3.7 to 32v DC

- Appropriate wiring to connect interface to relays