The circuit uses the 89C52 microcontroller. The schematic is as follows:
There are a total of 32 LED lights, and all four I/O ports are used. I didn’t include any current-limiting resistors for the LEDs in this design. You can use a 12MHz or 11.0592MHz crystal, along with 30pF capacitors for C1 and C2.
The PCB layout is shown below:
1) "Heart" Schematic
Figure 1: "Heart" Type LED Light Schematic
Note: The "heart" type LED lights use 32 LEDs connected to the P0, P1, P2, and P3 ports of the MCU.
Note: All the positive leads of the LEDs are connected through about 100Ω resistors to VCC, while the negative leads are connected to the respective MCU ports.
Note: Before soldering, arrange all the LEDs first to check the visual effect. Then, solder the MCU's minimal system before proceeding to the LEDs.
Figure 3: "Heart" Type LED Soldering Layout
Figure 4: "Heart" Type LED Resistor Placement
Note: I used inline resistors directly soldered on the back of the universal board. The crystal oscillator and ceramic capacitors were also soldered into the MCU socket. The LEDs I used are red, yellow, blue, and green.
"Heart" Type LED Light Effect
CD4017 Water Light Circuit Diagram
Circuit Working Principle: The NE555 forms a pulse signal generator, and the output from pin 3 of the NE555 is connected to pin 14 of the CD4017. The speed of the water lamp effect can be adjusted by changing the value of R2. There are 10 LEDs on the circuit. Each LED has its own current-limiting resistor, but during my build, I used only one resistor, which worked just as well. The resistance value was 1K. Using the CD4017, you can create various water lamp circuits, such as circular, heart-shaped, or with multiple LEDs combined.
**Small Heart-Shaped Water Light Circuit Diagram (4)**Fttx Telecom,Fiber Alignment,Tumtec Fusion Splicer,Core Alignment Technology
Guangdong Tumtec Communication Technology Co., Ltd , https://www.gdtumtec.com