Go Down

Topic: Adafruit mono 2.5W Class D Audio Amplifier - PAM8302 not working (Read 1 time) previous topic - next topic

alex5678

Hello,

Ok, your circuit on the book,

https://books.google.gr/books?id=kK1PCwAAQBAJ&pg=PA378&lpg=PA378&dq=MCP602+audio+amplifier&source=bl&ots=mvffX1gPLL&sig=Hv_xM7K7giVpu9AFK0u75caB2Lc&hl=el&sa=X&ved=2ahUKEwi_j_vMtKzeAhVLJBoKHdu8CJ0Q6AEwDnoECAgQAQ#v=onepage&q=MCP602%20audio%20amplifier&f=false

it has a gain of 57. I am thinking of building your circuit 2 times... Should I use any discrete element between the connection of the output of the first circuit with the input of the second circuit?

Thank you...

Grumpy_Mike

Quote
it has a gain of 57. I am thinking of building your circuit 2 times.
So if you connect the output of one circuit with a capacitor to the input of the other you will theoretically get a gain of 3249. However at such high gains you might get stability problems unless it is constructed with due regard to this sort of gain.

Are you sure you want it so high? Or are you after something like a gain of 100, which is simply done by changing the resistor values.

alex5678

So if you connect the output of one circuit with a capacitor to the input of the other you will theoretically get a gain of 3249. However at such high gains you might get stability problems unless it is constructed with due regard to this sort of gain.

Are you sure you want it so high? Or are you after something like a gain of 100, which is simply done by changing the resistor values.
I will do tests with POTs (on input and feedback resistors) to achieve a gain, that will not distort my output... but I do not know if I should put a discrete element between the first and the second circuit...

Thank you...

Grumpy_Mike

I did say
Quote
connect the output of one circuit with a capacitor to the input of the other


Grumpy_Mike

Quote
A 10uF electrolytic, for example, is ok?
Yes, put the positive to the output and negitave to the input.

alex5678

Yes, put the positive to the output and negitave to the input.
Doesn't go the other way? I mean I have an input signal, so I face firstly the positive side?

Grumpy_Mike

Quote
Doesn't go the other way?
No. You are driving the positive end with the output of an amplifier.

alex5678

Hello,

Two questions..

1) I have modified a bit this circuit:

book

and I get Gain = 50 from the fitst op-amp and Gain = 50 from the second, I have amplification on the input signal, but something extreme... If I use 12 Volt supply, can I get something bigger?

2) How do I read the input in a ADC of the Arduino, every 1 sec?

Thank you...

Grumpy_Mike

Quote
2) How do I read the input in a ADC of the Arduino, every 1 sec?
Use the analogRead function. See the blink without delay example in the IDE or read the sticky post in the programming section about doing several things at once.

Quote
If I use 12 Volt supply, can I get something bigger?
No the gain is determined by the resistors. Using a higher power supply will only allow a bigger output signal not more gain.

alex5678

But the bigger output signal isn't a result of the gain?

Thank you...

Grumpy_Mike

Quote
But the bigger output signal isn't a result of the gain?
No.
The gain is controlled entirely by the resistors.

To get more output when you just change the supply voltage you must put a bigger signal into it.

alex5678

Hello...

Can I increase the Volts to 12, to the circuit on your book? Does it support 12 Volts?

Thank you...

Grumpy_Mike

Quote
Does it support 12 Volts?
It is not the circuit it is the op-amp. You need to see the data sheet to see what the maximum voltage the chip can operate on.

In this case the maximum voltage is 7V but with a recommended maximum of 5.5V.

alex5678

On this circuit:

https://books.google.gr/books?id=kK1PCwAAQBAJ&pg=PA378&lpg=PA378&dq=MCP602+audio+amplifier&source=bl&ots=mvffX1gPLL&sig=Hv_xM7K7giVpu9AFK0u75caB2Lc&hl=el&sa=X&ved=2ahUKEwi_j_vMtKzeAhVLJBoKHdu8CJ0Q6AEwDnoECAgQAQ#v=onepage&q=MCP602%20audio%20amplifier&f=false

Can I connect the "pin 1" on the GND of the Arduino, and the "pin 7" on Analog pin 0 (A0) of the Arduino? Or will I cause any problems?

Go Up