OpAmp Voltage Troubles

I am currently building a digital scale and need to detect the voltage values of a strain gauge. I have set my strain gauge up in a wheat stone bridge configuration and when bent, the gauge varies by 0.01 volts. I needed to amplify this, so I used an OpAmp set up as a differential amplifier to boost the signal. For now, I want to double the voltage differance and so I use 5K resisters in my bridge and 10K in the opamp. I should be getting .02volt but instead get 1.25 volts. It seems that it is dividing the suppied voltage by two instead of the difference and no matter what resistors I use this value remains the same. Eventually, I would like this to work by converting the .01 differance to 12v. Any help would be greatly appreciated

Working with small signals and high gains (which you will eventually need) is tricky... You'll probably be fighting noise & instability, especially on a breadboard. :frowning:

Most op-amps work best with positive & negative power supplies, especially if you want the output to go all the way to zero. Your particular op-amp may not go lower than about 1V if there is no negative power supply. There are "rail to rail" op-amps but I assume they only get close to the power supply.

You can't feed more than 5V into the Arduino, and you would need a power supply of at least 12V.

Maybe buy one of these.

For a Wheatstone bridge, use an instrumentation amplifier like the INA125. They are designed for the purpose.

But for a strain gauge Wheatstone bridge, the HX711 is much easier to use, because it has a differential amplifier and ADC built in. A web search for "arduino hx711 strain gauge" will turn up lots of tutorials.

For the project I'm working on, I have to stay with opamps and no daughter boards. Its not just the small voltage that's causing an issue. If I try to amplify even 3.3v is doesnt do anything. I think I may have the circuit set up incorrectly

Which opamp.
Why do you power it from V-in instead of 5volt.
Please post a circuit diagram (that Fritzy toddler picture is not a diagram).
Leo..

Hi, @mikaelsavage

Can we please have a circuit diagram?
An image of a hand drawn schematic will be fine, include ALL power supplies, component names and pin labels.

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

Where did you find a 5k resistor?
Does your opamp have pin2 as vcc? Not impossible, but unusual...

1: your diagram doesnt show a strain guage.

2: what are the specs of the strain guage (LINK Please)

3: a symmetrical whetstone bridge produces two outputs at Vcc/2. You need to cater for imbalance + or - so the output from the difference amplifier should also be at Vcc/2.

"AN Op Amp" isnt good enough. There are a few (countless) different ones.

Read this

Why would you want 12V to measure with an arduino?

The opamp I am using is an ina121p.
Here is a drawn diagram and a virtual one. I am still quite new to these, so ask if something seems off.
I chose Vin for my power supply because it will supply me 9 volts from the battery instead of the 5 volts. I believe this will allow me to reach a higher amplification rate. Correct me if I am wrong.
The 5K resistors came in an elegoo electronics kit that I received a while back.
I have also attached the opamp data sheet.
https://www.ti.com/lit/ds/symlink/ina121.pdf?ts=1677332744719

20230226_010211.jpg

That's not just an opamp. It's an instrumentation amp.
You currently have no gain resistor connected, so amplification is 1x.

The output can swing to 8volt on a 9volt supply, which could damage the Arduino pin.

Please redraw your diagram with the wheatstone bridge in the traditional diamond shape, so we won't have to stand on our heads to understand your connections.
Leo..

Hi,
Did you look at the application circuits on that datasheet?

What is the spec of your strain gauge?
Can you please post link to data/spec of the strain gauge?

This is how your circuit in post #9 is configured.
What is R1 doing, where is your strain gauge?

Tom.. :smiley: :+1: :coffee: :australia:

Don’t forget you will need to use a reference voltage for the ADC ( internal ?) for the Arduino part too. So you only need 1v full scale output .
Circuit looks a bit odd , can you post all of it ?
And …..

You can buy the Hx711 as a chip if you don’t want to have a breakout board .
This has got to be the best route .

Do you see that both vcc and ground are not connected to the correct pins in your fritzy diagram...

The INA121 is NOT an op amp. It is an instrumentation amplifier, as I already suggested that you use, and is used very differently than an op amp.

Spend some time studying the INA121 data sheet, which included typical application circuits.

The bridge won't be useful with a single strain gauge unless you include some means of balancing it.

So how would I use ina 121 to do what I need it to do since you recommend an instrumentation amplifier. Also, I forgot to add that the second 20k resistor is my strain guage. Came with a sparkfun kit and has no identification

Read the data sheet, linked in post #14.
Capture

the second 20k resistor is my strain guage

There are no 20K resistors in the schematic.

I am currently new to drawing circuits and the virtual one is what tinkercad converted for me. For a more clear circuit look at the drawing I had attached. I saw the diagram and understand that part. My issues, since being new to this, is taking that and implementing it on a breadboard. It looks like only one of the voltages goes into the ina on that picture, so would I need two ina121?

One INA121 is used to read one Wheatstone bridge, as shown in this schematic:

Capture

Please study the INA121 data sheet, and search on the web for tutorials: "arduino ina121 bridge", for example.

Very first hit for me: instrumentation amplifier and Arduino - #4 by TomGeorge

The INA121 output will never go below 250mv (typical) if you use a single supply.
You must use +/- supplies with the INA121.
For single supply operation the AD623 would be good.

Bottom left circuit of that post would sort-off work, but an INA121 has limited output swing on a single 5volt supply. Expect poor range and poor resolution compared to a HX711.
Leo..