There are a lot of tutorials and also guidance on the datasheet. However, even though I repeated the same procedures over and over again, there is a constant beep sound and LED is on when I connect an LED to analog output which has the output of the msgeq7 IC's signal.
Even the LED is not connected to 3.5mm jacks at all. So, how come this constant beep sound comes from the speaker.
Any idea what about the probably problem or anyone come across such a problem.
Okay, I did some debugging and concluded that when I read the left or right channel of the audio signal through A0 input of arduino, I read "0" all the time. However, when the end of the cable connected to the A0 input is floating, there is some random noise and when I touch the cable it changes prominently.
The thing is, I get the audio signal from laptop's audio output and channel it to the speaker over breadboard, meaning the signal is there on the breadboard and going to the speaker without any problem, but when it comes to reading it through an Analog input, there is nothing.
The capacitor between pins 1 & 2 is for supply decoupling. This should be a ceramic type capacitor, not the type that you have used. It could be that the chip is oscillating as a result.
Grumpy_Mike:
The capacitor between pins 1 & 2 is for supply decoupling. This should be a ceramic type capacitor, not the type that you have used. It could be that the chip is oscillating as a result.
Are you sure that's the reason or is this just a guess ?
Also I do wonder why I read "0" from the audio signal input ?
Are you sure that's the reason or is this just a guess ?
I am sure that the capactor you have used is useless for the task you have give it so it needs changing in any case. if you have anything else wrong it is hard to say at this stage. You must always correct the things that are wrong when ever you see them. As itcouldexplain everything and needs changing anyway then you loose nothing by changing it.
Are you sure that's the reason or is this just a guess ?
I am sure that the capactor you have used is useless for the task you have give it so it needs changing in any case. if you have anything else wrong it is hard to say at this stage. You must always correct the things that are wrong when ever you see them. As itcouldexplain everything and needs changing anyway then you loose nothing by changing it.
Okay. Thank you so much. I'll try to find a ceramic one and replace it.
Are you sure that's the reason or is this just a guess ?
I am sure that the capactor you have used is useless for the task you have give it so it needs changing in any case. if you have anything else wrong it is hard to say at this stage. You must always correct the things that are wrong when ever you see them. As itcouldexplain everything and needs changing anyway then you loose nothing by changing it.
Okay. Thank you so much. I'll try to find a ceramic one and replace it.
So, changed the capacitor but problen insisted. Then check the code once again and realised I used the same output twice. Now it is working with even plastic capacitors (FYI). Also noise of LEDs are gone.
Now it is working with even plastic capacitors (FYI)
Even so it needs to be ceramic to work effectively. You have what is known as a better margin with a ceramic. This will apply to susceptibility to interference as well and you haven't tested for that.