RGB LED MATRIX USING NEOPIXEL

by EDISON SCIENCE CORNER in Circuits > Arduino

4536 Views, 24 Favorites, 0 Comments

RGB LED MATRIX USING NEOPIXEL

20200731_182127.jpg
DIY 5*5 RGB LEDMATRIX using NEOPIXEL leds | small matrix

In this tutorial, I am going to show you how to build a 5*5 RGB LEDMATRIX USING NEOPIXEL. With this matrix, we can display mesmerizing animations, emojis and letters supersimple very attractive. let's get started!

Features

IMG_20200730_145419-01.jpeg
IMG_20200730_145426-01.jpeg
IMG_20200730_145925-01.jpeg
IMG_20200731_102832-01.jpeg
IMG_20200731_102928-01.jpeg
IMG_20200731_102924-01.jpeg
IMG_20200730_132929-01.jpeg
  • Very small
  • Millions of colours
  • Only one wire needed for programming
  • Super decorative
  • We can display emojis, animations,letters

Materials Needed

IMG_20200728_163903-01.jpeg
IMG_20200728_162544-01.jpeg
IMG_20200728_162350-01.jpeg
IMG_20200429_093718-01.jpeg
  1. 25*neopixel LEDs (WS2812 5050smd)
  2. Arduino (any Arduino)
  3. 3D printed jig (you can download .stl)
  4. Wires

ABOUT 5050 WS2812B LEDs

IMG_20200708_162553-01.jpeg
IMG_20200708_145921-01.jpeg
IMG_20200708_162905-01.jpeg

Each ws2812 led has 4 pins

  1. Vcc (connects to 5v)
  2. Gnd
  3. Din (connects to Arduino)
  4. DO (data out connects to the next LEDs in data in)

I don't have individual ws2812b LEDs so I decided to take from ledstrip.for that I heated up the strip with soldering iron (watch the video for details)
After gathering all things lets start the build

WS2812 LED strips are addressable and programmable Flexible LED strips which are very useful in creating the custom lighting effects. These LED Strips are powered by a 5050 RGB LED with a WS2812 LED driver inbuilt within it. Each LED consumes 60mA current and can be powered from a 5V DC supply. It has a single input data pin which can be fed from the digital pins of Microcontrollers.

Depending on the intensity of the three individual Red, Green, and Blue LEDs we can create any color we want.

Watch this basics Video

Circuit Diagram

Untitled Sketch_bb.jpg

Making

IMG_20200728_164725-01.jpeg
IMG_20200728_182344-01.jpeg
IMG_20200729_111939-01.jpeg
IMG_20200729_113537-01.jpeg
IMG_20200729_121914-01.jpeg

First, place neopixel leds in 5*5 matrix jig. Remember place every LEDs in the same Direction After placing all LEDs on jig first connect every ground pins of each LEDs in a row. Then connect VCC of all LEDs of a row. Do the same for remaining rows. After finishing thats connect data out of first led to the data in of next led. Data out of each row connect to the next rows first LEDs. Repeat this for all LEDs. After finishing everything. connect all rows VCC together also ground. Finally connect wires to common gnd, VCC, data in.

Enclosure

IMG_20200729_160025-01.jpeg
IMG_20200729_153525-01.jpeg

Next, I made a small enclosure with foam sheet. And placed the matrix inside the foam case.

Connections to Arduino

Vcc to 5v

Gnd to gnd

Din to D7 (any digital pin)

That's all about hardware connections

REST IS IN PROGRAMMING

first, install fastled library

We can program each led seperatley.with the help of fast led library we can create different animations and characters.

Please watch this neopixel basics Video

You can download .stl, animations codes,test code from here

After uploading code to Arduino should use a 1.5-ampere power supply.Becauseat maximum brightness a neopixel led draws around 60 mA current .we have total 25 LEDs so 25*60=1.5A

​Future Plans

IMG_20200730_130102-01.jpeg
IMG_20200730_145426-01.jpeg
  • Planing to make a easy software to generate code
  • Bluetooth connectivity and controlling

Thanks....