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

PIC18F 16-bit FFT Real-Time Audio Spectrum Analyser

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
25,684
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 8, 2011

http://www.waitingforfriday.com/index.php/Real-Time_Audio_Spectrum_Analyser

This project is a real-time audio spectrum analyser based on the PIC18F4550 8-bit microcontroller. It implements a 16-bit FFT with a Nyquist frequency of 10Khz programmed entirely in C. The output is a 128x64 graphical LCD showing 31 frequency buckets from 312Hz to 10Khz.

Complete project details are available on my website in the projects section.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (simoninns)

  • Hey,

    looks nice do you use a kind of an AGC circuit or anything like that, to be "independent" from the inputsignal value???

    greetings

  • @lolerus - There is no AGC, the circuit is designed to work from a standard 1-1V Peak-to-peak signal such as a standard line-out or mp3 player headphone output.

  • Wooww

    Nice job simoninns!

    I saw you website 1 month ago and find a project I liked. It is the RGB VU. I download the source and I am studing it to try to made a version of the TLC5940 library in PCW CCS, because I do not know very much about C18. Maybe I can do this....

    About this video, hum...

    I can not beleave that a simple PIC can do a FFT with quality like this one.

    You coment early that the original ideia was do the FFT in C#. Do you have any materials that can help us in this way?

    Bye

  • @zinkws - The C code for this project should be very portable and easy to move to a compiler other than Hitech picc 18. The code was originally developed in C# to make it easy to debug. You simply use the maths library to create a sine wave which can be fed to the FFT routine to test the output. Once it's working you can then move the FFT routine to any compiler you like; although you should be able to port directly between the two PIC compilers without too much trouble.

  • You did awesome job Simon thanks

    can i ask about the name of MP3 music that you used in your demonstration?

  • @abidibrahim - It's by FantomenK, you can find the link at the end of the video.

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • Yay FantomenK!

  • Just built a couple of these, fantastic project!! Thanks for taking the time to document it and making it so easy to follow.

  • Nice work! thanks!

  • @simoninns Using a hardware interface and developing on PC is a good idea. I do this, too, but usually I write a hardware layer and simulate all the hardware on PC, too, so I don't need any hardware. Then just implementing the hardware layer for the target microcontroller and usually it works :-)

    BTW: see my latest video for a nice and easy to use OLED.

Loading...

Alert icon
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