Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Anyone use an LM386 to drive speakers on 5v?



  • My next build is a palmtop, and I'm thinking about using a pair of LM386 as audio amps.
    According to the chip's datasheet, you CAN power it from 5V, It looks ideal to amplify the output from the 3.5mm plug on the Pi 3 B to 8 ohm speakers, but thought I would ask if anyone has actually tried it.

    Also looking for tiny 8ohm speakers to use it with, any ideas?



  • @victimrlsh I do not recommend this option. You should either hack some old stereo speakers - this is what I did here or buy a decent kit with something like a TDA2050 or similar. There are many problems with the LM386 in my experience. First, they need a large amount bypass capacitors to remove unwanted noise from killing your performance and even then it will not be great. You will need a 100uF electrolytic cap in parallel with something like a 0.1uF ceramic across the supply rails (close to the chip). These will help short circuit unwanted AC noise away from the chip. One will deal with the high frequencies and the other with low frequency noise. The next is choosing to run at 5V which is at the minimum. For this, you will be needing even bigger (470uF to 1000uf) supply bypass capacitors to stop the supply voltage from jumping up and down with the output signal. The jumping creates a motorboat sound. Volume at this voltage will be low. 9V would be better and 12V better still but then it gets hot! For me, these are only really good as a pre-amp for something like a microphone. For speakers, I use these ones.



  • @victimrlsh MAX98357 I2S is a good choice



  • @cyperghost I'll probably go that route, Lady Ada's stuff hasn't let me down yet.



  • Just looked in my parts cabinet, I have 17 LM386's, so I'm going to build this to see how it works anyway. I'm still going to get that Adafruit module though, that looks sweet.

    @rbaker Those options are way too big for a palmtop config. I have some pretty tiny caps, maybe even some axial mount to keep the size down.



  • @victimrlsh Palmtop! Missed that! I agree!


 

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.