Coupled with a self-restoring insurance to prevent short circuits caused by welding, etc., and an NTC resistor to prevent startup surge current, DK1203 does not require auxiliary windings. The transformer has dual windings, which is simple and reliable. 431 and two precision low-temperature drift resistors obtain a 5V output. (In batches, 3.9V voltage regulator tubes should be used, eliminating the need for 431 and a few peripherals; 5V should be used for relays)
LP6498AB6F, 600KHz, 4.5~30V wide input, outputs 0.8~12V voltage through resistor feedback, and with a 22uH 1040 inductor, it can be loaded. Enable the added switch to reset the main control and WIFI module after power off.
The EMW3060 module has built-in ILOP-A232 firmware and has high industrial-grade reliability. No need to burn, no BOOT is triggered. Unused pins should be left unconnected as required by the manual. Compared with EMW3080V2, this module cannot be developed twice, but it is cheap and the cost saved can be used in a single-chip microcomputer to achieve a combination of cost and simplicity.
TYPE-C interface, CH340C chip, simple peripherals, 3-wire serial port for downloading programs and debugging. No welding required, external three-wire serial port debugging is required.
The main control adopts STC's new product STC8G1K17-38I-TSSOP20, which has a wide power supply voltage and a built-in IRC. The general frequency value can be adjusted to less than ±0.3%. When powered on, other pins except the serial port are high impedance to prevent malfunction.
LM75AD temperature sensor, IIC interface, with temperature alarm;
Three-way relay switch normally open and normally closed output, with indicator light.
http://www.shell-mould.com/view.asp?id=220
--------------------------------2020/08/10------------- -------------------------------------------------- -------------------
Open an air gap
around the primary
and secondary
, and finally measure the 1Khz inductance and 10Khz leakage inductance
for the final product.
--------------------------------2020/08/11------------- -------------------------------------------------- -------------------
Comparing the BOM and silk screen, there are some materials in the welding part.
--------------------------------2020/08/12------------- -------------------------------------------------- -------------------
The internal resistance of the 1mH inductor is too large and the rated current is too small. As a result, the front of the inductor is 5V and the back of the inductor is about 4V (0.2A load). The short circuit needs to be solved by removing the wires and rewinding. Grinding the air gap on the transformer doesn't work, just replace the core paper and open the air gap.
During the test phase, light bulbs are connected in series. If possible, an isolation transformer, autotransformer, or oscilloscope can be used to make the measurement more accurate and safer. No-load 5.01V, 1.3A loaded, 4.96V, load regulation rate 1.01%, loaded for a period of time, Basically not hot (can touch it)
No-load 3.285V, chip rated 1.2A, loaded 3.244V, load regulation rate 1.26%, light touch switch enable has effect
Previous PCBA diagram
Double-head typec, the mobile phone recognizes CH340C, and the hardware is successful.
! I wrote a test program but nothing happened. . Check the code. The port is powered to high impedance and configured as push-pull. The test is successful.
! After configuring it as open drain and configuring an internal pull-up, the port appears to be floating. After reading the manual carefully, I found that it must be pulled up externally and configured to be quasi-bidirectional. The test was successful.
The IIC pin is configured as quasi-bidirectional, the internal 4.1K pull-up is enabled, and the hardware IIC has no problem with timing and data, and no problem with data conversion. But the temperature returned is a temperature of .37.87 with a resolution of 0.5 degrees. I once wondered how the resolution of 0.125 degrees and the accuracy of ±0.5 degrees were done .
--------------------------------2020/08/14------------- -------------------------------------------------- -------------------
--------------------------------2020/08/17------------- -------------------------------------------------- -------------------
! The serial port sending crashed. Finally, it was found that the serial port interrupt needed to be turned off when the serial port was sending. The interrupt conflicted with the query.
Optimized the serial port reception and transmission. Previously, the reception would fail to receive the instructions issued by the cloud. Now it can be received as long as there are no multiple operations within 1 second. The triplet is still burned in by default (it is not transferred and burned through the serial port).
Code compilation of the final demonstration video.
The 2G clip of the video was compressed to more than 100 MB, but it still could not be uploaded. I uploaded it to Station B
https://www.bilibili.com/video/BV1Mk4y127Qt/
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