1 year, 8 months ago.

How to use opamp and set gain for STM32-F303RE?

I need to set gain on my ADC inputs (reading a strain gauge) - is this possible using MBED or am I better off biting the bullet and using CubeMX?

1 Answer

1 year, 8 months ago.

Hello Shane,

I'd suggest to connect the strain gauge to a HX711 module (24-Bit Analog-to-Digital Converter (ADC) for Weigh Scales available on eBay for less than $1) for example as shown here. The HX711 module is equipped with a low-noise programmable gain amplifier and that will allow you to set the gain and process the data with one of the HX711 user libraries available for Mbed targets, for example: