zXwYhj0cb

[Tuya Smart] IoT thermometer and hygrometer

 
Overview

Lichuang&Tuya--Internet of Things Thermohumidity Meter

 

1. Introduction to the work

       The work uses MCU control to display the temperature and humidity on the screen, and uploads the temperature and humidity data to the cloud for display through the APP.

       I made two acrylic sheets myself to use as the shell (it was too difficult to drill holes with a drill, and they were a bit off)

       Because of the temperature and humidity meter, I mainly designed it based on the model of a thermometer. After I finished it, I found that the effect was average (hahaha, but I felt it was okay, and there was not much deviation)

      1. Main devices used: main control (stm32f103c8t6), display module (0.91-inch OLED display), Tuya WB3S module

      2. The actual object is as shown below:

 

            3. Serial port 1 is used for downloading, and serial port 2 is used for Tuya module.

2. Function description

       1. Two indicator lights. The pow indicator light is a green power indicator light. It lights up when the power is turned on and goes off when the power is turned off. The LED is a status indicator light (the on and off status is shown below). The details are as follows:

         2. There are 4 buttons, namely Reset, Scroll Up, Scroll Down, and OK. Reset: resets the program. Scroll Up and Down: used to switch the screen to display temperature or humidity. OK button: used to configure the network, click the button to enter the network configuration state. It is in the Smart configuration state, that is, the LED flashes quickly; it is in the AP configuration state, that is, the LED flashes slowly; the Wi-Fi configuration is completed, and the router is being connected, that is, the LED is always dark ;The router is connected successfully, that is, the LED is always on.

       3. OLED display, with two display states of temperature and humidity

 

3. Device Introduction

             Temperature and humidity sensor: sht30 module, (this one is really small, it hurts my eyes when welding it, because there is only one, and I thought the bottom was not welded well, so I disassembled it once, and then welded it on again, but it was not broken, which was scary)

             Display module: 0.91-inch OLED, which is about the same size as the display screen of an electronic thermometer.

             Power supply voltage stabilization: AMS1117-3.3 (first time using it, it works well)

             Tuya WB3S: (This is so interesting. It looks so difficult. I thought about it for a long time but couldn’t get it done. Then I suddenly got the idea and can use it smoothly all the way)

             Main control (stm32f103c8t6): Because I have used this before, it is relatively easy, but I have soldered so many pins at one time. Hehe, challenge yourself.

              

4. APP interface

           Because the function is simple, the default one is used.

aBwmxbIY91on6vKiRvEgw8YZBAu5Ac0aVZ5Rnkts.jpeg

Device and APP connection method:

         Press the confirmation button, the LED flashes,

         Open Tuya Smart APP and search. I usually use automatic search.

         Then connect successfully and enter WiFi password

         It's finished

 

5. Summary

      Through this practical training, I completed my first circuit board drawing work. There were many difficulties, but I was really happy to be able to make it.

      Thank you Lichuang & Tuya~

       

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-14 16:39:55

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号