Difference between revisions of "Load Cell Calibration"
(Created page with "This is how to scale ("calibrate") the load cells into usable units. This same method can be used for all sensors. ==Theory== In general, we assume the output is linear and...") |
(No difference)
|
Revision as of 07:57, 11 April 2016
This is how to scale ("calibrate") the load cells into usable units. This same method can be used for all sensors.
Theory
In general, we assume the output is linear and use linear scaling based on the formula for a straight line, Y=mX+b Where:
Y is the desired output in engineering units (pounds, kilograms, stones, etc.) m is the slope X is the output from the Analog to Digital Converter (ADC) in counts b is the intercept.
Two known points are required and two equations are solved simultaneously Usually one of the known points is Zero, and the other is a known weight. Zero is used as it is convenient and it simplifies the math. The other point is arbitrary but ideally is near the other end, near full scale (200 KG or 440 lbs if four 50KG load cells are used. (I usually just use my weight, 150 lbs).
With nothing on the scale, read the output of the HX711 ADC by running hx711:
sudo hx711
It will read the HX711 chip 64 times, and display the output of the ADC in binary and decimal with one reading per line and the average of the 64 readings at the end:
Hivetool version 0.7.3 and greater
Hivetool version 0.7.2 and less