通通

[Tuya Smart] IoT Thermometer +540724A

 
Overview

0. System operation diagram

nuHoiPmoxgxyLoPDuMlLJAosQaMvssIAm8JrWH7h.png

1.typec serial port circuit

uqNvzoJzJKnDW6V7rJ22vo1nnPmK6HN0uUmqv1ps.png

The DTR pin of ch340 must be connected with a capacitor to the RST pin of Arduino before the program can be downloaded to Arduino through the serial port. (To download the program through the serial port, you need to burn the boot program first)

 

2.TP5400 charging management circuit

PxVL7mGcRHTTErRXzfvKjVTAuEIwpkdDL8xfFzn0.png

R13 resistor, the circuit in the chip manual is 1k. After testing, the light is too bright. It is recommended to increase the resistor, so it is changed to 4.7k.

R14 resistor determines the charging current

The typec port supplies power to the TP5400, charges the battery, and the battery boosts power to the entire system. When the battery is not connected, the typec port directly supplies power to the system through diode D2.

 

3.sht30 temperature and humidity sensor

P96DdvAm7kUrjFkUaGZflhaZCG7XUOIkB5v4zMCo.png

 

4.Battery power measurement

SweR2EvIFmZXIGsi7aumReSDuZzuhYdBoOq7JWms.png

 

5.ws2812 lamp

76NIW99E441Byd8xU0HAmXbpDQtVR7ay98JqGN4k.png

There is an interface left to connect ws28112 light strip

 

6. Infrared transmitting and receiving

TxIRB40uevF5MQpJO52ZX8P3r1zQ9NJajD9nDlNF.png

 

7.Tuya WB3S module

b2G6USDnreHdnK4DXQFG7khghmYAlo0qQcXIK5Yi.png

Connect to Arduino virtual serial port communication, atm328p has only one hardware serial port, used for downloading programs and debugging

 

8. Main chip

7CAhee2go2ini6cys6KEDINAqqwCL3e66E2SCT2Q.png

The main chip uses atm328p, and the download interface is reserved, but it is only used when burning the boot program for the first time, because it is more convenient and faster to use the serial port to download.

 

9.3D diagram

fut0iBDC3UXlCCfRz3y15Uy1zsROgvwbhyOD6Zfv.png

 

10. Physical picture

Ucke17LtpUi1O8MKrxi2W2HLyQO4YgcuV4rBZU2S.png

The typec interface was originally soldered on, but it came off after a few uses (no problem). Due to limited conditions at home, fly line processing is required.

There is no problem with the TP5400 charging circuit and has been tested on another board. This piece is not welded. The typec port directly supplies power to the system through the D2 diode

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-23 10:41:32

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号