This is a placeholder topic for “Adjustable Dual Channel Audio Amplifier” comments.
Pump up the tunes!! Use this feature-packed audio amplifier to bring a whole new sense to your projects.
Read moreThis is a placeholder topic for “Adjustable Dual Channel Audio Amplifier” comments.
Pump up the tunes!! Use this feature-packed audio amplifier to bring a whole new sense to your projects.
Read moreDo you have sample Pico code and wiring for this?
Hi Claire,
I found this library to work well with this driver: GitHub - danjperron/PicoAudioPWM: PWM audio on pico with 8KHz stereo wave file
Here’s a quick wiring diagram for the product, I’d recommend going with Enclosed Speaker - 8 Ohm, 5 Watt | Core Electronics Australia for speaker
Liam
Please could you tell me what the maximum output power of the amp is?
Hi Jim
Welcome
As with any Class D amplifier that will depend on input DC voltage (2.5 - 5.5V) and speaker impedance (4Ω or 8Ω).
There should be a chart with that info but I note in this case there is none. You might get some info with the IC data sheet if you can find out what IC is used.
Cheers Bob
Hi Jim,
At 4Ω the output is 3W.
It uses a PAM8406. I’ve updated the store page with that info and the datasheet.
Hi Jack
At what voltage, and is this per channel or total power?
Cheers Bob
My intepretation was total at 5V.
Hi Jim
Now we know what the IC is (thanks Jack) the data sheet tells us this.
That’s great. Thanks Bob and Jack.
In the PicoAudioPWM it is mentioned “For amplifier don’t use PIO4 and the capacitor should be 2200pF and connected to GND.” Does it mean we are just going to connect two 2000pF capacitors from IO2 and IO3 to IO4? What are we doing it for? Is this to address whistling feedback?
Hey @Andrei274211,
The instruction seems to be to place a 2200pF capacitor in between both Pico outputs and ground. The primary case for this capacitor is likely to filter out electrical noise which will typically be at higher frequencies than the actual audio signal.
I must admit I am not sure why this was done on the Pico’s output rather than on the final output, perhaps a unique necessity for the original design which did not make use of this specific Class-D amplifier.
Page 10 on the PDF for the PAM8406 discusses recommendations for various additional capacitors to be used in a circuit for the IC. I would assume most, if not all, of these measures have been taken given the PCB contains 4 capacitors, 2 and adjustable trim pots + resistors. I think it’s safe to assume that the additional circuit elements are not required, though it may be safer to include them regardless.
Hope this helps!
Thank you @Zach! I do indeed have quite annoying howling and whistling with this amp. The Amplifier seems to have some capacitors and resistors and on PCB, but maybe I need to do something to deal with that.
Hi Andrei
Do you have a microphone in the system somewhere.
Cheers Bob
Thank you @Robert93820 , no I don’t have a microphone in the system.
This is the current setup:
Anticipating question about sensors - it howls without sensors in the same way.
Hi Andrel
Try connecting the Audio input ground to Pico pin 3 and Audio VCC Gnd to Pico pin 18 although the Pico Gnds should be connected on the Pico I think. The input and VCC grounds could be separated in the Audio IC. Don’t know.
Cheers Bob