dsPIC-based spectrum analyzer

spectrum_analyzer

[Debraj] wrote to us describing a project he recently completed – a  simple, compact spectrum analyzer using a 16-bit dsPIC microcontroller.

The analyzer is fed an analog signal, which is passed through a large resistor followed by an opamp. A DC offset is then applied to the signal, after which it is passed through a software-programmable gain amplifier before being fed into the dsPIC’s analog input. A Fast Fourier Transform calculation is done using code provided by the PIC’s manufacturer once 128 samples have been collected. The results are then displayed on the attached LCD in real-time.

If you get a chance, take a look at the video embedded below for a walkthrough and demonstration of his analyzer. [Debraj] says that the analyzer was built to measure harmonics in his home power lines, but for demonstration purposes, he has used a simple function generator instead.

If you’re interested in seeing some other spectrum analyzers, be sure to check out these items we featured in the past.

Comments

  1. joe hosman says:

    very cool!

  2. I need to finish my avr based spectrum analyzer eheh.
    Nice work

  3. ANDY-MAN says:

    You sound like an ENGG2800 student?

    What im interested in is the hardware? Can anyone explain the power supply setup? is it getting a DC in and splitting it with a virtual ground?

  4. Muhammad Shahbaz Khan says:

    I need to implement FFt in ATmega32.
    can anyone help ?

  5. prapti says:

    Nice work,n nice presentation in all respect.speed,sound quality, and to the point .
    I am trying to implement FFT for power line with freescale controller. IF you have any idea,suggestions it will be great help for me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 91,443 other followers