1: Preface I remember that day when I saw the training camp registration news on the official account, I was very excited. When I learned that the practical content was about the development of the Internet of Things, I didn’t know what to do at first (it was my first time doing an Internet of Things project, so I was relatively new to it). Because the light switch in the dormitory was far away from me, and I It is very inconvenient to constantly fumble for the switch position in the dark, so I came up with the idea of making an Internet of Things small lamp (hereinafter referred to as the small lamp) (simple and practical)
2: Development process before starting the camp: After deciding to develop a small lamp, first enter Tuya Smart to select the product to create and select the module (at the beginning, I was planning to choose a module with more I/O ports, hoping to expand more functions, but unfortunately It was my first time doing this, so I thought it wouldn’t be too late to finish the small lamp before messing around with it, so I chose a relatively simple module (WBR2L), and then I was ready to draw the schematic diagram.
No. 26: Drawing schematic diagram: The schematic drawing was drawn by Mo Gong. During the drawing process, it took a little effort to draw and add the graffiti module by myself (the drawing is very ugly. It is also recommended to add smart dimensions to adjust the line to the welding The function of disk distance) After drawing the schematic diagram, I immediately drew the PCB diagram: Because the small lamp is the first version, I only chose one small lamp, which will make the wiring easier, so I decided not to drill holes (I actually did it) ), the overall layout of the board follows the (power input direction) from left to right, top to bottom principle. PCB board drawing precautions 1. Pay attention to the clearance at the module antenna! clearance! clearance! (Say important things three times ^V^) to prevent signal interference 2. Draw the power cord thicker (extremely unprofessional way of speaking), so that the path is wide and the current can flow easily 3. If you choose high-brightness lamp beads, you need to pay attention to heat dissipation issues 4 , the wiring must first pass through the capacitor and then through the chip, otherwise you will install a fake capacitor, which will not play a filtering role 5. ......... Zhu Ziqing was quoted on the 27th and 28th: Smart, tell me, our Why are the days gone forever? ——Someone stole them: who is that? Where is it hidden? It was just that they escaped on their own: where are they now? I answered: I don’t know! -> _-> . 29th: Started updating the version (adding lights, RGB lights, four for one dollar, hehe). The update was successful. Five more lights were added. The four lights at the bottom are lighting lights for table lamp functions, and the two lights above are for night lights. The lamp is ready to be added with a battery to increase its portability. 12.4 I came to receive the express again and dismantled the express welding board: welding from small to large and from bottom to top. Since I have relatively few original parts, I didn’t use much effort. The RGB lamp is really not It is easy to solder. I suggest you use a smaller blade soldering iron to start debugging. First, please see the link below for details of the distribution network. After the distribution network is completed, use various functions. Postscript: 1. Why is there an LED board? Answer: Because after the RGB lamp is soldered I found that 6 lights couldn't meet my needs at all (too dark). I happened to have another LED light board on hand, so I used 20 ohms for the resistance of the LED lights. After installing the LED, the whole work It looks like a turtle, and the appearance is a bit funny. 2. The addition of other functions is because I bought two boards for nothing. I will add batteries to it later. OK, let’s do this for now.
Since the memory of the video is too large, the link is uploaded to other platforms as follows for testing: https://www.bilibili.com/video/BV1mf4y1Y7Jg
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