It uses the SPI protocol to communicate with the single -chip microcomputer or the development board, which has the characteristics of fast speed and convenient operation.
Maker is widely used by MAKER for each maker space to make artistic display, warning reminders and other logo products. Some people even use its highlight characteristics to produce music spectrum analyzers and bicycle taillights.
· Based on 74HC595 chip
· Support SPI protocol
· Low power consumption
· RGB full color support
How to connect:
For the wiring method, please refer to the table below and subsequent icons. All the wiring requires only 5 lines, which are VCC, GND, CE, MOSI, SCLK.
Wiring table:
Raspberry Pi |
RPI-ERGB-LED-MATRIX |
5V |
VCC |
GND |
GND |
GPIO11 (BCM) |
CLK |
GPIO8 (BCM) |
CE |
GPIO10 (BCM) |
MOSI |
How to drive:
1. All the operations here are based on the burning of the Raspberry Pi operating system. If you have not recorded the system, please refer to the related document related documents in wiki.52pi.com to perform the system for the system for the systemBurning.
2. After logging in to the system, open a terminal, and then enable the SPI function by editing/up/config.txt files below.
Sudo vim.tiny /boot/config.txt
Enter the following parameters:
device_tree = BCM2710-RPI-3-B.DTB
dtparam = spi = on
Save and exit, restart Raspberry Pi.
2. Edit a file and name it Matrix.c, and then fill in the following C language code and save exit.
sudo vim.tiny matrix.c
Enter the following content:
#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, 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<
WiringPISPIDARW (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
Product Attributes | |
batch number | Full -color dotted screen 8*8 point line |
Brand | Hanyu Technology |
Unlimited Blocks, Tabs or Accordions with any HTML content can be assigned to any individual product or to certain groups of products, like entire categories, brands, products with specific options, attributes, price range, etc. You can indicate any criteria via the advanced product assignment mechanism and only those products matching your criteria will display the modules.
Also, any module can be selectively activated per device (desktop/tablet/phone), customer login status and other criteria. Imagine the possibilities.
- Stock: In Stock
- Model: RPTW1014
- Weight: 0.05kg