12V speaker amplifier for 3.3V PWM
ericball
Posts: 774
I'm hoping someone can point me to an existing simple & cheap circuit I can use or (even better) something prebuilt I can buy cheaply.
I want to take the 3.3V PWM audio output from a microcontroller and amplify it up to drive speakers (spec suggestions welcome) using a separate 12V 1A supply. External volume control would be nice.
I've seen some circuits, but they don't specify the input voltage range.
I want to take the 3.3V PWM audio output from a microcontroller and amplify it up to drive speakers (spec suggestions welcome) using a separate 12V 1A supply. External volume control would be nice.
I've seen some circuits, but they don't specify the input voltage range.
Comments
-Phil
Sorry, should have put this in my first post but got distracted. Lots of inexpensive audio amplifier modules available from multiple suppliers if you google "audio amplifier module". Here is one example.
https://www.maximintegrated.com/en/products/analog/audio/MAX9744.html
https://www.adafruit.com/product/1752
-Phil
Listen, ya young whippersnapper... dont make me whup ya with my cane. I’ve got 300 of ‘em rolled-up in leaded paper and cosmoline from back when Reagan was president... back when real men only needed 64K, 8 bits, and a toggle-switch boot loader!
On a serious note, I love them for breadboarding. But yeah, there are definitely better options out there. I cant imagine a Propeller-heads junk drawer without at least a few rolling around in it. YMMV.
But, yeah, I still have a few of those venerable chips, and breadboard one from time to time.
-Phil
The one thing I haven't been able to figure out from the available documentation for the MAX9744 is how the gain works. The datasheet says the amplifier has an internal 20dB gain plus the volume setting of -92.8dB to +9.5dB plus the gain set by the external feedback resistor over the input resistance. From pSpice I can get the input voltage swing and current, but I want to anticipate how much current it is going to try to draw from the 12V power source (assuming Adafruit #1732 speakers).