How to use 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.

Specifications
Voltage | 3~5V |
---|---|
Communication method | Digital (single bus) |
Temperature range | -40~80℃ |
Humidity range | 0~99% |
Size | 44 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

※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