I decided that the audio amplifier that I'd previously posted was probably a little too complex for my needs. While noodling on the Idea, I stumbled on the JohnAudioTech YouTube channel, and rather liked his simple, less than a dozen component LM380 Audio Amplifier. So, I did the layout and built one. And like Mr. Murphy loves, of course, it didn't work.
I started with the usual troubleshooting stuff. Is it smoking? No. Does it have power? Yes, at the input. Does that power get to the chip? No....first problem. AHA! Ok, now why does it do that? If you look at the screenshot of the layout below, you'll notice why in the circle on the top left. Yep...those two pads in the white circle on the top left? They're supposed to be connected. Easy fix...cut a jumper wire to bridge the gap and press on. Good! After cutting the jumper, soldering it in place, and testing with a voltmeter, I now had power to the Chip on Pin 14. Good, I moved on.

I connected an audio source from a cheap E-Bay audio signal generator that I build a few months back. I've never really tested it out, other than to know that it actually produces an audio output that can be heard on a speaker. I turned the volume down on it and set it roughly to a 1000 Hz tone (I don't have perfect pitch, but it's close enough for amateur purposes), hooked it and a speaker to the board, powered it on, and ........nothing. A close watch of the current draw on the power supply told me that it wasn't drawing enough power to be amplifying anything... 8-12 milliamps if my memory serves me correctly. It was low, that's for sure.
So, I spent about 20 minutes double checking voltages, and then I decided to put my audio signal generator on the oscilloscope to make sure it was actually producing a wave. Well, I did, and what did I find? The peak-to-peak voltage was around .5V, but the RMS was up around 6V. Upon closer inspection, I realized that the sinewave was riding on top of DC. I'll have to fix that later, so that test was junk. I don't think it fried the board, as there's a capacitor on the audio input, but I pulled the LM380 out of its socket anyway and replaced it with a new one just to be safe. Then, I dialed in a 0.2V, 1000 Hz tone from my Feeltech signal generator (which I know is good enough for testing) and connected it to the input of the audio amplifier circuit. Still, no sound coming from the speaker.
After going on, I was struggling to figure out why my chip still wasn't amplifying. a known good input signal. It had power, but there was no output at the speaker end. I know my components were good before soldering to the board, as I tested all of them. Plus, the likelihood of having two back-to-back dead LM380 chips was slim. Something else had to be up. I went to the datasheet to make sure that I had all my pins sorted out correctly. If you were wondering why there were two white circles drawn on the layout pic, now you can begin to figure out why. The other layout error is circled on the bottom right. The datasheet says that pin 8, not pin 9, is the output pin of the LM380. So, while still a simple fix, this one was a little more involved. I cut the trace from pin 9 to the output cap and lifted the entire trace so that it wouldn't be a problem. I then made up another jumper and soldered it from pin 8 to the cap. I hooked everything back up again and Bob's your uncle.
It was quite noisy though, so I did some noodling and reading. I figured it had to be something with the coupling of the signal to ground. So, I tested it by putting a 100nF cap across pin 6 and ground, and the problem went away. I soldered that cap in place permanently and called it a night.
With the audio amp sorted out, I'll spend the weekend researching on how I'm going to sort the antenna amplifiers out.
73s,
Jason
No comments:
Post a Comment