yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Temperature Humidity Module📖
1.Introduction of module
  • Introduction
2.Tutorial
Arduino
  • Detect temperature and humidity
Micro:bit
  • Voice broadcast temperature and humidity
STM32
  • Temperature_and_humidity_module
Download ZIP

Welcome to Temperature Humidity Module repository

Detect temperature and humidity


Detect temperature and humidity

1. Purpose

In this course, we mainly learn to use Arduino, vibration motor module and limit switch module to realize limit switch control vibration motor.

2. Preparation

Wiring diagram as shown below.

image.pngimage.png

Note: As shown in the figure below, we use the Uno sensor expansion board. If you don’t have an expansion board, you can connect the Arduino board and the sensor module by DuPont lines.

3. About code

Please check .ino file.

4. Compiling and downloading code

4.1 We need to open the .ino file by Arduino IDE software. Then click“√”under the menu bar to compile the code, and wait for the word "Done compiling " in the lower left corner, as shown in the figure below.

image.png

4.2 In the menu bar of Arduino IDE, we need to select 【Tools】---【Port】--- selecting the port that the serial number displayed by the device manager just now, as shown in the figure below.

image.png

image.png

4.3 After the selection is completed, you need to click “→”under the menu bar to upload the code to the UNO board. When the word “Done uploading” appears in the lower left corner, the code has been successfully uploaded to the UNO board, as shown in the figure below.

image.png

5. Phenomenon

After the program is downloaded successfully. The serial port prints Temp: temperature value, Humidity: humidity value every 1s.

Open the serial port debugging assistant and set the baud rate to 115200. Open the serial port and observe the interface as shown below.

image.png 


Introduction
Voice broadcast temperature and humidity

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文