Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I am getting pretty tired of debugging the LM386 integration into my project! I'm building a drum machine, based around schmnitt trigger oscilators and a white noise generator. I'd post the complete schematic, but its getting complicated, and everything works accept this part - the audio output.

When I tap the output of my device and plug it into a battery-powered guitar amp I have on my desk, everything is great, I'm done. BUT I want my project to also have a built in speaker. I've used LM386 for tons of synthesizer stuff like this before, but this one just ain't happening. I'm getting wild oscillations, sometimes no sound at all, sometimes only part of the sound (like the "kick" but not the "snare"). I've tried decoupling capacitors in series, on the power-pins, and zobel network.

TL;DR - Can anyone recommend an easy replacement for the LM386. A 9V powered IC that can drive a speaker. THANKS!

enter image description here

share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

You might try the TDA7050 (5V) or TDA7052 (18V max). Both are bridge amplifiers, so they don't require a large speaker coupling capacitor. And they don't require a load cell / boucherot network either (R+C parallel to the speaker).

share|improve this answer
    
Thanks, I'll try these out –  pinhead Jul 1 at 15:59
    
Checked as answer because other users offered good advice and criticism, but "TDA7050" is actually an answer to my question Thanks! –  pinhead Jul 12 at 2:39
add comment

The LM386 seems to be a appropriate chip for this application, so there is no need for a replacement. If you can't get it to work, the problem is in you circuit. Since you haven't shown us your circuit, there is little more than can be said.

Whatever you are doing wrong would be just as likely to happen to a replacement part.

It might be useful to test out just the power amp part with the LM386 by itself. Once you get that working, you can incorporate the successful circuit into your larger project.

share|improve this answer
1  
Ha, Ok the forum has spoken... back to the drawing (bread) board. Thanks! –  pinhead Jun 30 at 23:02
add comment

Note that wired breadboards can have good power distribution but could just as likely have bad power distribution.

Any component that has gain and a possibility of feedback could oscillate if not properly compensated and properly wired up to its power source.

You could also have problems if your Schmidt trigger oscillators coupling into the gain element in ways that are not friendly to the normal operation of the LM386.

One question back to you is to wonder if the oscillators on your board have screaming fast edges that translate to high frequencies?

share|improve this answer
    
Not sure how to answer that question - the oscillators are square waves, so the edges are fast...? They output audio frequencies though - one at 1-3 kHz, the other at 60-180 Hz. And I have power decoupling capacitors right on the hot pin of each of those chips - I used to get interference from them before I put those caps in –  pinhead Jul 1 at 16:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.