How to use Temperature and Humidity Sensor Module

Photo of temperature and humidity sensor module

A component that measures temperature and humidity. You can even automatically control air conditioning based on the values.

About the component

The temperature and humidity sensor shown in the red circle in the photo outputs the surrounding temperature and humidity as digital signals.

Photo explaining the sensor position of the temperature and humidity sensor module

Specifications

Voltage3~5V
Communication methodDigital (single bus)
Temperature range-40~80℃
Humidity range0~99%
Size44 x 15 (mm)

Connection

Connect the temperature and humidity sensor module and the SpaceBlock dedicated microcontroller board using jumper wires (male-female) as follows.

  • out pin of temperature and humidity sensor to digital compatible pin of SpaceBlock
  • - pin of temperature and humidity sensor to GND of SpaceBlock
  • + pin of temperature and humidity sensor to 5V or 3.3V of SpaceBlock
Connection method between SpaceBlock dedicated microcontroller board and temperature and humidity sensor module

※The image shows the signal line connected to the A0 pin. Digital compatible pins are A0~A10, A13, A15, B0~B15, C14~C15.

※5V and GND can also be inserted into pins with the same notation on the SpaceBlock dedicated microcontroller board.

How to use

The sensor detects the surrounding temperature and humidity and returns values.
Temperature is displayed in Celsius, and humidity is displayed in %.
You can get values from the temperature and humidity sensor module with blocks in the "Input" category of the project.


For detailed usage of blocks, click here

Get temperature (℃) or humidity (%) from temperature and humidity sensor