Story
It's not common to have a smart LED adjustable light, not only is it expensive but it also requires connecting via WIFI
Therefore, maybe you can try DIY to turn ordinary spotlights into smart adjustable lights.
Once you're done, you'll be able to easily control the intensity of your lights without spending a lot of money.
Step 1 Buck Converter
After a simple attempt, we can find that because voltage is proportional to light, the light can be adjusted by reducing the voltage. There are many ways to control voltage, the most effective is to use a Converter. Here, I'm using the XL4015 buck converter.
Step 2 Schematic
(After data analysis, the 2.44 board can be used with 3.3V logic)
Step 3 PCB
You can download the Gerber file directly next to the article (even place an order)
Step 4 Soldering and Assembling
Reflow soldering method using hot plate
First apply solder paste on all SMD pads
Then assemble these parts
(You can download the BOM file directly next to the article)
Finally, solder the THD
After completion, this is the final display effect
Step 5 Write code in Arduinod to verify