티스토리 뷰

제품 소개:

8*8 LED RGB Matrix는 단 3개의 선을 사용하여 SPI 인터페이스를 통해 제어 할수 있으며
복잡한 동작 소프트웨어 및 많은 핀들이 사용되야 하는 점들을 개선하였습니다.
daisy-chain형식으로 서로 연결이 가능하여 수직 및 수평으로 동시에 연결이 가능합니다.
고속으로 데이터 전송이 가능하게 하여 디스플레이ㅢ refresh rate를 개선하였고
아두이노 라이브러리가 제공됩니다.


제품 사양:


Power spply 

 5v 

 Max current consumption

 300mA 

 Communications interface

 SPI(3 digital pins or hardware SPI interface) 

 LED color

 RGB tri-color LEDs 

 8x8 dot matrix display assembled

Useful both for industrial and commercial information displays as well as for hobbyist human?machine interface 

Directly support Arduino 

 Simplify the driving way

Dasiy-chainable connection design-vertically and horizontally at the same time 

 High speed data transmission design to improve the display refresh


제품 연결도:



예제 소스:

#include <rgb_matrix.h>
#include <SPI.h>
 
unsigned long time=0;
unsigned int tick_100ms = 0;
unsigned char counter=0;
 
#define N_X 1
#define N_Y 1
 
/*
//Interface shield ShiftOut connector 
#define DATA_PIN  9
#define CLK_PIN   3
*/
//Hardware SPI
#define DATA_PIN  11
#define CLK_PIN   13
 
#define LATCH_PIN 8
 
rgb_matrix M = rgb_matrix(N_X, N_Y, DATA_PIN, CLK_PIN, LATCH_PIN);
 
unsigned char cmd[50]={0},cmd_num=0;
unsigned char tmp =  'A';
unsigned char st=0;
 
void setup()
{
       Serial.begin(115200);
       delay(200);
}


사용 예정 핀(아두이노 나노):

- 디지털 13번

- 디지털 11번

- 디지털 8번 









댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함