-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off the heater on the SHT40 #34
Comments
The arduino-sht library has no heater support as of today; however, there was an issue in the past where the first reading was high (see issue #27). And when you are seeing the high values, are they continuing to be too high, or is it just the first sample? Also, which version of the library are you using? 1.2.4 is supposed to have a fix for this |
Please note that the driver specific to SHT4x https://github.com/Sensirion/arduino-i2c-sht4x supports to set the heater power. |
The problem arises if you leave the measurement in setup(). The reason is that I want to quickly measure and put the device to sleep. But during this measurement it was 30°C. If I LOOP() the measurement, I get a much lower temperature, 24°C, which is OK. |
Which version of the library are you using? |
Latest. |
Does the problem occur if you explicitly instantiate SHTSensor with an |
FYI: I just released v1.2.5, since it appears v1.2.4 was not picked up properly by the Arduino Library Manager. No code changes were made in this release If you were previously using the Arduino |
I use SHT40 and if I measure I get 30°C. If I use the Adafruit_SHT4x.h library, I measure 23°C. I think the heater is on because if I use SHT4X_LOW_HEATER_100MS on the Adafruint I get 30°C. If I turn it off sht4.setHeater(SHT4X_NO_HEATER); I get back 23°C.
The text was updated successfully, but these errors were encountered: