# HG-C 1100 sensor

**URL:** <https://forum.arduino.cc/t/hg-c-1100-sensor/864151>\
**Category:** General Guidance\
**Created:** [May 20, 2021, 5:50am UTC](https://forum.arduino.cc/t/hg-c-1100-sensor/864151 "2021-05-20T05:50:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [May 20, 2021, 11:05am UTC](https://forum.arduino.cc/t/hg-c-1100-sensor/864151/8 "2021-05-20T11:05:33Z")

</div>

Hi @PaulRB

> [@PaulRB](#):
>
> no-one here is familiar with this sensor

Oh quite a few of us are.

> [@Linear equation substitution](https://forum.arduino.cc/t/linear-equation-substitution/858391):
>
> Hello guys, I have used the map function in the arduino code. ``` float val = (float)(map(samplse,0,1023,-3500,3500)/100.0); `0 -35 2.61 0 5 35 ` Here I have taken calibration values from the sensor and plotted a graph. First when I use the power graph, I got \*\*NAN x^NAN\*\*. But when I use the calibration values with linear graph, I got \*\*13.9909711599448x - 35.4904301757266\*\*. My question is why in power graph, I am getting NAN. Then If I want to add the calibration values of linear graph …

Tom... 😀 👍 ☕ 🇦🇺

---

_[View the full topic](https://forum.arduino.cc/t/hg-c-1100-sensor/864151)._
