Close

Raspberry Pi 3 Model B 8x8 Full-Color RGB LED Matrix Module for Arduino STM32

EP-0075

New

997 Items

$ 16.99

Add to wishlist

More info

2Pi RGB 8x8 Dot Matrix
 
Description:
 
RPI-RGB-LED-Matrix is based on 74HC595 chip and it's an 8*8 dot matrix module that can be drivered by Arduino board, Raspberry Pi and even STM32 or STC89C serials development board. 
It communicates with your development board or your chip by SPI protocol, it's very easy to setup and use.
You can use it to do a lot of interesting things, such as musical backdrop, music spectrum analyzer, and even in your bicycle taillights.
 
Features:
  • Based on 74HC595 chip support
  • Support SPI protocol
  • Low power consumption
  • RGB three-color combination can be a lot of bright colors

​Package Includes:

  • 1x   RPI-RGB-LED-Matrix   

​How to wire it up: 

You can just follow this following chart to set it up with your Raspberry Pi.
Wire Chart:

 
How to light it up: 
1. After power on and login to system. you can open a terminal and edit /boot/config.txt file to enable SPI function.
sudo vim.tiny /boot/config.txt 
and input those parameters:
device_tree=bcm2710-rpi-3-b.dtb
dtparam=spi=on
2.Edit a file named it matrix.c and input following paragraph:
sudo vim.tiny  matrix.c
and input those code:
#include
#include
#include
#include
 
#define RED_DATA 0
#define BLUE_DATA 1
#define GREEN_DATA 2
 
int main(void)
{
  static uint8_t data[4] = {0x0,0x0,0x0,0x0};
  wiringPiSetup();
  wiringPiSPISetup(0,500000);
  while(1)
     {
         static uint8_t heart[8] = {0x00, 0x66, 0xFF, 0xFF, 0xFF, 0x7E, 0x3C, 0x18};             
         int j;
         int x=2;
    for ( j=0;j<8;j++)
        {

 

          data[0] = ~heart[j];
          data[2] = 0xFF;
          data[1] = 0xFF;
          data[3] = 0x01 << j ;
          wiringPiSPIDataRW(0,data,sizeof(data));
          delay(x);
        };
    };
}
 
3.Compile it and run it.
sudo  gcc  -o  matrix  matrix.c  -lwiringPi
sudo  ./matrix
Then you will see it lights up, more information please feel free to visit our wiki site:
wiki.52pi.com/index.php/RPI-RGB-LED-Matrix_SKU:EP-0075

Reviews

No customer reviews for the moment.

Write a review

Raspberry Pi 3 Model B 8x8 Full-Color RGB LED Matrix Module for Arduino STM32

Raspberry Pi 3 Model B 8x8 Full-Color RGB LED Matrix Module for Arduino STM32

30 other products in the same category

Close