Sensors SHT35, SHT31 and SHT30

Chinese modules price: 7-17$

Adafruit SHT31 module price: 18$ + tax + delievery


Library: arduino-sht (github)

I2C device address, 0x44 or 0x45

datasheet

Connect


#include <Wire.h>

#include <SHTSensor.h>

SHTSensor sht;

void setup() {
  // put your setup code here, to run once:

  Wire.begin();
  Serial.begin(9600);
  delay(1000); // let serial console settle

  if (sht.init()) {
      Serial.print("Sensor Senserion SHT3X");
      Serial.print("\n\n");
  } else {
      Serial.print("init(): failed\n");
  }
  sht.setAccuracy(SHTSensor::SHT_ACCURACY_HIGH); // only supported by SHT3x

}

void loop() {
  // put your main code here, to run repeatedly:

  if (sht.readSample()) {
      Serial.print("  T:  ");
      Serial.print(sht.getTemperature(), 2);
      Serial.print("  ");
      Serial.print("  RH: ");
      Serial.print(sht.getHumidity(), 2);
      Serial.print("\n");
  } else {
      Serial.print("Error in readSample()\n");
  }

  delay(1000);
}

Chinese modules Test Results

Other sensor test examples

Sensors test examples: 

v1 draft multiple humidity sensors comparision

Test 1 with SD datalogging 2 mux 20 hours

Test 1 SD Datalog with AHT10 and high humidity

Test 4 v5 High Humidity

Test 5 v5 saturated salt solution

Test 1 v6 balcony RH47-RH50

Test 4 v6 Saturated NaCl solution

Test 5 v6 above water

Test 2 v7 room RH12 low humidity

Test 3 v7 balcony RH15-92 changing humidity

Test 4 v8 RH12 to RH94#SensirionSensorsHumidity

Test 1 v8b Balcony high to mid RH

Test 1 v9 humidity absorber draft

Test 2 v9 steam in bathroom