Thank you for that. I attached my current answer. However just changing that didn’t seem to make a difference. I have however allowed it to sleep in between reading and writing and that gives me weird out put like:
Good are you using the sparkfun breakout?
I’ve used several for over a year and
sparkfun uses D3204
+/-3%RH tolerance @55%RH
Temperature Accuracy @25°C typ ±0.3 °C
@controlCloud you mean me… right? i have the D3204 laying around and will try it. My NTC and LM35 isn’t good enough. I got a lot of different readings although i used averaging.
is there a nice/good way to put the HTU21 in a case?
It’s what i wonder about every temp sensor, how to put it in a case and still get
the right temperature.
For the record the code that boffin wrote is very close to mine. I appreciate the look at other people’s code. The hardest part of some of these project is getting the wires correctly placed or making it look “pretty.” Boffin I’m hoping maybe you have some pictures of what you did??
@Boffin - I’m using your code and am getting an error: " ERROR: the index ‘0’ does not exist"
I believe I’ve connected the HTU21D correctly and so am not sure why I’m getting this, but is it telling me there’s an issue with the code or that I’m not getting data from my HTU21D? Any help is appreciated. Thanks!