Introduction: Nano Pixels 26 Bit Using Arduino

About: someone who likes electronics

In my previous article, I made a tutorial on how to use the WS2812 Nano Pixel LED. In that article, I used the 16 Bit Ring Nano Pixel WS2812.

And in this article, I will show you how to use the 26bit ring Nano Pixels WS2812.

In the hardware section, nothing is different between 16 bits and 26 bits.

Only in the software section that needs to be modified.

Features and Benefits:

  • Control circuit and RGB chip are integrated in a package of 5050 components.
  • Built-in signal reshaping circuit.
  • Built-in electric reset circuit and power lost reset circuit.
  • Cascading port transmission signal by single line.
  • Send data at speeds of 800Kbps.

See the datasheet for more info WS2812.

Step 1: Required Components

The components you need for this tutorial :

Required Library :

To add a library to Arduino, see this article "How to Add an External Library to Arduino"

Step 2: Connect the RGB Led to Arduino Nano

Follow the instructions below to connect WS2812 to Arduino Nano :

WS2812 to Arduino

IN ==> D6

VCC ==> +5V


Step 3: Programming

In this part of the software that needs a little adjustment. In the "Number of LEDs" section, adjust the number of LEDs used.

Follow the instructions below to program the Arduino board:

Open Arduino IDE

Click File > Examples > Adafruit NeoPixels > strandtest

You must change some values from this sketch,

What must be change is as follows:

  • Pin used
#define LED_PIN 12
  • Number of LEDs
#define LED_COUNT 26
  • Set Brightness

Change the program as you need it.

After that, upload the program to the Arduino board

Step 4: Result

When you have finished uploading the program to Arduino. The results can be seen in the video above.

Thank you for reading this article. see you in the next article.

If you have questions, just write in the comments column.