Design Con 2015
Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 3 / 3
Max The Magnificent
User Rank
Blogger
Re: Dot/Bar Peak/Average displays
Max The Magnificent   4/9/2014 5:24:35 PM
NO RATINGS
@Aeroengineer: Just roll it out already...

It's coming .... it's coming ...

I thought that comment at EE Live! was good -- the one about you being a mechanical engineer who was doing electronics, while at the same time you are an aerospace engineer who is building submarines LOL

Max The Magnificent
User Rank
Blogger
Re: Dot/Bar Peak/Average displays
Max The Magnificent   4/9/2014 5:22:48 PM
NO RATINGS
@David: We have to PAY for it??

How much do you want to see it? LOL

David Ashton
User Rank
Blogger
Re: Dot/Bar Peak/Average displays
David Ashton   4/9/2014 5:16:20 PM
NO RATINGS
@Max... "just wait toll you see Part 2..."

We have to PAY for it??

Aeroengineer
User Rank
Blogger
Re: Dot/Bar Peak/Average displays
Aeroengineer   4/9/2014 5:07:17 PM
NO RATINGS
Just roll it out already!!! ;)  I was going to say, the other way would be to do a series of bandpass filters in software.  Because you are not looking for anything too sophisitcated, the filters do not need to have very high Q, and they could blead all over one another.  Or you could go with a Cortex M4 part and be done with it.  You know you want to!  I think that there is a Cortex M4 part that is Arduino compatible.

Max The Magnificent
User Rank
Blogger
Re: Dot/Bar Peak/Average displays
Max The Magnificent   4/9/2014 4:47:49 PM
NO RATINGS
@David: You'd then have to get a bunch of narrow band or notch filters...

Funnily enough, this was (maybe still is) one of my original thoughts ... just wait toll you see Part 2...

David Ashton
User Rank
Blogger
Dot/Bar Peak/Average displays
David Ashton   4/9/2014 4:25:40 PM
NO RATINGS
@Max...being an old-school guy (Read: old fart) I would use a bunch of LM3915 dot/bar display drivers.  You'd then have to get a bunch of narrow band or notch filters, one for each frequency.  This would wind up being a considerable number of IC's, though you might me able to mux some of it....... so Aeroengineer's idea of FFTs is probably the better way to go (and that way you could probably work an FPGA into it as well....)

Max The Magnificent
User Rank
Blogger
Re: fft's are great!
Max The Magnificent   4/9/2014 8:00:44 AM
NO RATINGS
@Aeroengineer: What you want to do is run an fft.

A Fast Fourier Transform (FFT) is certainly one option, but -- as you say -- it is computationally expensive -- espectially if all you have to play with is a 16MHz Arduino Mega with only 8KB of SRAM (sad face).

Happily, there are other alternatives (said Max (a) mysteriously and (b) as if he knew what he was talking about LOL).

Wait for Part 2 of this mini-series when all will (probably not) be revealed :-)

 

Aeroengineer
User Rank
Blogger
fft's are great!
Aeroengineer   4/8/2014 10:44:31 PM
NO RATINGS
Max,

What you want to do is run an fft.  This will ourput a real and imaginary component.  You will want to get the magnitide of this be taking the square of the sum of squares.  This is assuming that you already have the data in digital format.  I forget why, but you get a mirroring effect, and because of this, you can cut out the last half of your data when you go to display it.  you can also use a moving window buffer to process your data from, or just a fixed rate type buffer.  This would be once the buffer got full, you then do the fft.  Fft's are very computationally expensive, so you cannot do them that fast.  You kight be looking at 1-10Hz depending on number of points.  Oh and you want your buffer to be as big as the number of points your fft is, or if smaller you will want to zero pad it.

That falling dot is just the peek of the fft in that bin.  You just jave it fall at some programmed interval, and reset once that value has been exceeded.

 

All this that I passed onto you is somewhat theoretical.  I was looking to use this method for my rf project when I realized that I could not perform the calculation fast enough.

 

 

  

<<   <   Page 3 / 3


Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Book Review: Deadly Odds by Allen Wyler
Max Maxfield
11 comments
Generally speaking, when it comes to settling down with a good book, I tend to gravitate towards science fiction and science fantasy. Having said this, I do spend a lot of time reading ...

Martin Rowe

No 2014 Punkin Chunkin, What Will You Do?
Martin Rowe
Post a comment
American Thanksgiving is next week, and while some people watch (American) football all day, the real competition on TV has become Punkin Chunkin. But there will be no Punkin Chunkin on TV ...

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
13 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Martin Rowe

Book Review: Controlling Radiated Emissions by Design
Martin Rowe
1 Comment
Controlling Radiated Emissions by Design, Third Edition, by Michel Mardiguian. Contributions by Donald L. Sweeney and Roger Swanberg. List price: $89.99 (e-book), $119 (hardcover).