I am currently working on this project that I found on instructables:
I have double checked the schematic, all seems fine. The thing is that I keep getting constant 195-196 values from the MSGEQ7 with and without inputing sound.
I am currently working on this project that I found on instructables:
I have double checked the schematic, all seems fine. The thing is that I keep getting constant 195-196 values from the MSGEQ7 with and without inputing sound.
Most probably your wiring is bad. A circuit diagram were helpful.
Instructables are crap. They are written by people who don't know what they are doing. In that one it says:-
IMPORTANT: MAKE SURE PORT 2 (and any other ports that need to be grounded) ON YOUR MSGEQ7 IS NOT GROUNDED TO THE SAME GROUND AS YOUR MOSFETS. The Fritzing file shows the MSGEQ7 sharing ground with the MOSFET transistors. I was about to return my MSGEQ7 back from where I got it because of this. I almost gave up, but then I noticed in the serial monitor that when the 12v 5a power supply is plugged into the Arduino, the last two of seven frequencies spike up (it went from 0 0 0 0 0 4 19 to 0 0 0 0 0 8 39. Notice the last two numbers were also spiking up without the power supply plugged in.) Anyways, after grounding the MSGQE7 and the MOSFET transistors to separate grounds, all seven frequencies were at 0. I just wanted to share this with you because I saw some other people having problems.
Is pure bull. What ever he did wrong he drew the wrong conclusion. All grounds must be the same potential for anything like this to work.
Are you using a 22K resistor? If so it needs to be 220K.
There is a <=1Amp reverse protection diode between the DC socket and V-in (authors LED power).
Seems the author is using a LED strip that uses way more than that, and a 5Amp supply.
10k resistors between drain and ground of non-logic level mosfets, and LED return current over a breadboard?
Sounds like three mistakes there.
Leo..
Thanks for the replies! I am attaching my wiring. Also, I have decided not to connect the LEDs until I have the msgeq7 up and running. I have read a lot about led strips and arduino, they are not going to be connected as they are in the instructable. The resistor is 220k.
Circuit diagrams are okay for diagnosis, images for beauty contests.
Where does power come from?
DrDiettrich:
Where does power come from?
I have tried to power the Arduino with USB cabel and I have tried to power the Arduino with an external 12V.
The thing is that I keep getting constant 195-196 values from the MSGEQ7 with and without inputing sound.
What happens with sound?
It needs to be a biggish signal.
Also what is the code?