ATmega32 withRC filter and OpAmp

filteroperational-amplifierremote control

In my circuit (picture below), ATMEGA32 output is connected to a RC filter (R=100K, C=10uF 63V) to non-inverting terminal of OpAmp (LT1006). OpAmp is configured as voltage follower (Buffer Amplifier). Voltage in non-inverting terminal varies (0 to 5 V) by changing values in OCR1 register of ATmega32.

OCR1 of

Theoretically, in a buffer amplifier configuration, output will be the same with respect to input of an OpAmp but in this case the output go high rather than input (eg: input=1.45 V, output=2.68 V).

I connected different voltage from other source to non-inverting terminal output will be the same so the mistake is happening while connecting via RC filter.

Would anyone kindly give any solution for this?

Best Answer

The OPAMP is totally unsuited to what you want with a 5V power supply.

  • It has an input voltage range of 0V to about 3.5V
  • It has an output voltage range that might reach down to 1V and probably won't rise above 4V. It's guaranteed to swing only to 2V of either supply rail on a +/-15V rail.

Fix this then re-examine the problem you are having by disconnecting the output transistor (just to make sure this isn't causing a problem due to mis-wiring the device.

Try an AD8605 for the op-amp - it has rail-to-rail input and output capability but still remember that getting it's output down to 0V when the most negative rail is 0V isn't going to happen - you might get the output down to 50mV or a bit less.