First of all, I am a novice, a pure novice. On the first day of class, I was told that I wanted to choose a colored light on Tuya LOT. I chose it directly without looking at the hardware configuration at the time. The next day, I worked hard to finish drawing the board. I asked an experienced person to take a look and told me that I needed the hardware configuration, so I almost sent a picture. After another night of revision, the drawings were ready, and I was planning to make a board. When I was attending the class, I found that everyone else had power supplies, but mine seemed not to be drawn! ! ! I quickly found a 1117 chip and converted the incoming 5V power into 3.3V. Fortunately, there are not many peripheral components in the core.
After getting the coupon, I was worried that there would be a problem. After searching for a long time, I thought there was no problem, so I bought it. **![image.png]

I waited and waited for the board to come back on December 4th. The components came back early and I didn’t sleep all night to solder them together. I'm a novice and I'm really not a good welder. I didn't pay attention to the capacitor I chose. There's also a 0402 package. It almost blinded me, but luckily it was welded on.
![image.png]

The exciting moment has arrived. This is the first board I have made by myself. Without further ado, let’s power on 5V. Found no response...
But after searching for a long time, I discovered that I had painted the button upside down, and the two on and off circuits were changed to normal. Dizzy. Rotated it 90 degrees, (see the picture below) soldered it and then powered it on. It was normal and I felt pretty good.
![image.png]

I started to configure the network according to the tutorial on Tuya. It was quickly configured, but when I clicked the power button, there was no response at all. Depressed, I measured the voltage all the way, looking and looking, and finally the problem was determined to be a row of three-stage tubes. It shouldn't be possible for four tertiary tubes to have problems at the same time. But I can't find the problem. There is no other way,
just find an expert. After the expert looked at the schematic diagram, he understood that I drew a 5V power supply diode upside down... Alas, after correcting it, it became normal and you can hear the sound of the relay closing.
![WeChat picture_20201206231610.png]

(At first, the diode was reversed, but later it was corrected)
but the three-color light still does not light up. The power is normal, but it doesn't light up. How did this come back? I found out later after checking the information on the three-color lights. I have two LED lights connected in series in the picture. The voltage drop is too high and requires at least 6V to drive them. I only supplied 5V. Oh, so sad. I soldered a lamp decisively and used a wire to fly the solder pad away from the thin wire. After powering on again, it finally succeeded. Excited!
![image.png]

I plan to connect the lights in my home and use relays to control the lights in my home. From now on, when you turn off the lights and sleep in bed, you can use your mobile phone to turn off the lights directly. Welded another one to make a night light.