蓝猫淘气

[Training Camp] Internet of Things Humidity Temperature Node Zigbee Version +556005A

 
Overview

I am very happy to participate in the Lichuang Open Source Platform event. This is my first time to participate in the event. Before, I always made some small designs based on my own hobbies.

I see that many people are making RGB lanterns, but I have made ESP32 WS2812B lanterns before, and it would be too boring to make another one.

I have been studying zigbee communication recently and found that this communication method has really low power consumption. I also bought a wireless zigbee gateway on Tuya before, and after thinking about it I decided to start a zigbee related project.

What I didn't expect was that Tuya completely contracted my code, and I only needed to draw the PCB according to the DEMO and that was it.

Thinking of the temperature sensor that comes with the clock at home has always made me decide, and I don’t have any other wet temperature sensors (except the Arduino module), so I decided to make a wet temperature zigbee node.

 

 

Note!!! Students who do not have a zigbee gateway should not do this, because it requires a zigbee gateway for communication. If not, you will not be able to connect.

But you can replace the module with a WIFI module. It has 0 code anyway. Just select WIFI communication when selecting the module.

 

Project requirements:

1. Low power consumption operation requires disposable batteries to run for more than one year.

2. The size is very small, at least no more than 10cmx10cm.

3. Humidity temperature detection should be as accurate as possible.

 

First of all, in order to save power consumption, I omitted the LDO and directly used the battery to power the module. The voltage of the disposable lithium battery is exactly 3.6v, which is within the voltage range of the module, so there is no need for LDO voltage stabilization at all.

But considering that some places are powered by power, I added a micro usb interface and provided a 3.6v output LDO

First, add an energy storage filter to the external power supply, and then use the anti-backflow diode

Next, consider how to switch between battery and external power supply. A CDSN blog gave me a DEMO as shown in the picture.

The following circuit diagram can be drawn according to the official DEMO.

 

Purchase of modules

Log in to Tuya official website www.tuya.com

Click on the upper right corner to enter the IOT platform

Log in. If you don’t have an account, it’s easy to register one.

After entering, click Product Development in the left column

fJuhDcXYEzMK00vbbYQ4WE8FoShX1Zd6847tHG0e.png

Then click Create Product on the right

vLCK1mOUulebzlXicAlzcf1yXYbNcXf1LOcpKida.png

 

Then select the security sensing category

GLZENg4Em7J4NcYHYqwEeosOQzqXAGuNzAHh1x9a.png

choosey7pwcB09g6j50i0dCNaFSUbS7MxYKZpWw8OGOppR.png

Choose communication method zigbee. If you don’t have a zigbee gateway, you can choose WIFI.

UIkk2ZQvEyGh5JiaoS09yGdiTSCJYZoC8jO5ndjj.png

Then fill in the name and model and create the product. Select the functions you want.

Next APP page Because we are not enterprise users, so 

HKjUW9BFwFferpYd7RXTg0F92PpCSfB79QybtzrE.png

Next, choose the module model because there is only one

kmSB7wcuui6qZfnXA1laj0JhlWL1VuCFPfW9lOJf.png

 

Then!!!Attention!!!You need to configure the firmware

UxSQX7ED4Wei7pC5kAu5ZoVXu7qIFoqBXZ3bMDfK.png

 

Select the corresponding pins for these two. Remember, if you choose the wrong one, it will be overturned. When the time comes, connect it with flying wires. Don’t ask me why my actual picture shows a module with flying wires.gIzFL39ZF1Uc4r31KjLORnKzAYGq45RMM1At1X1U.png

 

Then you will find that you can't click Next because you haven't debugged it yet.

rmxHpLNT56Z8iHbT9X56EnZNxTJFcfgY8dW5MS6K.png

Just take a quick look and that's it. Skip the next step of cloud configuration.

IAhAZPyqO3VvSqIeNrQbqP6VUV192ba7mjEKuMpO.png

Scan the QR code in the next app and click "I'm done testing," and you can start trial production in batches.

Click to purchase the trial production module and you’re done.

V5zLbcZnvnuJIOg2XlGfiUxTcIrjFIQASxAmmieX.png

 

Actual pictures provided

 

After connecting, the mobile APP page

 

 

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-03 02:39:09

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号