This application reads the raw value for a slot and makes the basic operation of a precision balance (tare and calibration).
The tainted value, read input slot, is processed. An average adaptive stabilizes the readings, then apply the tare and calibration. Finally the value, converted to grams, is displayed and written for the output slot, ready to be used by other applications on the system.
The whole processing is a few lines, in the main form, so it is easy to make changes, for example, to add imperial units.
We tried reading a load cell derived from scales that can be purchased for a few dollars on eBay. The load cell has been linked directly to Theremino Adc24 and the measured value is a very stable and accurate result. So we can measure perfectly even hundredths of a gram, even if the scale used was not of great quality and read only the tenths.
To see how to connect the load cells, read the document you download from this page: http://www.theremino.com/hardware/inputs/sensors#loadcell