ADC input works with potentiometer but not with AC signal from sensor!!?

MisterBill2

Joined Jan 23, 2018
27,874
Any solution please?
YES! There is a fairly simple solution to the problem of the DC voltage from the amplifier. It will require a fixed resistor probably 10,000 ohms, and a variable resistor, (potentiometer), at least 10K ohms. One end of the variable resistor will connect to the +5 volt supply and the other end will connect to the ground connection of your circuit, the pin11 connection, of the circuit in post#1. The variable tap will connect to the negative input terminal of the amplifier, where the 10K and 330K resistors connect. Then you adjust the variable resistor to null out the sensor voltage so that when nothing is sensed the output is zero, or as close to zero as you need it to be. A textbook covering basic op-amps will explain exactly how the circuit works with all of the drawings and math to make it clear. Hopefully this answer is helpful and even useful.
 

Thread Starter

ashokraj

Joined Feb 1, 2018
151
hi ashok,
The circuit posted by @bertus works as well as it can do when using a LM324, a rail2rail OPA would give almost a full 0v thru +5Vout.
This is a LTS sim of the circuit using a LM324, which in my opinion is not the best choice when using a single 5V supply.

Note: Vso connects directly to the ADC input.
E
https://drive.google.com/open?id=1bpUAuofjfqc9WjjbQrOEimKDiBwhkl_W

The simulation results show a DC wave only but my signal is going to negative too. Is there a way I only get above 0? The graph in the attached picture, channel 2 is driven by function generator with 1KHz, 220 Vpp.
 

MisterBill2

Joined Jan 23, 2018
27,874
Do you have suggestion for through hole opamp? above mentioned opamps by you are very tiny, I assume they are used in pcb's only.
the TL081, and TL071 are usually available in 8-lead dip packages. For the other types, check with DigiKey, since they carry many devices in a number of different packages.
 
Top