Arduino Tutorial: 8×8 RGB Led Matrix with WS2812 driver with Arduino Uno from

Dear friends welcome back! This is Nick fromeduc8s.

tv and today we are going to see how to use this 8×8 RGB LED matrix with Arduino.

Without any further delay, let’s get started! So far, I had only used this 8×8 Led matrixwhich is great! The fact that the LEDs of it are only red is limiting.

So, when I discoveredthis RGB LED matrix on Banggood.

com I wanted to try it.

The cost of the matrix is around13$ and Banggood.

com was kind enough to send me two sample units in order to test themand share my opinion with you.

You can find a link for this matrix in the descriptionof the video.

The LED matrix is big, it’s 6 by 6 cms andit contains 64 RGB LEDs which use the WS2812 driver.

Each pixel is individually addressable.

Only one microcontroller pin is required to control all the LEDs, and you get 24 bit colorfor each LED.

Because of that it is extremely easy to use this matrix with Arduino.

At theback, there are only three pins to connect.

The LED matrix requires a lot of current, it can draw up to 2A.

For that reason I am going to connect it to a 5V 2A power supply.

We connect the 5V pin of the matrix to 5V from the power supply and the Ground of thematrix to Ground of the power supply.

Don’t forget to connect the Ground from the powersupply to Arduino Ground as well.

Next, all we have to do, is to connect digital pin 3of the Arduino to DIN pin of the matrix.

Let’s power up the project now in order to watcha small demo of the matrix.

As you can see, the demo is really impressive! The LEDs arevery bright, I have set the brightness of the LEDs to about 30% and they are still verybright! You won’t believe how bright these LEDs are! You can easily connect more matricestogether one next to the other.

You have to connect power of course between the matricesand DOUT pin from the first matrix to the DIN pin of the second matrix.

This way youcan build bigger matrices! But, be careful, more LEDs require more power so choose anappropriate power supply! Now let’s go to the computer to see thesoftware side of the project.

In order to drive this LED matrix I am using the FastLEDlibrary which is a very easy to use library.

You can find a link for the library in thedescription of the video.

After you download the library you can loadany of the examples that come with it in order to see the matrix in action.

All you haveto do is to define how many LEDs you have and the digital pin of the Arduino board thatyou are going to connect the matrix to.

That’s it! As you can see, you can easily set thecolor and the brightness of any LED you like and create impressive effects.

Each LED canhave a brightness from 0 to 255 and over 1 million colors! There are some predefinedcolors in the library or you can create your own using their RGB values! Great! You canalso use Adafruit’s Neopixel library in order to build you projects.

The choice isyours! I am really impressed with this LED matrix.

It is extremely easy to use and very bright.

I have some project ideas where are goingto use these matrices.

I am going to build a couple of games with it, so stay tuned!What do you think about these matrices? Do you have any projects in mind that you wantto build using matrices like these? If so, please post your comments or ideas in thecomments section below! If you are new to the channel you may notknow that my day job is developing Android games and two months ago I published a newgame on Google Play Store.

It is called Quiz of Knowledge and it is a quiz game that supports5 languages and it is completely free.

If you like quiz games I am sure you are goingto enjoy this one.

If you wish you can download it by clicking here or in a link in the descriptionof the video.

Thanks! If this is your first time here, I would loveto have you subscribed.

In this channel I post videos about DIY projects every Saturday.

I love making things and I believe that anyone can make things, anyone can become a maker.

That’s why I created this channel, in order to share my knowledge with the community andlearn from the community.

I hope you will join us.

Until next Saturday, Watch, Learn, Build!.

Leave a Reply