Have a look at a RCWL-0516 "radar" sensor. This fits exactly your latest specs you posted. It's a rectangle, long and thin.
I'm using these sensors to detect the presence of living objects.
Thanks for the hint and explanation. I appreciate that!
I always used the search term: "conversion" (English is not my native language). I tried "casting" in combination with "c#" and I was almost immediately directed to my favorit c++ internet source (cplusplus.com)
Conversion from int (or byte) to float and vise versa is something that often brings me a headache.
I literaly spend many hours searching for a good guide in via google, but never really found one.
Are you maybe aware of a good guide how to properly do the conversions between different types (byte from floats etc. without getting involved in memory hungry libraries).
temperature = data.celsiusHundredths/100;
In my opinion does the above line not cohere with the statement that the steps are greater than .5 degrees fahrenheit.
Have you tried using:
temperature = data.getFahrenheitHundredths/100;
and what was the result.
Could it be you've been playing with the examples as provided with the library from LowPowerLab and you accidentally forgot to "turn the heater off"? I'm guessing at the moment, but you could end up with the device being heated up in the range of 70ºC (which is 158 degrees fahrenheit... )
Looks to me as if the sensors perform as specified (acc. to the datasheet etc.):
Relative Humidity: absolute accuracy tolerance of the RH: +/- 3
Temperature: in the range 0-65ºC: +/- 1.0 ºC
BTW: The datasheet says the following about the temperature:
If you'd like someone to answer on this, I think it's good to give a little more background.
As you're getting readings it tells me that it's been hooked up, but not if it's hooked up correctly. Please provide some info on how that's done. Images as well as schematics will be helpful.