Hey guys
I'm doing an audio project which requires a few op-amps. I started using LM342's. With a basic voltage follower circuit (circuit 1 in the pic below), without any resistors, the output is perfect. However, as soon as I add resistors, a glitch appears on the output. A little spike just above ground when I'm inputting into the non-inverting input, (circuit 3) and just below ground when I'm inputting into the inverting input. (circuit 2) The rest of the signal is fine, but every time it passes that specific voltage, there's a small spike.
I'm running it off the + and - 12V from an old PC power supply. Tested with two different inputs - A pretty old oscillator outputting a sine around 2V, and my tablet outputting a sine wave from the audio jack (here I had to change the resistor values to amplify the signal enough that the wave passed the point at which the glitch occurs) I even changed the IC out to make sure it wasn't a faulty IC, but the same thing happens with the new one as well.
I'm pretty new to electronics. Am I missing something really simple?
Circuits: http://users.silenceisdefeat.net/~djbksa/Tests.png
I'm doing an audio project which requires a few op-amps. I started using LM342's. With a basic voltage follower circuit (circuit 1 in the pic below), without any resistors, the output is perfect. However, as soon as I add resistors, a glitch appears on the output. A little spike just above ground when I'm inputting into the non-inverting input, (circuit 3) and just below ground when I'm inputting into the inverting input. (circuit 2) The rest of the signal is fine, but every time it passes that specific voltage, there's a small spike.
I'm running it off the + and - 12V from an old PC power supply. Tested with two different inputs - A pretty old oscillator outputting a sine around 2V, and my tablet outputting a sine wave from the audio jack (here I had to change the resistor values to amplify the signal enough that the wave passed the point at which the glitch occurs) I even changed the IC out to make sure it wasn't a faulty IC, but the same thing happens with the new one as well.
I'm pretty new to electronics. Am I missing something really simple?
Circuits: http://users.silenceisdefeat.net/~djbksa/Tests.png