Grove - Temp&Humi Sensor(SHT31)

Introduction

Grove - Temp&Humi Sensor(SHT31) is a highly reliable, accurate, quick response and integrated temperature & humidity sensor. The sensor(chip) used in the module is designed with Sensirion’s CMOSens® technology. The chip is well calibrated, linearized and compensated for digital output.

The typical accuracy of this module can be ±2%RH (for relative humidity) and ±0.3°C (for temperature). This module is compatible with 3.3 Volts and 5 Volts and hence does not require a voltage level shifter. This module communicates using with I2C serial bus and can work up to 1 MHz speed. We also have provided a highly abstracted library to make this product more easier to use.

Using the sensor is easy. For Seeeduino (compliant with Arduino), just connect this breakout board with the main control board via Grove cable. Then use the provided library and example/demo code available at GitHub to get your data. If you’re using an Arduino without a Base Shield, simply connect the VIN pin to the 5V voltage pin, GND to ground, SCL to I2C Clock (Analog 5) and SDA to I2C Data (Analog 4).

Features

  • Highly reliable, accurate and quick response time
  • Grove compatible and easy to use
  • Well calibrated, linearized, compensated for digital output
  • Highly abstracted development library

Tip

More details about Grove modules please refer to Grove System

Specifications

Parameter Value
Input voltage (VCC) 3.3 volts or 5 volts
I/O Logic Level 3.3 volts or 5 volts based on VCC
Operating Current 100 μA
Operating Temperature -40–125 ℃
Temperature Sensor Range -40–125 ℃, with ±0.3°C accuracy
Humidity Sensor Range 0% - 100%(Relative Humidity), with ±2% accuracy
Sensor Chip SHT31(Datasheet)
Interface Bus I2C
Weight 4 g (for breakout board), 9 g for whole package each piece
Dimensions 40(length)×20(width) mm

Platforms Supported

Platform Seeeduino/Arduino Raspberry Pi Beaglebone LinkIt ONE
Supported status Supported Not supported Supported Supported
Notes If no version number is mentioned for a specific platform, it means this product support all versions within this platform.

Hardware Overview

This module is very easy to use using the Grove interface.

Caution

Do not touch, shake or let this product vibrate while using. Otherwise, it will affect the accuracy of data measured.

Package includes(main parts)

Parts name Quantity
Grove - Temp&Humi Sensor(SHT31) 1 piece
Grove cable 1 piece

Getting Started

Now let us run some basic examples with this module using the library/examples provided.

With Arduino

This section shows you how to build a simple project with Arduino platform. If you are using a different type of main control board, these instructions and source code probably still helps.

Materials required

  • Grove - Temp&Humi Sensor(SHT31) × 1
  • Seeeduino 4.2 (Fully compatible with Arduino) or Arduino UNO (other models also are fine) × 1
  • Grove - Base Shield × 1 (This is optional if you use Seeeduino because there are two I2C sockets on Seeeduino v4.2)
  • USB cable (type A to type B, for Arduino) × 1 or USB cable (Type-A to micro Type-B, for Seeeduino) × 1
  • Grove cable × 1

Connections

If you are using Seeeduino, connect the Grove module to I2C port like:

If you are using Arduino UNO or other compatibles, first attach Grove - Base Shield V2. Then, connect the Grove module to I2C port like:

Coding Work

You can find the demo sketch here and development library here.

  1. A typical demo code. You can upload code to main control board with Codebender.

  2. Download and upload the code. If you do not know how to upload an Arduino sketch, please visit https://www.arduino.cc/en/Guide/Windows for Windows user or https://www.arduino.cc/en/Guide/MacOSX for Mac user. You can see the result as below.

Tip

If you use Seeeduino, please also select Boards under Tools as you upload sketches.

Resources

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking