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.
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.
Schematic and PCB design are complete. Before PCB board is soldered
Demo test
of the finished product after PCB welding is completed
, and the effect of the lighting program
Complete the DS18B20 temperature collection serial port printing and upload it to Tuya Cloud
github link:https://github.com/YZRD/GD32-tuya-LCEDA.git
[Link to Tuya IoT development platform] https://auth.tuya.com/?from=https://www.tuya.com/cn/&_source=cbc30f99f7a6c4aebca6755c2fab437f (contains detailed development documents)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet