Grove - Temp&Humi Sensor(SHT31)
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).
- Highly reliable, accurate and quick response time
- Grove compatible and easy to use
- Well calibrated, linearized, compensated for digital output
- Highly abstracted development library
More details about Grove modules please refer to Grove System
|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|
|Weight||4 g (for breakout board), 9 g for whole package each piece|
|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.|
This module is very easy to use using the Grove interface.
CautionDo not touch, shake or let this product vibrate while using. Otherwise, it will affect the accuracy of data measured.
Package includes(main parts)
|Grove - Temp&Humi Sensor(SHT31)||1 piece|
|Grove cable||1 piece|
Now let us run some basic examples with this module using the library/examples provided.
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.
- 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
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:
A typical demo code. You can upload code to main control board with Codebender.
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.
TipIf you use Seeeduino, please also select Boards under Tools as you upload sketches.
- EAGLE schematics, PCB files and PDF schematic
- SHT31 Sensor Datasheet
- Library and example code on GitHub
- I2C How-to for Arduino
Help us make it better
Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!