Used for dimming USB light strips without dimming function. Made using HK32F030MF4P6. The PWM dimming frequency is 3.2KHz, which meets the flicker-free requirement. The theoretical upper limit of the input voltage can reach 18V, so it is compatible with 12V and 5V light strips. Provide shell file.
Just cut off the old push button switch and replace it with a dimmer. The middle button switches the light on and off, and the buttons on both sides increase and decrease the brightness. If you are not satisfied with the function, the code is in the attachment and you can change it yourself.
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