NeoPixel NeoMatrix 8x8 64 RGB LED Matrix Random Color Animation

by RonFrtek in Circuits > Arduino

83 Views, 0 Favorites, 0 Comments

NeoPixel NeoMatrix 8x8 64 RGB LED Matrix Random Color Animation

NEOPIXEL64

In this Visual Programming Visuino tutorial, we’ll use the Adafruit NeoPixel NeoMatrix 8x8 64 RGB LED Matrix to create random color running lights.

A pulse is sent to the NeoPixel matrix to move one pixel forward, while a random color generator sets the color of that pixel.

This creates a dynamic, flowing animation where each LED lights up with a new random color as it moves across the matrix.

Using Visuino’s drag-and-drop interface, you can adjust the speed, brightness, and color randomness of the animation.

This project demonstrates how to control the NeoPixel NeoMatrix 8x8 to create moving, colorful LED patterns with Arduino.

Note: you can use any other NeoPixel matrix, it will work the same.

Watch the Video!


Note: You can use any other NeoPixel WS2812 RGB LED module, just adjust the number of pixels in Visuino


What You Will Need

Adafruit NeoPixel NeoMatrix 8x8 64 RGB LED Pixel Matrix.jpg
FZEK4WBK3XGYAP0.LARGE.jpg
VisuinoAdvrtisemen_ArduinoMatter-s.png
F5OFEUQJJ4ZYFKY.LARGE.jpg
  1. Adafruit NeoPixel NeoMatrix 8x8 - 64 RGB LED Pixel Matrix
  2. Arduino (or any other board)
  3. Jumper wires
  4. Visuino program: Download Visuino


The Circuit

2025-12-10_14-14-53.jpg
  1. Connect NeoMatrix pin [5V] to Arduino pin [5V]
  2. Connect NeoMatrix pin [GND] to Arduino pin [GND]
  3. Connect NeoMatrix pin [Data In] to Arduino digital pin [2]

Start Visuino, and Select the Arduino Board Type

select-board-uno.jpg
Visuino-Select-Board-UNO.jpg

Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "Arduino UNO" as shown on Picture 2

In Visuino Add & Set Components

2025-12-10_12-47-06.jpg
2025-12-10_12-55-15.jpg
2025-12-10_13-02-22.jpg
2025-12-10_13-08-43.jpg
2025-12-10_13-08-03.jpg
2025-12-10_13-08-17.jpg
  1. Add "Pulse Generator" component
  2. Add "Random Color" component
  3. Add "NeoPixels" component


  1. Select "PulseGenerator1" and in the properties window set "Frequency" to 5, adjust this value according to your needs
  2. Double click on the "NeoPixels1" and in the "PixelGroups" window drag "Running Color" to the left side and in the properties window set "" to 64

In Visuino Connect Components

2025-12-10_13-09-42.jpg
neopixel64.png
  1. Connect "PulseGenerator1" pin [Out] to "NeoPixels1 > RunningColor1" pin [Step]
  2. Connect "PulseGenerator1" pin [Out] to "RandomColor1" pin [Clock]
  3. Connect "RandomColor1" pin [Out] to "NeoPixels1 > RunningColor1" pin [Color]
  4. Connect "NeoPixels1" pin [Out] to Arduino Digital pin [2]

Generate, Compile, and Upload the Arduino Code

Visuino-Compile-UNO.jpg

In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Play

Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this Instructable, you can download it here and open it in Visuino: https://www.visuino.com