桂花蒸

[Training Camp] Based on Tuya Intelligence-Smart Curtains-502046A

 
Overview

                            

                     Smart curtains based on Tuya Smart IoT

 

Without further ado, here are the actual pictures:

 ========================================= Text segmentation ======= =================================

 

                                                                                            1. Project introduction

  One day I saw a post from a public account, and I thought I had nothing to do, so I decided to learn it! So we got in the car! I am an electronics enthusiast and like to DIY various electronic products (except I can’t program), especially the Internet of Things. I clicked here to view the details and sign up (I didn’t make it to the last training camp, and I didn’t know where to sign up at the time. This time I caught up ~hehehe ), and then I went to learn about the Tuya platform and found that I can bind Xiao Ai (because I am a rice fan and have done some Internet of Things platforms before (Yiweilian Jizhiyun Lighting Technology), All can be connected to Xiaoai classmates, but some can be connected ... but the desired effect is not achieved, and there are still many platforms that are not open to individual developers, so ... ) With excitement, I started exploring Tuya. ... So I started the smart curtain project that I have always wanted to do. Referring to the mature solutions in the market , I found that smart curtains are basically implemented using guide rails and timing belts, and the product prices are hundreds or even thousands. , for DIY electronics enthusiasts, cheap prices are the key. Combined with owning a 3D printer, I decided to model and make my own and transform the curtains at home into automatic curtains. Wouldn’t that be a joy? So I took this opportunity to implement a smart curtain design in the simplest way and at the lowest cost! Thanks again to Lichuang EDA and Tuya Smart for providing learning opportunities !

[Link to Tuya IoT development platform] https://auth.tuya.com/?from=https://www.tuya.com/cn/&_source=cbc30f99f7a6c4aebca6755c2fab437f (contains detailed development documents)

 

                                                                                            2. Implementation principle

 

  The principle of this project is very simple. First, I modeled and printed two 2GT synchronous wheel transmission components and a synchronous belt closer. I used an N20 motor and a synchronous wheel to drive the synchronous belt to open and close the curtains... The following are the components produced:

 

                         3. Tuya APP panel display

  Below is the panel I customized. The on/off icon is relatively simple, but it is clear, intuitive and practical. The APP has timer switch and motor position calibration functions. It can set the middle open and full open modes to open the curtains, and the local PCB The panel buttons can be used to turn on/off/stop, and the indicator light shows the status...

 

 

4. Some problems encountered during the process and their solutions

Generally speaking, there are no big problems, they are all caused by small details and temporary negligence. The main ones are as follows:

        1. The CEN pin of the WB3S module is a reset pin without a button, so the subsequent secondary distribution network needs to be shorted to GND to enter the redistribution mode . During normal operation, the CEN pin should be pulled high or floating ( Due to negligence, I did not read the official manual carefully , and the official reference schematic diagram did not reflect it)

   2. I originally thought that I could use Bluetooth control when there was no network, but who knew it wouldn’t be possible, so I didn’t add a wireless control locally. I had to force it when there was no network!

  3. Later optimization direction, the motor was replaced with a stepper motor to reduce noise, the closer was changed to a pulley module to reduce friction, and local wireless control was added...

 

 

5. Tuya module firmware configuration

 

 

                                                                                                 6. Demonstration video

 

++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++

                                           Welcome to watch the finished product demonstration video of this work ~~                                    

                                                                                                                                               

Demonstration video is attached at the end

                     

                                                                                                                                                

                                          Okay, the project is over here, goodbye everyone!                                    ++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++

 

---Water is over---

 

 

                             

 

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-16 18:54:25

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号