桂花蒸

[Tuya Smart] Temperature and humidity collection-GD32

 
Overview

Use GD32 microcontroller + Tuya module to collect and view temperature and humidity

Introduction: This project uses GD32 microcontroller and tuya's wifi module to collect temperature and humidity. The temperature and humidity module uses SHT30 or DS18B20. By using tuya module to link to Tuya Cloud, the mobile APP displays in real time. When the temperature is lower or higher than the set temperature, Alarm records can be stored in flash. Lead out the remaining IO port of the microcontroller, and you can connect an external relay to control the heater heating or humidifier, or you can connect an external OLED display or digital tube to display the value.

Features

Button function: Click the wifi reset button to enter smartconfig mode for wifi network configuration. Temperature and humidity: Use SHT30 temperature and humidity module or DS18B20 to collect temperature USB interface: It can provide power supply and communication. It uses CH340E chip, which can print system information and facilitate debugging. Microcontroller: Use GD32F103RBT6 MCU. WIFI module: Tuya’s WBR3 module. IO port: Lead out the remaining IO ports of GD32F103RBT6, and can be connected to an external display screen or LED digital tube to display values.

Completion

Schematic and PCB design are complete. Before PCB board is soldered IMG_20210220_134311.jpg

IMG_20210220_134345.jpg Demo test of the finished product after PCB welding is completed , and the effect of the lighting programVID_20210220_172212.gif

Complete the DS18B20 temperature collection serial port printing and upload it to Tuya Cloud 1.png2.jpg

Program source code Demo

github link:https://github.com/YZRD/GD32-tuya-LCEDA.git


other instructions

[Link to Tuya IoT development platform] https://auth.tuya.com/?from=https://www.tuya.com/cn/&_source=cbc30f99f7a6c4aebca6755c2fab437f (contains detailed development documents)

参考设计图片
×
Design Files
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 23:13:05
  • The role of pressure sensors in mobile phones
  • ADC problem of lpc2220
  • Based on stc51, use the change of 18b20 temperature to change the speed of DC motor
  • STM8AF interrupt problem
  • Reset chip
  • my country's analog integrated circuit market grew 43.1% in 2004

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号