Miceuz / i2c-moisture-sensor

I2C based soil moisture sensor
Apache License 2.0
240 stars 72 forks source link

Temperature Funky above 25° #35

Closed vrenaville closed 3 years ago

vrenaville commented 3 years ago

Hello,

I currently have a rugged version of i2c. It's connected to a RAK 5205.

If Temperature raise above 25° temporature goes funky, 0 c° , 12°c etc .... when the night comes and the temperature goes below 25c°, it's fine.

My setup:

Do you have this kind of issue in the past ?

Kind regards,

Vincent

mindforger commented 3 years ago

i noticed that too, on hotter days it seems the value is jumping heavily

vrenaville commented 3 years ago

I was related to my code I only read the first byte :D

Miceuz commented 3 years ago

i noticed that too, on hotter days it seems the value is jumping heavily

Please check if you are reading two bytes from the sensor. Also if sun shines onto the sensor this will make the temperature fluctuate with clouds, shadows, etc covering the sun.