Shop by category
Shop all componentsSensors & MCUs
Factor = (raw loaded − raw tare) ÷ known weightWeight = (raw reading − raw tare) ÷ factorTare 84,000 and 424,000 with a 500 g weight: factor = 340,000 ÷ 500 = 680 counts per gram. A reading of 254,000 is (254,000 − 84,000) ÷ 680 = 250 g.
A load cell outputs a few millivolts, which the HX711 amplifies and converts to a 24-bit number. The number itself has no units: you calibrate by weighing something of known mass and dividing the change in reading by that mass.
After calibration the factor stays fixed, but zero drifts with temperature, so re-tare at power-up. Mount the load cell firmly, keep the wires short, and choose a cell with a capacity just above your maximum load for the best resolution.
Read the raw value empty (tare), place a known weight, then factor = (raw loaded − raw tare) ÷ known weight.
Temperature changes, a loose mounting and a weak 5 V supply cause drift. Re-tare at start-up and keep the wiring short.
Something heavy and known, ideally a third to half of the cell's rating, such as a 1 kg pack on a 5 kg cell.
Factor = (raw loaded − raw tare) ÷ known weight; Weight = (raw reading − raw tare) ÷ factor.
Tare 84,000 and 424,000 with a 500 g weight: factor = 340,000 ÷ 500 = 680 counts per gram. A reading of 254,000 is (254,000 − 84,000) ÷ 680 = 250 g.
Geekobot builds that use it include Servo kitchen scale dial, Why things feel lighter in water, Scale fill ring and Parcel weight limit voice. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators