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


Most Recent Comments
HitheshM500
 
NIRANKUSH456
 
NIRANKUSH456
 
David Ashton
 
Rich Krajewski
 
sranje
 
MeasurementBlues
 
MeasurementBlues
 
Sanjib.A
Flash Poll
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Rishabh N. Mahajani, High School Senior and Future Engineer

Future Engineers: Don’t 'Trip Up' on Your College Road Trip
Rishabh N. Mahajani, High School Senior and Future Engineer
3 comments
A future engineer shares his impressions of a recent tour of top schools and offers advice on making the most of the time-honored tradition of the college road trip.

Max Maxfield

Juggling a Cornucopia of Projects
Max Maxfield
7 comments
I feel like I'm juggling a lot of hobby projects at the moment. The problem is that I can't juggle. Actually, that's not strictly true -- I can juggle ten fine china dinner plates, but ...

Larry Desjardin

Engineers Should Study Finance: 5 Reasons Why
Larry Desjardin
37 comments
I'm a big proponent of engineers learning financial basics. Why? Because engineers are making decisions all the time, in multiple ways. Having a good financial understanding guides these ...

Karen Field

July Cartoon Caption Contest: Let's Talk Some Trash
Karen Field
140 comments
Steve Jobs allegedly got his start by dumpster diving with the Computer Club at Homestead High in the early 1970s.

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)