LED Full Color Dot Matrix RGB LED Display Screen Board 88 Dot Matrix Module for Raspberry Pi 3/2/B plus 8x8 RPI-RGB-LED-Matrix

Was: $90.00
Now: $45.00
(No reviews yet) Write a Review
SKU:
ZB955068
UPC:
4714053175061
Condition:
New
Availability:
Free Shipping from the USA. Estimated 2-4 days delivery.
Adding to cart… The item has been added
Descriptions: RPI-RGB-LED-Matrix is base on 74HC595 chip and it's an 8*8 dot matrix module that can be drivered by 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 colorsHow 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