Instructables

Audio Spectrum Analyzer with Freescale GT60 LCD 8Bit

Picture of 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/






randofo2 years ago
Does this board just visualize frequency or are you able to manipulate the frequency of the audio in particular ranges?
candelo (author)  randofo2 years ago
Hi, this board only visualize frequency, because measure de Audio signal use a ADC channel for Microcontroller.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!