super_star

Smart remote control

 
Overview

Open the official website of Tuya Smart, register a developer account, and click Create Product:  1.jpg Then you can see a lot of options. Because we chose the free development plan this time, we need to find the free development plan of the air-conditioning companion among the various options. Development options. As shown in the figure:  2.jpg confirm the project name and desired communication method. The next step is to select the required functions, because what we are making is an air conditioner infrared remote control plus night light, you can select it as needed. The next step is to choose the APP control interface. Tuya provides us with many optional interfaces, so we don’t need to write the APP ourselves, which is very convenient and fast. As shown in the picture: 4.jpg

After it is determined, it is the hardware debugging part. Here we need to adjust each GPIO interface according to the required functions. Because we have chosen a development-free solution, we do not need to write the code ourselves. Everything can be done by the Tuya platform. We only need to simply Just select the pin you want to control. It should be noted here that two functions cannot be assigned to the same pin port. As shown in the picture, I just use the default one:  5.jpg After completing this step, you can place an order to purchase the module. Tuya Platform 18 also comes with free shipping, which is very cost-effective.

Hardware parts

After the module arrives, we can start to complete the drawing of the PCB. It is also very easy because we have already selected the function of each pin above. Here we only need to connect the corresponding pins to the actuator. , such as: the infrared pin is connected to the control part of the IR LED, the network indicator light is connected to the LED, etc. This is my schematic diagram, which implements infrared sending, infrared learning, night light control and other functions: 6.jpg

It can be seen that it is very simple. This schematic diagram was drawn using Lichuang EDA and with the help of a rich component library, it was completed very quickly. The next step is to convert the schematic diagram to PCB. There is not much to say about this. They are all low-speed and low-voltage lines. Basically, as long as the connection is OK, it can work normally. This is my PCB picture. What needs to be paid attention to here is the wifi communication. Try not to route wires and attach copper under the module, as this will affect the communication distance. This is my PCB picture:  7.jpg after checking it, it can be sent to the PCB factory for production, and the soldering can be completed after receiving the board. Before turning on the power, check whether the power supply voltage meets the requirements and whether there is any tin connection during welding.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-19 12:22:42

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号