Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

Humidity and Temperature Data Fetch

$
0
0

Hi guys.

I collecting data from hih-6130-i2c and when i wanna convert incomings bits to number my temperature sits but humidity never. I think its problem in first byte.

image.png

 

S0 is status bit so it does not affect the resulting value but when i read firts byte i get wrong number.

image.png

127 is wrong right ? I need cut first bit ?

 

My other question is on the getting right forms 14 bits data.

image.png

 

Can I do that like this ?  

 

Equation.

image.png


Viewing all articles
Browse latest Browse all 2167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>