3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Audio Spectrum Analyzer with Freescale GT60 LCD 8Bit

Audio Spectrum Analyzer with Freescale GT60 LCD 8Bit
This is a development which includes an analog and a digital part.
Basically power is to represent the audio signal separated in frequency, for this we need to sample the signal in compliance with the sampling theorem  Nyquist sampling theorem, Shannon . An audio signal "audible" to the human ear is in the range of 20Hz to 20Khz, in our case we will perform a full sampling of the band. For this minimum sampling frequency should be 40KHz.

Using a microcontroller Freescale HCS08GT60 family (8 bits) and ANSI C language, configure the internal ADC converter to take a sample every 25US (40KHz) and so apply a 64-point FFT in real time (thanks to the internal bus microcontroller running at 20MHz), resulting in 32 levels representing frequencies from 20Hz to 20kHz with a range of 312.5Hz each level. As we have a display of 16 x 2 characters, we made an average of the value of contiguous levels in order to obtain results in 16 levels and to represent them as bars (custom characters in character LCD see Tutorial).

Schematic, .S19 or HEX file and Video running!

You can check my blog http://candelectronica.blogspot.com/






2 comments
Sep 8, 2011. 9:16 AMrandofo says:
Does this board just visualize frequency or are you able to manipulate the frequency of the audio in particular ranges?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
2
Author:candelo