Control principle of infrared remote control RGB light strip
Infrared remote control RGB Light Strips can change different colors at will, which not only makes the vision more colorful, but also makes life more ceremonial and romantic. This is also an important reason why RGB light strips, as the main product of atmosphere lights, are becoming more and more popular.

Let's talk about what RGB lights are.
RGB light strip means that each LED soldered on the LED light strip is composed of three chips: red, green and blue. They can emit three monochromatic lights, namely red, green and blue, separately, or the three chips can emit light together to combine into white light.
They can also be paired in pairs, allowing for colorful combinations of lights.
Most of the RGB light strips on the market are flexible light strips.
It refers to a light strip obtained by welding an LED light source on a strip-shaped flexible circuit board (abbreviated as soft board or FPC).
Common RGB lamp light sources include 2835 lamp beads, 5050 lamp beads and other sizes. "2835" means that the light source chip size is 2.8mm wide and 3.5mm long; "5050" means that the light source chip size is 5.0mm wide and 5.0mm long.
RGB atmosphere light strip components
The RGB light strip consists of the following parts:
RGB controller, infrared remote control, RGB light strip, power adapter.
The main components of the RGB controller are the main control chip DLT8F61SA, infrared receiving tube, voltage regulator diode and its MOS tube, etc.

RGB atmosphere light control principle
1. Brightness control: mainly by controlling the current in the light strip, thereby controlling the light power of the light strip, the light brightness of the light strip can be controlled. The IO port of DLT8F61SA outputs PWM to control the drive of MOS, and different duty cycles correspond to different LED light brightness.
2. Color control: The three IO ports of DLT8F61SA drive the R, G, and B wicks of the MOS-controlled LED respectively; single-color light emission means driving only R, G, or B to achieve single-color red, single-color green, and single-color blue light emission. If DLT8F61SA drives R, G, and B at the same time, the LED emits white light. Driving any two of R, G, and B, and giving different duty cycles to PWM can achieve more colors. If the timing of driving R, G, and B is different, various forms of color change effects such as LED flashing and gradient can be achieved.

DLT8F61SA controls RGB lights. Functional description:
1. The solution supports infrared remote control, and the infrared button is 100% effective without code loss;
2. DLT8F61SA supports 16 kinds of monochrome output. The monochromes are red, orange, yellow, dark yellow, light yellow, green, light green, cyan, light blue, light blue, blue, dark blue, brown, purple, pink, and white;
3. DLT8F61SA supports brightness and speed adjustment: 8 levels of brightness (100%), 4 levels of speed;

4. DLT8F61SA supports seven-color jump function, color cycle: red - green - blue - yellow - purple - cyan - white;
5. DLT8F61SA supports breathing function: white from off to bright, from bright to off;
6. DLT8F61SA supports 3-color gradient function: red - green - blue - red;
7. DLT8F61SA supports three-color switching: red-green-blue,
8. The chip has a power-off memory function. The power-on LED light status is the switch status before the last power-off;

