## First of all, to summarize:
I didn’t have much contact with Lichuang EDA before, so I wasn’t particularly proficient in using EDA when I first started using it. Through the training of this summer advanced class, I have a deeper understanding of the use of EDA. Although I am not very good, I have completed the tasks assigned by the teacher on time through my own efforts. Through this process, I have learned a lot. I learned a lot; not only the drawing of schematic diagrams and PCB boards, but also some simple knowledge about the Internet of Things, which laid a certain foundation for my future learning career.
## The introduction of the smart socket is as follows:
1. It uses STC15 microcontroller as the core controller, uses USB for 5V power supply, uses AMS1117 to convert 5V to 3.3V, and uses the CH340E level conversion chip, which does not require an external crystal oscillator.
2. There are 2 buttons on the board, one is the reset button of the microcontroller, and the other is the user button.
3. There are 4 LED lights on the board, which are used to display the status after the program is downloaded.
4. Equipped with 1-way relay and DS18B20 humidity sensor.
3. The WiFi module uses the EMW3080WIFI module, which is developed using AT commands, uses the mqtt communication protocol, and links to the Alibaba Cloud platform. You can view and control the relay closing and opening through the mobile phone APP.
## Difficulties in the process:
1. In the drawing of schematic diagrams: I have not drawn many schematic diagrams before, so I did not do well in some details, such as adding network tags. I have not used network tags for naming before, and It is directly inserted text, which causes many design manager errors.
2. During the drawing of the PCB board: I spent an afternoon finishing the drawing of the PCB board, thinking that there was no problem, but it turned out that I was too young. I gave it to the teacher to check and found out a lot of problems: first of all, it was my own copper laying. I didn’t know that the antenna position of the WIF module cannot be laid with copper (I learned from experience); second, my unreasonable choice of the line width of the strong current, thinking that You can just choose one at will, but you still have to choose according to the standards; in the end, the teacher checked very carefully. There was a piece of dead copper in my circuit, and the teacher also checked it out for me (I thought it didn't matter), and I learned a lot. , I also worked hard to correct my mistakes. Thank you again for your careful guidance!
3. During welding: During welding, my lack of experience made it difficult for me to separate the pins of the STC15 microcontroller. I blindly used rosin, which made my board unsightly. Finally, under the guidance of my senior brother , completed the welding myself.
4. Program debugging: I just started using the KEIL4 program to create it into the environment. I don’t know why it failed to compile. I reinstalled KEIL5 as required for debugging before it was completed. When downloading the firmware, I used a lot of firmware programming software, and many of them had inexplicable bugs. Finally, after many trials, I found a usable programming software.
Picture of the board I just got:
![None 1.jpg]

After soldering:
![None 3.jpg]