Embedded Systems Conference
Breaking News
Max’s Cool Beans

MSGEQ7-Based DIY Audio Spectrum Analyzer: Construction

NO RATINGS
1 saves
Page 1 / 5 Next >
View Comments: Newest First | Oldest First | Threaded View
Page 1 / 4   >   >>
Clive
User Rank
Author
Re: Read values without playing songs
Clive"Max"Maxfield   4/18/2015 2:23:59 PM
NO RATINGS
Sorry about thedelay in my response -- I just saw this -- there is some noise on the signals -- so the best thing is to apply a simple filter -- so when you read the output from the MSGEQ7 chip into the Arduino's analog input -- if it's less than say 50, then set it to 0.

TheraLeaf
User Rank
Rookie
Read values without playing songs
TheraLeaf   4/4/2015 1:52:23 AM
NO RATINGS
I have tried to do this analyse but i read some values without playing songs and the LEDs keep on brighting?

Is it the problem of audion jack connect ?

 

 

Thanks a lot.

Max The Magnificent
User Rank
Author
Re: Timings
Max The Magnificent   7/14/2014 11:29:47 AM
NO RATINGS
@David: Have you factored you're ADC conversion time into this?

I checked this the old-fashioned way on a scope -- check out my next blog which will be on the test procedures I used.

David Ashton
User Rank
Author
Re: Timings
David Ashton   7/12/2014 7:54:57 PM
NO RATINGS
@Max....well you have proved that the above works and you have exceeded the minimum strobe to strobe time.  Have you factored youre ADC conversion time into this?  (Is it fixed or variable?) Without knowing the specs for the minimum strobe high time you may be wasting time that might be precious later when your design gets more advanced.   I may be being pedantic here but I'm sure you could find any number of readers here who've come unstuck by NOT being pedantic about timings... :-) 

Max The Magnificent
User Rank
Author
Re: Timings
Max The Magnificent   7/12/2014 2:00:50 PM
NO RATINGS
@David: maybe we could get a gig compiling data sheets for MSI :-)

Stranger things have happened -- I've created data sheets before -- I pride myself on my waveform diagrams LOL

Max The Magnificent
User Rank
Author
Re: Timings
Max The Magnificent   7/12/2014 1:59:27 PM
NO RATINGS
@David: But the minimum strobe high time is not given...

I'm simply making the strobe go low -- waiting 40us (a bit more than the specified minimum of 36us), reading the data, making the  strobe go high, and waiting another 40us, giving a strobe-to-strobe period of 80+us (which is bigger than the specified minimum of 72us)...

David Ashton
User Rank
Author
Re: Timings
David Ashton   7/12/2014 4:07:13 AM
NO RATINGS
@Max - maybe we could get a gig compiling data sheets for MSI :-)

David Ashton
User Rank
Author
Re: Timings
David Ashton   7/11/2014 9:14:29 PM
NO RATINGS
@Max...well I certainly stirred up a hornet's nest there, didn't I? :-)

That makes a lot more sense.  You can't read the data while the strobe is high but you can extend the strobe low as long as you want or need, as long as you wait the 36us for the data to settle...  But the minimum strobe high time is not given, maybe that is the 18 us?   It would be important to know that if you were using a fast MCU and giving a strobe high pulse at the end of your ADC conversion.  Could MSI confirm that?

Max The Magnificent
User Rank
Author
Re: Timings
Max The Magnificent   7/11/2014 5:32:26 PM
NO RATINGS
@David: I notice the minimum strobe pulse width is less (18us) than the settling time (36us) - which implies you can read the data even if the strobe has gone back high? (ie you could actually read data during the purple times in your diagram?)


Hi David -- based on your question -- and on the fact that it wasn't possible to say one way or the other from the existing datasheet -- I contacted the folks who make the MSGEQ7. They gave me a lot of information, which I've reflected back into the main column above. But the bottom line is that the waveform diagram shoudl actually look like the following:



David Ashton
User Rank
Author
Re: Resistor value tools
David Ashton   7/10/2014 4:19:52 PM
NO RATINGS
@Antedeluvian - as well as this, I have very rarely seen an extra band on a resistor to indicate temperature coefficient, and in the old days they used to put a pink band on to indicate high stability.     Fortunately I don't move in such esoteric circles and for what I need E12 values are usually fine....

Page 1 / 4   >   >>
Flash Poll
April 2015 Cartoon Caption Contest: The Mighty Hamster
April 2015 Cartoon Caption Contest: The Mighty Hamster
Of all the exhibits in the Pre-Apocalypse Era Museum, Breek was always in awe of the unearthed details and true-to-scale reproduction of a technological creation space that the long gone humans had once inhabited.
148 comments
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Times on Twitter
EE Times Twitter Feed