1. Project introduction:
This project is used for the Internet of Things training camp project work jointly carried out by Lichuang EDA and Tuya Smart Platform. The theme is colorful night lights based on Internet of Things control.
This circuit design uses the WR3L IoT WiFi module under the Tuya Smart Platform as the main control development board. Lichuang EDA draws the circuit schematic diagram and designs the PCB. It also designs the shell, models it with SolidWorks, and 3D prints it. Made of PLA material. The color ratio and brightness of the lamp beads in this project can be controlled through a mobile phone connected to the Internet of Things WiFi, showing a variety of colorful effects. The effect is better at night and has good viewing value.
2. Function introduction:
1. Development of IoT WiFi module based on Tuya Smart Platform, which can remotely control the switch through Tuya Smart App;
2. IoT WiFi module development based on Tuya Smart Platform, which can adjust PWM parameters to control color ratio, brightness, etc. through the App;
3. It has 8 sets of LED lamps with colors: red, green, blue, white, and yellow, supporting a variety of lighting effects;
4. It has WiFi intelligent distribution network function and can be controlled wirelessly when connected to the Internet;
5. Has OTA function and supports remote firmware upgrade;
6. Supports micro 5P 5V power supply and 3.7V lithium battery power supply (jumper cap control) , with power indicator light;
3.Design features:
1. PCB component layout and wiring tend to be symmetrically distributed;
2. The PCB area (6.6cm × 6.3cm) is limited to 10cm × 10cm, and the board production cost is low;
3. Supports power supply in two modes: 3.7V lithium battery and 5V type-C interface, with power indicator light;
4. LED lamp tubes share common anode wiring, and lamp tube groups are connected in parallel;
5. Small size, light weight and low production cost;
6. Simple and beautiful appearance, rich functions and high ornamental value.
4. Component selection:
1. The main control IoT module uses Tuya Smart’s low-power embedded WR3L module. It is mainly composed of a highly integrated wireless radio frequency chip RTL8710BX and an external flash chip. It has a built-in Wi-Fi network protocol stack and rich library functions, with a maximum main frequency of 125MHz, built-in 256K SRAM, 2Mbyte flash and rich peripheral resources. It can be controlled via the internet, with zero-code development to realize the functional requirements of smart night lights, at an affordable price;
The 2.5V power supply port adopts micro 5P interface, which is common with mobile phone data cables with Android interface and is easy to use;
3. The mos tube is AO3400A, and the IO pin sends a high-level signal to light up the lamp beads;
4. The lamp set is composed of 3528 common anode RGB lamp beads and 0805 packaged yellow and white LED lamp beads. The package and schematic diagram are clear and easy to understand, programmable and low cost;
5. The common AMS1117-3.3 is used as the voltage regulator tube, which is easy to use, stable in effect and low in cost;
5. Network configuration steps:
1. Register and log in to Tuya Smart APP, and select the Add Device button in the upper right corner;
2. Select "Automatic search" and configure the phone to connect to WiFi;
3. Perform the "on-off-on-off-on" operation on the night light to ensure that the light enters the flashing state;
4. Wait for network configuration. If successful, you can open the APP interface for operation.
6.APP interface:
7. Shell design:
[ SolidWorks modeling, Keyshot 9 rendering. 】
8. Finished product display:
9. Design experience:
After this IoT training camp PCB project design, I learned a lot of new knowledge related to actual PCB design, became more familiar with the operation of Lichuang EDA, and got to know many sketchpad partners and industry leaders. During the design process, I learned the device selection and component packaging selection of many commonly used circuits , such as power supply modules that can provide 5V and 3.3V voltages. At the same time, I also further understood the relationship between the layout and wiring of components in PCB design , and learned how to deal with some detailed issues, such as the control of the copper laying range, the reasonableness of component routing and the aesthetics of wiring, and the wiring of power supply. aspects such as order and line width .
The Lichuang EDA platform provides developers with a good platform for display and communication, creating a good ecosystem and allowing me to bridge the gap between modeling and programming during a series of training camp live broadcasts and exchanges. Circuit PCB design bridges the gap. I am very grateful to Lichuang EDA and Tuya Smart for providing us with a good training opportunity.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet