Skip to main content
Graduate II
August 2, 2024
Solved

STM32 OpAmp Differential Strain Gauge Bridge Input

  • August 2, 2024
  • 2 replies
  • 2930 views

Does anyone know if the PGA OpAmp in the STM32 has the ability to interface with a differential input - like a Strain Gauge Wheatstone bridge?  I'm not convinced its going to work because my signal is going to swing +/-50mV, and the OpAmp does no look like it can handle a differential input.  There's probably some jiggly pokery that can be done to condition it externally, just wondered if anyone has any experience before I go down that route myself.

    This topic has been closed for replies.
    Best answer by Rob Ashworth

    Ah ok, so I could do it, except I have the problem that I have 2 sensors, so would need 4 op-amps.  The G4 that handles this is too large, so looks like I'm back to using and external ADC.  Will probably go for something like the ADS1292.  Build in PGA and differential inputs.  Hoping ST bring out a controller with an Instrumentation AMP that can handle Differential signals some time soon.

    2 replies

    Super User
    August 2, 2024

    See in rm opamp :

    AScha3_0-1722600105246.png

    So you could add all circuit you need for biasing etc external and it should work as expected.

    But use up 3 pins to get an opamp with some 3mV offset and about 1000nV/(sqrt Hz ) - no big player for low level signals. :)

    For low level like Strain Gauge Wheatstone bridge i would add a typical chip for such use, like HX711:

    24bit ADC , with bridge PGA input , about 50nV total noise (!) ->

    AScha3_1-1722600915660.png

    + about 2 $ investment...

    Graduate II
    August 2, 2024

    Thanks Ascha, I haven't come across that ADC before.  Looks good except too big for my application.

    Explorer
    August 2, 2024

    If OPA's all 3 pins are accessible , than combine two OPA.

    Circuits successfully implemented in one of my projects with nucleo-G474re.

    *resistors 10k - internal PGA matrix.

    Differential PGA.png

    Rob AshworthAuthorAnswer
    Graduate II
    August 2, 2024

    Ah ok, so I could do it, except I have the problem that I have 2 sensors, so would need 4 op-amps.  The G4 that handles this is too large, so looks like I'm back to using and external ADC.  Will probably go for something like the ADS1292.  Build in PGA and differential inputs.  Hoping ST bring out a controller with an Instrumentation AMP that can handle Differential signals some time soon.

    Explorer
    August 2, 2024

    If G4 is too large, than ads1292 is small? Have you compare footprint?

    BTW, STM has stm32f373 IIRC, with SD adc.