Addressable WS2811 RGB LED control:
WS2811 addressable RGB LEDs are Great for producing different colors. Let’s make a WS2811 RGB LED control RGB LED Controller For controlling the Pixel LEDs.

Required Components:

1. Arduino Uno R3 Board
2. WS2812B LEDs
3. 5V Power Supply
4. IRFZ44N
5. LED:
6. Resistor
7. Capacitor
8. Soldering Iron
What are the ws2811 LEDs?
ws2811 is an RGB LED. But it is not a simple RGB LED strip. It is an addressable RGB LED. It means you can control every led color with a data signal input.
You can get these data signals from different things like Arduino Board’s Digital pin, from a proper RGB LED controller, and many more. The main thing is that this data signal is a PWM pulse. Thes PWM pulses run the LEDs.
The LED atrip which I am using is ws2811 addressable RGB LED. The name ws2811 comes from the driver IC ws2811. For this, we call this the ws2811 LEDs.
Sometimes the IC may be inside the LED this type of LED is known as ws2812 LEDs. These LEDs also work in the same principle.
This ws2811 addressable RGB LED runs on DC 5V. So you should take care of voltage polarity.
The WS2811 RGB LED Controller which we are making today also works on DC 5V

Connection for WS2811 RGB LED:
The RGB LED strips I have bought, have a Male port and a Female port. The male port is used for sending the data signal from the controller to the LEDs. And the female port is used for sending the data signal into the next LED strips. In this way, the connection goes and we can control a WS2811 RGB LED.
The LEDs take DC 5V to run. But we all know that DC has some great losses. So you will see that the LED near the power supply is glowing more than the Last LED strips.
For solving this problem we need to connect all LEDs +ve and all LEDs GND. Then we have to give the power in each and every strip.
Controller:
In this case, there are 2 options. You may buy some premade controllers. Which will be easier to program with the given software. You will get a simple software interface that will help you if you don’t want to mess with the coding stuff.
Arduino as WS2811 RGB LED Controller:
Here I will use some basic examples from the Arduino library
1. FastLED.
2. Adafruit Neopixel.
Now see the video tutorial on how to use this and what parameters you have to change. Let me say in a quick summary.
The LED_Pin is also known as the Data_Pin. The pin is used for providing the data signal into the LEDs.
The Num_LED is also known as the Number of LEDs. Here you have to give the Total LED Numbers you are connecting with the LEDs.

In some codes, you will find set Brightness options. This option is mainly used for setting the proper brightness of the LEDs. Here we will talk about Digital Values. Here the total Range is 0 to 255. Now the 0 is for 0% brightness and the 255 is for 100% brightness. You can use any values between these two values for the WS2811 RGB LED Controller.

While working with these two libraries I find that the fastLED library works flawlessly and easy to understand. And here you can code one by one and you can also use any array for lighting up the LEDs.
Suppose you want to run the LED 1 then you can write a single line of code and make the LEDs glowing.
You can make simple ‘for_loops’ for running the LEDs. This library really makes sense.
Form Matrics:
You can make a great display with these LEDs in main cases the LEDs which is used are ws2812 LEDs. These LEDs have high Density so it means the display which will be produced would be much greater compared with ws2811 LEDs.
For making the picture you will need an LED Driver because there are too many LEDs you can’t control all of them with one Arduino (It is not impossible. But it is very hard to do with Arduino to run a video file through Arduino). So basically people use a proper t300k controller for controlling these LEDs. And it is easy to do.
You will need an ethernet cable for it. Connect the controller with your pc and then open the given software. Then run any video file and your video file will run in the display. It is very simple.
Schematics:

About the Author

Subramanian

Hello! My Dear Friends. I am Subramanian. I am writing posts on androiderode about Electronics testing and equipments.

View All Articles