Temperature & Humidity

The SHT35-D sensor has an excellent ±2% relative humidity and ±0.3°C accuracy for most uses. It has increased intelligence, reliability and improved accuracy specifications compared to its predecessor. Its functionality includes enhanced signal processing, two distinctive user selectable I2C addresses and communication speeds of up to 1 MHz.

Pinout

GND

Common ground for power and logic.

3V3

The power pin. The chip accpets 2.4 - 5.5 V for power.

SCL

I2C clock line. A 10k external pull-up resistor to VCC is required.

SDA

I2C data line. A 10k external pull-up resistor to VCC is required.

The default I2C address is 0x44 and can be changed to 0x45 by switching the toggle switch.

Getting Started

Quick Reference

Create object

Rath::SHT35 sensor = Rath::SHT35();

Initialize

sensor.init(0x44);

The 0x44 is the I2C address that the sensor is set to. If the address selection switch is turn to 0x45, then put 0x45 as the function argument.

Read temperature

sensor.getTemerature();

Returns the temperature in °C.

Read Humidity

sensor.getHumidity();

Returns the humidity in % (0 - 100).

Soft Reset

sensor.reset();

Heater Control

sensor.enableHeader();
sensor.disableHeader();

The heater is used to evaporate any condensation on the sensor.

Resources

SHT35 Datasheet

Last updated

Was this helpful?