Product description
RPI-RGB-LED-Matrix This 8X8 RGB Full-Color Dot Matrix Screen Is a Easy-to-Use Dot Matrix Screen Developed Based on the 040595 Chip, Which Can Be Compatible with Almost All Development Boards, Such as: Arduino Series, Raspberry Pi,banana Pi, STM32 Series and 51 Single Chip Microcomputer.
It Uses SPI Protocol to Communicate with Single Chip Microcomputer Or Development Board, and Has the Characteristics of Fast Speed and Convenient Operation.
It Is Widely Used by Makers in Various Maker Spaces to Make Logo Products Such as Art Display, Warning and Reminding. Some People Even Use Its Highlight Features to Make Music Spectrum Analyzer and Bicycle Taillights.
· Based on the 1280 595 Chip
Please Refer to the following Table and the following Figure for the Wiring Mode. All Wiring Only Needs 5 Wires, Namely VCC,GND,CE,MOSI and SCLK.
1. All Operations Here Are Based on the Assumption That You Have Completed the Burning of the Raspberry Pi Operating System. If You Have Not Burned the System, please Refer to the Relevant Documentation of the Burning System in Wiki.52pi.com for System Burning.
2. First Log on to the System, Open a Terminal, and Then Edit the/Boot/Config.txt File to Enable SPI Function.
Sudo vim. Tiny/boot/tru.txt
Enter the following Parameters:
device_tree=bcm2710-rpi-3-b.dtb
Save and Exit, Restart Raspberry Pi.
2. Edit a File and Name It Matrix. C, Then Fill in the following C Language Code and Save It to Exit.
static uint8_t data[4] = {0x0,0x0,0x0,0x0};
Wiring Pippi setup (0,500000);
static uint8_t heart[8] = {0x00, 0x66, 0xFF, 0xFF, 0xFF, 0x7E, 0x3C, 0x18};
Wiringpistedatarw (0,data,sizeof(data));
3. Use GCC Compiler to Compile and Execute the File to See the Effect.
Sudo gcc-the matrix matrix.c -lwiringPi