I hope none of my students are reading this.
This semester, I decided to upgrade from the old LM386 (which is sort of
a '65 Plymouth Valiant) to something a bit newer. Poking around a little
bit, I saw many references to the TDA2822M, which boasts somewhat better
sound and is a stereo amp still in an 8 pin DIP.
Circuit is dead simple, basically variations straight from the
datasheet, e.g.:
http://electronics-diy.com/low-power-stereo-amplifier-tda2822.php
although I've tried a few others.
My problem is, as soon as I power up, I get a loud buzzing sound, even
with the inputs shorted to ground. So the amp must be oscillating, but why?
Output signal, before the bypass caps, is roughly a square wave with
some exponential rise and decay, around 170 Hz. I'm driving a pair of
small 8 Ohm speakers.
Power supply voltage is showing the same oscillations, but a more square
wave. I'm using a 9V battery, so likely when the speaker goes on it
drags down the power supply. I tried adding more bypass caps but this
didn't help.
Perhaps my 9V battery can't provide enough current for this? Tried it on
two bench power supplies. The ripple drops drastically but the
oscillation does not cease.
I double and triple checked my wiring. I took it all apart and rebuilt
from scratch.
What am I doing wrong?