TINKER PiEDESIGN IN INDIA

Temperature + humidity SHT31 with TinkerPie

A lab-grade climate sensor.

TypeSmart sensors (I2C)
Connect toSENSOR port · 0x44
Gives°C and % RH
SimulatorYes: a control appears under the simulated board

How it works

The SHT31 is a high-accuracy temperature and humidity sensor used in weather stations and labs. It measures both inside one chip and sends the results over I2C (address 0x44).

How to wire it

Plug into any SENSOR 1-4 port (SDA, SCL, 3.3 V, GND). Each type has a fixed I2C address, so different types can share the bus.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.shtTemperature()
sensors.shtHumidity()

// Arduino C++
sensors::shtTemperature()
sensors::shtHumidity()

Good to know

Try it in TinkerPie Studio

Similar modules

More projects to try

Questions

Can I try the Temperature + humidity SHT31 without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

Which climate sensor should a class start with?

Start with the DHT11 for simple projects. Move to the AHT20 or SHT31 when you need accurate numbers, for example in a greenhouse or a weather log.