sigma

[Tuya Smart] IoT temperature and humidity sensor +558638A

 
Overview

The system is built using STM32L072 microcontroller + Tuya WB3S wireless module + SHT30 sensor. STM32 is designed to use serial port 1 for data interaction with the wireless module, I2C2 for communication with OLED, and I2C1 for communication with SHT30. In addition, a three-color LED lamp bead is designed outside the chip for status indication, and WB2812 lamp bead is used for atmosphere rendering. Finally, There is a voice module for playing music in conjunction with short video playback. The software part is first the driver of the STM32 chip. It is very convenient to use the cube tool to complete the hardware driver of the chip. QQ picture 20210305210606.png It is easy to find application resources for 0.96-inch OLED on the Internet. Transplantation is of course a matter of minutes. Changing pictures and Chinese characters is time-consuming, so it is most convenient to directly output English characters and numbers. QQ picture 20210305211708.jpg Regarding the use of SHT30, the trouble is not the driver, but the welding. Therefore, when designing the package, it is recommended to enlarge the pad, control the temperature as much as possible during air gun welding, and use flux. The painful welding experience cost 20 oceans. . . The moment it was successfully lit up, my heart felt like it was about to fly.QQ picture 20210305211712.jpg

Using the Tuya Smart APP, you can view temperature and humidity sampling data online. You can set the system collection time and the time interval for uploading APP. QQ picture 20210305221951.pngQQ picture 20210305221606.jpgQQ picture 20210305221601.jpg It should be noted that when configuring the network by pressing the button, you need to turn on the Bluetooth of the mobile phone. If you do not open the APP, you will not be able to connect to the network. As long as the system is powered off, it is always online. QQ picture 20210305222557.png

As an excellent system, how can it have no sound? So I expanded a JQ8400 MP3 voice module, and with the rhythm of BAD APPLE, it heated up to 200 degrees and took off~ Unfortunately, WB2812 failed to light up, and the backlighting effect on the right side was not realized. We will continue to follow up to complete the design. . Finally, I would like to thank Tuya Smart and LEDA for giving me the opportunity to learn PCB design and programming. I will continue to work hard in the future! Participate in more activities and make progress together!

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-05 02:21:37

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号