I have a setup with:
-
An Arduino Uno
-
A Sparkfun HX711 Load Cell Amp
-
10kg load cell
-
Arduino software 1.8.16 is installed on my laptop, using the calibration example code from the HX711 library.
My issue:
-
I tare the load cell
-
I add a known weight, inputting the number in grams in the script.
-
Calibration value is 0
-
Outputs “nan”
-
nan means “not a number”. It is as if it is reading information that is not in numeric format.
Calibration script output:
17:45:53.262 → Starting…
17:45:55.652 → Startup is complete
17:45:55.652 → ***
17:45:55.652 → Start calibration:
17:45:55.652 → Place the load cell an a level stable surface.
17:45:55.652 → Remove any load applied to the load cell.
17:45:55.652 → Send ‘t’ from serial monitor to set the tare offset.
17:46:12.956 → Tare complete
17:46:12.956 → Now, place your known mass on the loadcell.
17:46:13.002 → Then send the weight of this mass (i.e. 100.0) from serial monitor.
17:47:28.264 → Known mass is: 117.00
17:47:28.264 → New calibration value has been set to: 0.00, use this as calibration value (calFactor) in your project sketch.