Embedded Systems Conference
Breaking News
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   >   >>


Radio
NEXT UPCOMING BROADCAST
Why Connect a Car?
May 11, 1pm EDT Monday
Overview: Battle-hardened veterans of the electronics industry have heard of the “connected car” so often that they assume it’s a done deal. But do we really know what it takes to get a car connected and what its future entails? Join EE Times editor Junko Yoshida as she moderates a panel of movers and shakers in the connected car business. Executives from Cisco, Siemens and NXP will share ideas, plans and hopes for connected cars and their future. After the first 30 minutes of the radio show, our listeners will have the opportunity to ask questions via live online chat.
Top Comments of the Week
Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Special Video Section
LED lighting is an important feature in today’s and future ...
Active balancing of series connected battery stacks exists ...
After a four-year absence, Infineon returns to Mobile World ...
A laptop’s 65-watt adapter can be made 6 times smaller and ...
An industry network should have device and data security at ...
The LTC2975 is a four-channel PMBus Power System Manager ...
In this video, a new high speed CMOS output comparator ...
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.
Recently formed Architects of Modern Power consortium ...
Specially modified Corvette C7 Stingray responds to ex Indy ...