- -43%
LED Full Color Dot Matrix RGB LED kijelző kártya 8*8 Dot Matrix modul Raspberry Pi 3/2/B 8x8 RPI-RGB-LED-Matrixhoz
LED Full Color Dot Matrix RGB LED kijelző kártya 8*8 Dot Matrix modul Raspberry Pi 3/2/B 8x8 RPI-RGB-LED-Matrixhoz
1 073 Ft
43% megtakarítás
1 883 Ft
Nincs adó
RPI-RGB-LED-Matrix This 8x8 RGB full color dot matrix screen is a useful dot matrix screen developed based on 74HC595 chip, it is compatible with almost all development boards, such as: Arduino series, Raspberry Pi, banana Pi , as well as the STM32 series and 51 microcontrollers.
It uses the SPI protocol to communicate with the microcontroller or development board, and has the characteristics of fast speed and convenient operation.
It is widely used by makers in various makerspaces for art display, warning reminders and other identification products. Some people even use its high-brightness feature to make music spectrum analyzers and bicycle tail lights.
· Based on 74HC595 chip
· Support SPI protocol
· Low power consumption
· RGB full color support
How to connect:
Please refer to the following table and the following diagrams for the wiring method. All wiring requires only 5 wires, namely VCC, GND, CE, MOSI, and SCLK.
Wiring table:
Raspberry Pi
RPI-RGB-LED-Matrix
5V
VCC
GND
GND
GPIO11(BCM)
CLK
GPIO8(BCM)
CE
GPIO10(BCM)
MOSI
How to drive:
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 yet burned the system, please refer to the relevant documentation of the burning system in wiki.52pi.com. of burning.
2. First log in to the system and open a terminal, then edit the /boot/config.txt file with the following command to enable the SPI function.
sudo vim.tiny /boot/config.txt
Enter the following parameters:
device_tree=bcm2710-rpi-3-b.dtb
dtparam=spi=on
Save and exit, reboot the Raspberry Pi.
2. Edit a file and name it matrix.c, then fill in the following C language code and save and exit.
sudo vim.tiny matrix.c
Enter the following:
#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. Use the GCC compiler to compile and execute the file to see the effect.
sudo gcc -o matrix matrix.c -lwiringPi
sudo ./matrix
It uses the SPI protocol to communicate with the microcontroller or development board, and has the characteristics of fast speed and convenient operation.
It is widely used by makers in various makerspaces for art display, warning reminders and other identification products. Some people even use its high-brightness feature to make music spectrum analyzers and bicycle tail lights.
· Based on 74HC595 chip
· Support SPI protocol
· Low power consumption
· RGB full color support
How to connect:
Please refer to the following table and the following diagrams for the wiring method. All wiring requires only 5 wires, namely VCC, GND, CE, MOSI, and SCLK.
Wiring table:
Raspberry Pi
RPI-RGB-LED-Matrix
5V
VCC
GND
GND
GPIO11(BCM)
CLK
GPIO8(BCM)
CE
GPIO10(BCM)
MOSI
How to drive:
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 yet burned the system, please refer to the relevant documentation of the burning system in wiki.52pi.com. of burning.
2. First log in to the system and open a terminal, then edit the /boot/config.txt file with the following command to enable the SPI function.
sudo vim.tiny /boot/config.txt
Enter the following parameters:
device_tree=bcm2710-rpi-3-b.dtb
dtparam=spi=on
Save and exit, reboot the Raspberry Pi.
2. Edit a file and name it matrix.c, then fill in the following C language code and save and exit.
sudo vim.tiny matrix.c
Enter the following:
#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. Use the GCC compiler to compile and execute the file to see the effect.
sudo gcc -o matrix matrix.c -lwiringPi
sudo ./matrix
Biztonsági feltételek
Szállításii feltételek
Visszaküldési feltételek