Load cell outputs "nan"

I have a setup with:

  1. An Arduino Uno

  2. A Sparkfun HX711 Load Cell Amp

  3. 10kg load cell

  4. Arduino software 1.8.16 is installed on my laptop, using the calibration example code from the HX711 library.

My issue:

  1. I tare the load cell

  2. I add a known weight, inputting the number in grams in the script.

  3. Calibration value is 0

  4. Outputs “nan”

  5. 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.

Your header pins need to be soldered too the hx711 board for it to work.