LED landscape lighting is to realize the alternating lighting and gradient control of rgbled. The circuit design is shown in Figure 1. The circuit uses 3181 integrated chip as the controller. Refer to document  for its related functions and pins. It controls 36 low-power LEDs, 12 RGB three primary color LEDs, and the driving scheme adopts capacitor step-down type.
Among them, C1 and C5 are two identical capacitors in parallel, which play the role of step-down and current limiting; The rectifier bridge composed of four ln4007 rectifies the input AC voltage; The filter capacitor C4 is used to filter the AC component in the rectified output voltage to make the voltage smoother; Voltage at stable a point of Schottky diode vd5; Vd6 provides a stable voltage for the control IC; R3 and R4 current limiting resistance; R2 and C2 provide AC input frequency for control IC and AC sampling frequency for integrated IC; Triode VT1, vt2 and VT3 are used to control the current change of LED branch.
Figure 1 LED landscape lighting circuit