Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

fft spectrum analyzer on avr

Loading...

Sign in or sign up now!
20,422
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 24, 2008

first of all, the song you are hearing is not the one the analyzer processes...
it analyzes "play" by flunk from the line out of my radio...
changed due "copyright infringement" :-!

yeah yeah... dont like warner anymore ^^



my homebrew audio spectrum analyzer for atmel avr temporary running at 7mhz and 128 points (atmega8).
display is an ea dogm162 in blue with white backlight.
music is (now) 'the way i feel' by 12 stones (Wind-up Records rulez!!).

enjoy the video!!

Link to this comment:

Share to:

Uploader Comments (Z3R0gr4vi7y)

  • How many ADC measurements go into each FFT calculation (i.e. what is your "window" length - and for that matter do you apply any window function before computing FFT), and, are all calculations done in floating-point? Finally, which AVR chip did you use?

    Good work!

  • its all in the text next to the video ;)

    the avr (atmega8) takes 128 12 bit adc measurements for each computing cycle...

    the window function is disabled right now, but u can use it to "amplify" the spectrum information... sorry, thats hard to explain in english ^^

  • Thanks. You have your AVR clocked at 7MHz, but what is your ADC sample rate?

  • im not quite sure... lol... its too long ago ;)

    but it must be something around 50khz

  • 7 Mhz it's too slow for this project

  • as you can see 7 mhz is more than enough to calculate the fft ;) the fft itself uses a butterfly-algorythm which makes it much faster. also the highest frequency that occurs in the audio-signal is around 0,02 mhz, so you have enought time with 7 mhz to sample, resort and calculate the signal ^^

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • Do you even know what FFT is??

  • Great project! I'm a noob to AVR programming, and I'm trying to put a up project that will take vibration input from an accelerometer and output an alarm sound when a certain frequency is present past a given amplitude threshold. I have an ATmega328 and AVR Studio 4. I've looked online for similar projects, but the explanations are so full of tech jargon that I have to refer to Wiki 20 times before I reach the end of a paragraph. Any advice or pointers?

  • Which ADC are you using? The internal one in the AVR hits 15ksps on 10 bits. You can't sample proper audio with that, so what are you using?

  • Microchips dsPic family has fft module.

  • FFT is short for Fast Fourier Transform. You'll find a lot of theory and explanations on google if you look.

  • genial

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more