# Load cell outputs "nan"

**URL:** <https://community.sparkfun.com/t/load-cell-outputs-nan/42975>\
**Category:** Force & Weight\
**Created:** [October 30, 2021, 10:10pm UTC](https://community.sparkfun.com/t/load-cell-outputs-nan/42975 "2021-10-30T22:10:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex1000](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Alex1000](https://community.sparkfun.com/u/Alex1000)\
**Post date:** [October 30, 2021, 10:10pm UTC](https://community.sparkfun.com/t/load-cell-outputs-nan/42975/1 "2021-10-30T22:10:33Z")

</div>

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.

 ![IMG-1031.JPG](https://canada1.discourse-cdn.com/sparkfun/original/3X/a/b/ab6161a39379fdca4fd3a94a1024957e45c89641.jpeg)

 ![IMG-1030.JPG](https://canada1.discourse-cdn.com/sparkfun/original/3X/c/2/c2883ba40ff1df84d17090badb790f25d9957d27.jpeg)

---

<div class="post-metadata">

**Author:** ![YellowDog](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/yellowdog/32/1782_2.png) [@YellowDog](https://community.sparkfun.com/u/YellowDog)\
**Post date:** [October 31, 2021, 11:09am UTC](https://community.sparkfun.com/t/load-cell-outputs-nan/42975/2 "2021-10-31T11:09:19Z")

</div>

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