MSGEQ7 notes: Difference between revisions

From Helpful
Jump to navigation Jump to search
(Created page with "<!-- Detects the peaks in seven frequency bands, puts the on an output pin in a round-robin way, Each band-select decays the value by 10%. In other words, if you read out all...")
 
mNo edit summary
 
Line 1: Line 1:
<!--
<!--
Detects the peaks in seven frequency bands,
puts the on an output pin in a round-robin way,


Each band-select decays the value by 10%.
Has seven bandpass filters (with filter peak at 63 Hz, 160 Hz, 400 Hz, 1,000 Hz, 2,500 Hz, 6,250 Hz, and 16,000 Hz), and does amplitude peak detection in each.
 
 
Each band-select decays the value by 10%{{verify}}.  
In other words, if you read out all values you get a relatively slow release,
In other words, if you read out all values you get a relatively slow release,
making peaks/content more apparent.
making peaks/content more apparent.
Line 10: Line 11:




You need a resistor+capacitor determine the speed of the internal oscillator.
The values in the spec sheet (200kOhm, 0.1uF) seem required for the frequency bands to be as in the spec.


The most interesting pins for you are  
 
: In
 
The most interesting pins for use are  
: In (analog sound)
: reset
: reset
: strobe
: strobe
: out
: out (analog level)
 
:: which of the seven bands is currently being output is related to what you did on reset+strobe
The rest are basic setup with some filtering


The resistor+capacitor determine the speed of the internal oscillator.
An AC coupling capacitor in audio input is also a good idea,
The values in the spec sheet seem required for the frequency bands to be as in the spec.
as is bypassing noise on Vcc and Gnd.


(there are some boards that are mostly those components)






Readout is:
'''Readout''' is:
# reset for >0.1&micro;s
# reset for >0.1&micro;s
# wait for >72&micro;s  
# wait for >72&micro;s  
Line 34: Line 39:
# go back too 3
# go back too 3


So can be read out under 1ms
So can be read out in under 1ms


You can keep cycling through all the bins.
You can keep cycling through all the bins.
Line 44: Line 49:
<!--
<!--


https://www.eetimes.com/author.asp?section_id=216&doc_id=1323030#
https://www.mix-sig.com/images/datasheets/MSGEQ7.pdf
 


https://os.mbed.com/components/MSGEQ7/
TODO: read


https://os.mbed.com/users/chrisisthefish/code/MSGEQ7/
* https://www.eetimes.com/author.asp?section_id=216&doc_id=1323030#
* https://rheingoldheavy.com/msgeq7-arduino-tutorial-01-getting-started/


https://rheingoldheavy.com/msgeq7-arduino-tutorial-01-getting-started/


* https://www.hackster.io/PhilKey/rgb-backlight-msgeq7-audio-visualizer-e0054e


https://www.hackster.io/PhilKey/rgb-backlight-msgeq7-audio-visualizer-e0054e
 
-->
* https://os.mbed.com/users/chrisisthefish/code/MSGEQ7/
 
 
* https://os.mbed.com/components/MSGEQ7/

Latest revision as of 18:39, 7 January 2021