A zero-code solution. Before making the board, I found a good-looking shell, a small star shape, measured the dimensions and used CAD to draw the outline and import it as a border. (You can go to a certain treasure store and there are many beautiful styles)
At the beginning, I wanted to use type-c for power supply. Due to the shape of the casing, it would be ugly if the switch and power supply port were left on the side, so I chose to reserve the interface and directly connected a small 3.3V lithium battery for power supply and an external switch. That is the two 2X2.54mm terminal blocks in the schematic diagram. The 3.3v lithium battery is connected to the switch dug with a knife on the back and the TYPE-C charging port through an integrated charging and discharging module, which is very beautiful.
5V supplies power to the small RGB lamp beads, and the 3.3V output from AMS1117-3.3 (3.3 for better power switch management without connecting to the battery) supplies power to the WR3wifi module provided by Tuya. The RGB lamp beads selected are relatively powerful and the IRLR7843 is used. The mos tube of this model is used as a driver. The WR3wifi module is used as a communication and main control module, and three-way PWM controls 5 RGB lamp beads. The irlr7843 model mos tube works well as a driver. The schematic is simple, you can try it.
B station video link https://b23.tv/BV1qV411a7V4 .
The above is a display of the finished product
The above is an internal photo
The above is a 3D preview of PCB
The above is the finished PCB
On the back of the finished product is a buttoned-out switch and charging interface.
There are magnets stuffed inside and you can stick them on as you like. Multiple ones should have better effects. Trying.
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