Basic introduction (a must-have for Valentine's Day)
The chip used is STC8G1K08A-8P and the price is 0.7/piece. The cost of making it all is no more than 5 yuan!
76 LEDs are used, and the colors can be freely matched!
My modeling skills are not good, and the bracket modeling needs to be changed manually. You can design it yourself.
My modeling idea is:
model a small flower! Then power is supplied through the butterfly feet.
Model a willow tree! Hang the butterfly and power it via two lanyards.
Model a circle! Use a silent reduction motor to slowly rotate the top plate.
Assembly process:
1. After getting the board, you need to cut the wings and body with diagonal pliers!

2. Then weld all the components separately first, and then pay attention! First, program the baseboard! Because if there is no burning pen to burn, it will be very troublesome to burn with flying wires!

3. Then weld the wings on and lead out the power cord
(1) If you use a willow frame to hang it, you need to lead out the power cords on both sides.

(2) When using a disc, you need to cut 6 LED pin wires to use as butterfly pins and power supply pins!
Butterfly base plate power supply:
If you want the best effect, it is recommended to boost the voltage to 5V. Of course, it can also work normally with a 3.7V power supply.
Wiring diagram:

Physical wiring diagram: I use ordinary AA batteries, and then boost the power supply through SX1308! Fix with hot melt glue;
installation precautions!
The pin header needs to be soldered at an angle! Then before soldering to the motherboard, you need to cut off the pin header a little bit, so that the butterfly will be tilted and curved to look better!

If you need to use the bracket I designed, you need to pay attention. Some places need to be changed. If the modeling technology is not very good, you need to manually change
the willow bracket:
1. After the bracket is printed, use hard wire to bend it! Then iron it into the bracket, fix it with hot melt glue, and then connect the power cord inside! Introducing the baseboard!

The opening position is as shown in the picture!
2. Just fix it with hot melt glue, leaving a switch hole, which can be used or directly connected to the wire!
Disc model (in the attachment):
Iron the welded butterfly feet into the base plate, then weld the power supply wire and fix it with hot melt glue!
Then connect the power cord:

Power supply part:
The chip voltage used in this project is a wide voltage power supply and can be driven from 3.3V to 5V. However, after practice, if the voltage is too low, the LED will not be very bright and it will not reach the optimal level. To appreciate
the effect, it is recommended to add a boost module: SX1308 boost module to boost the voltage, so that it can be powered by a 1.5V AA battery or a 3.7V lithium battery for
program burning:
the tool used is a burning pen designed by myself. If not, you can also use the serial port module to program using flying cables! (The burning file is in the attachment!)
Open source address: CH340C burning pen - Jialichuang EDA open source hardware platform (oshwhub.com).
After selecting the file, click download and place it on the 4 soldering plates in the middle of the butterfly (be careful not to reverse it) Oh, my fingers were burnt to the point of being bald~)
(After seeing this, why don’t you quickly become a gift partner? --A roar from a single dog!!!)