Gravity: SHT31-F Temperature and Humidity Sensor

SKU: SEN0334

Gravity: SHT31-F digital temperature & humidity sensor uses Sensirion SHT31-F IC with CMOSens tech, offering high reliability, low power, fast response, and strong anti-interference. It supports IIC, compatible with 3.3V/5V controllers (Arduino, micro:bit, ESP32). Ideal for IoT apps (urban monitoring, smart buildings, etc.). Accuracy: ±2% RH (0-100% RH @25°C), ±0.2°C (0-90°C typical). Features PTFE membrane (IP67) for harsh conditions (water/dust), no response time impact, but not for volatile chemicals.

Overhead shot of SHT31-F sensor IC on black circuit board with USB connector-DFRobot product sku:SEN0334 image.
  • Docs
  • Tech Specs
  • Projects
  • Certifications
  • 1. Getting Started

    2. Example Code for Arduino-Period Measurement Mode

    In periodic measurement mode, the sensor samples temperature and humidity at a user-defined frequency.

    3. Example Code for Arduino-Single Measurement Mode

    In single measurement mode, the sensor collects data every time the controller board sends out the data collecting command. The power consumption could be very low in this mode since users can read data according to their needs.

    4. Example Code for Arduino-Temperature & Humidity Alarm

    Set the temperature and humidity threshold. The pin INT generates an alarm signal when exceeding the threshold. Experimental phenomenon: The user can customize the temperature and humidity thresholds, and the ALERT pin generates an alarm signal once the values exceed the user-defined threshold.

    Reference

    Specification

    Parameter Value
    Operating Voltage 3.3~5.5V
    Operating Current <1.5mA
    Humidity Accuracy ±2%RH
    Humidity Detection Range 0%RH~100%RH
    Temperature Accuracy ±0.2℃
    Temperature Detection Range -40℃~125℃
    Communication port Gravity-IIC 4pin
    Outline Dimension 32x22mm/1.26x0.87”
    Mounting Hole Size 3mm/0.12”
    Mounting Hole Pitch 15mm/0.59”

    Pinout

    SEN0334 Top View

    SEN0334 Bottom View

    Name Description
    SDA Data line
    SCL Clock Line
    GND Negative
    VCC Positive
    INT Alarm Interrupt
    RST Reset
  • CE CE
  • RoHS RoHS
  • Was this article helpful?

    TOP