Closed Triscus closed 7 years ago
Might be a wrong connection or a damages chip. Have you checked everything is wired correctly with the correct capacitors?
Yes, I have built the the ciruit multiple times with the wiring from your github readme and the wiring from the datasheet, had no luck. For the 100nF cap I am using electrolyte caps with polarity given in the data sheet. I even replaced the chip (it was from the same order).
Here is a plot of the frequency response while sliding from 0 to 20kHz with a sine wave generator. you can see that all frequencies are going up an not only ones used for the frequency .(see legend upper right)
I am about to think that the chip is damaged, but two at the same time is bit nlikely. Any idea how I can test that the chip is working before I order a new one?
The question is if there is a difference if no audio is available. So does the chip actually record anything or does it only output noise?
I dont know what you mean by caps with polarity. It should not matter where + and - is. Maybe you used wrong components?
Also I'd try different sound output from different devices at different levels. You can just test, it seems to be a hardware issue.
The chip reacts to the volume. If there is no input, the values are zero. I tested with a guitar, music from smatphone and a sine wave generator.
Electrolytic capacitors (the 100nF in my case) have a polarity, the 33pF and 10 nF caps are ceramic and don't have a polarity. In the datasheet the polarity of the capacitors is given in the schematic, so I think its ok to use electrolytic ones.
You should try another chip or different capacitors then.
I noticed that there are two data sheets of MSGEQ7: older from 2004 and newer from 2011. The newer uses only 33pF and 0.1u caps and no 10pF. Could that be significant? I always constructed based on newer schematics and it always worked, well except some broken chips which lacked some frequences or had some frequencies always high. Always order in 5 or more batches because they are a hit or miss.
I tried it first with the 0.1µF caps because I had no other caps at hand, but it's the same with the 10pF caps. I also wrote MSI, they stated it's no problem to use electrolytic caps as long as they are in the correct direction.
Thank you fot your advice, I think I will order new chips and try again. If you let the issue open I can write down my outcome :)
The chips were ok, I used a wrong cap, 33nF instead of 33pF (Doh!) Because of that the frequency of the output was altered. So I actually read one band at a time instead of all seven.
Thanks for the feedback and happy coding! :)
In use is an Arduino Nano, an op-amp TL071 and a MSGEQ7 IC using this library.
When I read the individual bands, all bands seem to have the same value (or nearly the same). I already double checked everything, tried with and without the op-amp and also changed the IC itself, but nothing seems to help.
This is the code I'm using:
The Serial output while playing the open E string:
Any help would be highly appreciated.
Regards
Triscus