Adafruit SHT40 SHT41 and SHT45 Shields
Overview
The Adafruit SHT40 SHT41 and SHT45 Shields feature a Sensirion SHT4x Humidity and Temperature Sensor and two STEMMA QT connectors. It measures temperature and humidity. See for example the SHT40 sensor.

Adafruit SHT40 Shield (Credit: Adafruit)
Requirements
This shield can be used with boards which provide an I2C connector, for
example STEMMA QT or Qwiic connectors.
The target board must define a zephyr_i2c
node label.
See Shields for more details.
Pin Assignments
Shield Pin |
Function |
---|---|
SDA |
Sensor I2C SDA |
SCL |
Sensor I2C SCL |
See sensirion,sht4x
for details on possible devicetree settings,
for example regarding the trade-off between speed and repeatability.
This shield definition assumes an I2C address of 0x44.
Programming
Set --shield adafruit_sht4x
when you invoke west build
. For example
when running the Generic digital humidity temperature sensor polling sample:
# From the root of the zephyr repository
west build -b adafruit_feather_rp2040 --shield adafruit_sht4x samples/sensor/dht_polling
west flash