The electric fan at home is decades old and has never been laid off. Since there were no chips at that time, the fan's timing used a gear structure. The timing sound at night was very annoying, and there was also a speed adjustment. It also has a mechanical rotating structure. If you have to get down from the bed and turn the knob to control it, (lazy~), so I plan to add some intelligent elements to it, such as software timing, mobile phone remote speed adjustment, etc.
After disassembling the fan, I found that the principle of the electric fan is: consider if the speed adjustment gear is screwed to the high speed when the mobile phone remote control is at low speed, that is, will there be an accident or danger? Because the internal motor speed adjustment principle is not very clear. I understand. After consulting the teacher, I learned that the internal speed regulation structure of the motor is as follows
After searching for information, I found that the shaking head function is not an electrical structure, but a mechanical structure, so the fourth relay is planned to be changed to a night light function.
I learned a lot about wiring layout through this training camp. Before, I just thought that DRC would be fine (haha). Place it randomly and route the wires at will. If you can’t get through, just make a via hole. If you can’t get through, just go around in a big circle. Later, I learned from Song Gong, Zhou Gong and other classmates in the group that USB should use differential signal lines. It is not necessary to lay copper on one side of the relay. It is best to dig a slot between the neutral line and the live line. If the welding space allows, weld the power supply device first, and then do a test. If everything is normal, weld the control chip and other devices. (Before, it was all welded together, and as soon as it was connected to electricity... it often overturned). I feel that this training camp is a transformation for me. From playing with building blocks by connecting various modules with bread lines, I now arrange all the required devices on a board reasonably and delete the unused ones on the previous modules. device, which not only saves space but also improves stability. One step closer to being a real design engineer.
It is expected to start working on and optimizing the design after returning to school after August 20th.
Updated on August 25th. It was found that the pin is at a high level at the moment of power-on. Because the relay is also triggered by a high level, it will flash. To ensure safety, an inverter is added to each relay. Correspondingly, it is also necessary to change the program and adjust it to output a low level to meet the conditions. By searching for information, we learned that the instantaneous voltage level of the ESP-12F pin when it is powered on is as follows:
GPIO-X | PIN-X | initial state | initial level |
---|---|---|---|
GPIO0 | Pin15 | input pull-up | H |
GPIO2 | Pin14 | input pull-up | H |
GPIO4 | Pin16 | input dropdown | L |
GPIO5 | Pin24 | input dropdown | L |
GPIO12 | Pin10 | input pull-up | H |
GPIO13 | Pin12 | input pull-up | H |
GPIO14 | Pin9 | input pull-up | H |
GPIO15 | Pin13 | input pull-up | H |
GPIO16 | Pin8 | Output set high | H |
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