Earlier quoted context omitted.
You can just buy strain gauges which are specially cut copper foils on a thin plastic substrate that you glue to something, like a metal strip. The resistance changes very slightly as the metal bends. You measure the change in resistance with a wheatstone bridge tuned correctly. You basically just need a strain gague (a few dollars), 4 resistors, an op-amp, and a microcontroller with an ADC. Calibration is important…
Not every scale with milligram repeatability has milligram accuracy, and not every scale with milligram resolution readouts has milligram repeatability. You probably know that, but not everyone reading this does. (This one might be fine? It does claim to have a 50.000g calibration weight, which is a good sign, but it doesn't say anything about metrological traceability, which is a bad sign.)
It's a $20 scale, if you had need of metrology you wouldn't be buying a $20 scale. Most of us do not need metrology. I want to make small amounts of pickles with perhaps unreasonably precise measurements of salt at scales where half a gram or maybe a tenth of a gram is significant.