Thank you JLCPCB for sponsoring this project.
The Addressable through hole LEDs can change the colors of the PL9823 addressable RGB LEDs by varying the HSV and the RGB parameters.
HSV stands for Hue, Saturation, Value.
Hue is the color of the light from red to magenta.
Saturation is the grayness of the color, lower means more gray, higher means more towards that color.
Value is the brightness of the color, lower means darker, higher means brighter.
There are 16 LEDs on each side of the PCB. Each side is controlled by either only HSV or RGB parameter.
Please test the RGB LEDs before soldering. We require 2 RGB LEDs for each test. Connect a capacitor across each RGB LED VDD and GND, and a resistor in series with the VDD. Please refer to the schematic diagram. VDD and GND are to be wired to a 5V power supply. Din connects to the Arduino, Dout connects to the other RGB LED Din.
We are using the FastLED Arduino library for the Arduino Nano board. The HSV and the RGB vary from 0 to 255 for each parameter. The 3362P potentiometers are used to tune the parameters.
It is highly recommended to use an external power supply such as USB C board and add in a capacitor parallel to the power supply to the 2 power supply copper pads.
Thank you JLCPCB again for sponsoring this project and please order your PCB at jlcpcb.com/RAT
Comments