BPI 8*8 RGB LED Matrix Expansion Module
Front :
Back:
1.Product Specification:
2. Produce Overview:
The Matrix LED module is specifically designed for Banana Pi. The module with 8X8 Matrix LED. User can custom display content through programming. Pay attention, the module do not include driver board. You have to cooperate with Infinity cascade IO expand module
3. Produce Features:
  1. 1.
    Full color RGB
  2. 2.
    Square LED point source
  3. 3.
    Ultrathin
  4. 4.
    Plug and Play
  5. 5.
    No wire needed
4. Port:
need work with IO extend module.
Banana Pi connection port,also can use on raspberry pi.
5.Product Parameters:
  1. 1.
    Dot Size: 5.0mm
  2. 2.
    Pixel Array: 8×8
  3. 3.
    Luminous Intensity: 40mcd
  4. 4.
    Package Dimension: 60mm×60mm
  5. 5.
    Reverse Voltage(Max): 5V
  6. 6.
    Forward Current(Max): 25mA
  7. 7.
    Peak Forward Current(Max): 100mA
  8. 8.
    Power Dissipation(Max): 100mW
  9. 9.
    Operating Temperature(Max):-35~+85℃
  10. 10.
    Storage Temperature(Max): -35~+85℃
  11. 11.
    Lead Solder Temperature(Max): 260℃ for 5 seconds
6. Typical Application:
  1. 1.
    Scroll the display
  2. 2.
    LOGO display
  3. 3.
    Dynamic signage
7. How to use on BPI-M1:
For the Banana Pi ,just Insert these two module like the picture Below
7. How to use on BPI-M3:
OS: BPI-M3 Ubuntu15.10 (Kernel3.4)
Version: 1.0 HDMI
Could not load image
Step 1: Download WiringPI
1
$ git clone https://github.com/BPI-SINOVOIP/BPI-WiringPi.git1 -b BPI_M3
2
$ cd BPI-WiringPi
3
$ chmod +x ./build
4
$ sudo ./build
Copied!
Step 2 : Copy smaple code to Blue_RGB8*8.c file
$ sudo vi Blue_RGB8*8.c
Step 3 : Compile Blue_RGB8*8.c
$ gcc -o Blue_RGB8*8 Blue_RGB8*8.c -l wiringPi
Step 4: Run Blue_RGB8*8
$ sudo ./Blue_RGB8*8
youtube Video Demo how to install hardware:
youtube Video Demo for display :
Sample Code:
1
#include <stdio.h>
2
#include <wiringPi.h>
3
#include <sr595.h>
4
5
#define SPACE { \
6
{0, 0, 0, 0, 0, 0, 0, 0}, \
7
{0, 0, 0, 0, 0, 0, 0, 0}, \
8
{0, 0, 0, 0, 0, 0, 0, 0}, \
9
{0, 0, 0, 0, 0, 0, 0, 0}, \
10
{0, 0, 0, 0, 0, 0, 0, 0}, \
11
{0, 0, 0, 0, 0, 0, 0, 0}, \
12
{0, 0, 0, 0, 0, 0, 0, 0}, \
13
{0, 0, 0, 0, 0, 0, 0, 0} \
14
}
15
16
#define FULL { \
17
{1, 1, 1, 1, 1, 1, 1, 1}, \
18
{1, 1, 1, 1, 1, 1, 1, 1}, \
19
{1, 1, 1, 1, 1, 1, 1, 1}, \
20
{1, 1, 1, 1, 1, 1, 1, 1}, \
21
{1, 1, 1, 1, 1, 1, 1, 1}, \
22
{1, 1, 1, 1, 1, 1, 1, 1}, \
23
{1, 1, 1, 1, 1, 1, 1, 1}, \
24
{1, 1, 1, 1, 1, 1, 1, 1} \
25
}
26
27
#define H { \
28
{0, 1, 0, 0, 0, 0, 1, 0}, \
29
{0, 1, 0, 0, 0, 0, 1, 0}, \
30
{0, 1, 0, 0, 0, 0, 1, 0}, \
31
{0, 1, 0, 0, 0, 0, 1, 0}, \
32
{0, 1, 1, 1, 1, 1, 1, 0}, \
33
{0, 1, 0, 0, 0, 0, 1, 0}, \
34
{0, 1, 0, 0, 0, 0, 1, 0}, \
35
{0, 1, 0, 0, 0, 0, 1, 0} \
36
}
37
38
#define E { \
39
{0, 1, 1, 1, 1, 1, 1, 0}, \
40
{0, 1, 0, 0, 0, 0, 0, 0}, \
41
{0, 1, 0, 0, 0, 0, 0, 0}, \
42
{0, 1, 1, 1, 1, 1, 1, 0}, \
43
{0, 1, 0, 0, 0, 0, 0, 0}, \
44
{0, 1, 0, 0, 0, 0, 0, 0}, \
45
{0, 1, 0, 0, 0, 0, 0, 0}, \
46
{0, 1, 1, 1, 1, 1, 1, 0} \
47
}
48
49
#define L { \
50
{0, 1, 0, 0, 0, 0, 0, 0}, \
51
{0, 1, 0, 0, 0, 0, 0, 0}, \
52
{0, 1, 0, 0, 0, 0, 0, 0}, \
53
{0, 1, 0, 0, 0, 0, 0, 0}, \
54
{0, 1, 0, 0, 0, 0, 0, 0}, \
55
{0, 1, 0, 0, 0, 0, 0, 0}, \
56
{0, 1, 0, 0, 0, 0, 0, 0}, \
57
{0, 1, 1, 1, 1, 1, 1, 0} \
58
}
59
60
#define O { \
61
{0, 0, 0, 1, 1, 0, 0, 0}, \
62
{0, 0, 1, 0, 0, 1, 0, 0}, \
63
{0, 1, 0, 0, 0, 0, 1, 0}, \
64
{0, 1, 0, 0, 0, 0, 1, 0}, \
65
{0, 1, 0, 0, 0, 0, 1, 0}, \
66
{0, 1, 0, 0, 0, 0, 1, 0}, \
67
{0, 0, 1, 0, 0, 1, 0, 0}, \
68
{0, 0, 0, 1, 1, 0, 0, 0} \
69
}
70
71
#define Smile { \
72
{0, 0, 1, 1, 1, 1, 0, 0}, \
73
{0, 1, 0, 0, 0, 0, 1, 0}, \
74
{1, 0, 1, 0, 0, 1, 0, 1}, \
75
{1, 0, 0, 0, 0, 0, 0, 1}, \
76
{1, 0, 1, 0, 0, 1, 0, 1}, \
77
{1, 0, 0, 1, 1, 0, 0, 1}, \
78
{0, 1, 0, 0, 0, 0, 1, 0}, \
79
{0, 0, 1, 1, 1, 1, 0, 0} \
80
}
81
#define Line { \
82
{1, 0, 0, 0, 0, 0, 0, 0}, \
83
{0, 1, 0, 0, 0, 0, 0, 0}, \
84
{0, 0, 1, 0, 0, 0, 0, 0}, \
85
{0, 0, 0, 1, 0, 0, 0, 0}, \
86
{0, 0, 0, 0, 1, 0, 0, 0}, \
87
{0, 0, 0, 0, 0, 1, 0, 0}, \
88
{0, 0, 0, 0, 0, 0, 1, 0}, \
89
{0, 0, 0, 0, 0, 0, 0, 1}, \
90
}
91
92
int RowRed[8]={116,117,118,119,120,121,122,123};
93
int RowGreen[8]={108,109,110,111,112,113,114,115};
94
int RowBlue[8]={100,101,102,103,104,105,106,107};
95
int Column[8]={124,125,126,127,128,129,130,131};
96
97
98
void MatrixSetup()
99
{
100
int j;
101
for(j = 0; j < 32; j++)
102
{
103
pinMode(100 + j, OUTPUT);
104
}
105
for(j = 0; j < 8; j++)
106
{
107
digitalWrite(100 + j, 1);
108
}
109
for(j = 0; j < 8; j++)
110
{
111
digitalWrite(116 + j, 1);
112
}
113
for(j = 0; j < 8; j++)
114
{
115
digitalWrite(108 + j, 1);
116
}
117
}
118
void Clear()
119
{
120
int i;
121
for(i=0;i<8;i++)
122
{
123
digitalWrite(RowRed[i],1);
124
digitalWrite(RowGreen[i],1);
125
digitalWrite(RowBlue[i],1);
126
digitalWrite(Column[i],0);
127
}
128
129
130
}
131
int main(int argc, char *argv[])
132
{
133
int column, row, thisPixel;
134
long long k;
135
wiringPiSetup();
136
sr595Setup(100, 32, 12, 14, 10);
137
MatrixSetup();
138
int matrix[8][8]= Smile ;
139
while(1)
140
{
141
Clear();
142
for(column=0;column<8;column++)
143
{
144
digitalWrite(Column[column],1);
145
for(row=0;row<8;row++)
146
{
147
if(matrix[column][row] == 1)
148
digitalWrite(RowBlue[row],0); // Blue color
149
digitalWrite(RowBlue[row],1); // Blue color
150
}
151
digitalWrite(Column[column],0);
152
}
153
}
154
}
Copied!
Link to BPI forum:
Last modified 1yr ago
Copy link