Input the voltage through MICRO-USB and through the AMS1117-5.0 voltage stabilizing chip, input the stable 5.0 voltage into the SGL8022W touch chip, and then adjust SW1 and SW2 to switch different logics to control the lights. In a certain logic state, touch the copper skin to Adjust the status of the light. T1 touch input corresponds to SO lighting control output. There are four functions available, which are determined by the input status of the OPT1 and OPT2 pins before power-on. details as follows:
1) OPT1=1, OPT2=1 corresponds to: LED without brightness memory, sudden brightness and sudden dimming, touch stepless dimming function
2) OPT1=0, OPT2=1 corresponds to: LED without brightness memory, gradually brighter and darker, touch stepless dimming function
3) OPT1=1, OPT2=0 corresponds to: LED with brightness memory, gradually brighter and darker, touch stepless dimming function
4) OPT1=0, OPT2=0 corresponds to: LED three-segment touch dimming function main control chip SGL8022W was chosen because it is a single-channel touch chip used for LED light brightness adjustment and switch control. This chip can be used to realize touch switch control and brightness adjustment of LED lights. Wide selection range, simple and convenient operation. The application circuit is simple, with few peripheral components and low cost. Based on the welded physical picture, the maximum brightness of the five LED lights is a bit insufficient for those who want to turn on a small desk lamp at night to catch up on work, study, etc., and the range of the light source is limited, and I accidentally purchased the 100R one. For the resistor, I used a 220R resistor that I have at home, so the light may not be as bright as 100R. I personally recommend expanding it to about eight and widening the distance between the LED lights. Also, this version of the actual object has no fixed position, so it is recommended to design it in a long strip shape. , add fixed hole positions. And during the actual measurement, the touch area sometimes triggers inexplicably. Personally, I think the size of the copper skin is too large and easy to be touched. Therefore, it is recommended to replace the copper skin of this version with other window patterns to optimize the ornamental appearance. . The following is the actual picture:
Then the following is the comparison picture between the maximum brightness and the surrounding dark environment: 1. The maximum brightness of five lights
2. The maximum brightness of eight lights
3. When I removed the R3, the maximum brightness of the eight lights Brightness
After removing the resistor, the brightness increases significantly, but the heat level also rises quickly, so it is recommended to increase the resistor.
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