Difference between revisions of "MCookie-LED Matrix"
From Microduino Wiki
(→Features) |
(→Specification) |
||
Line 12: | Line 12: | ||
==Specification== | ==Specification== | ||
− | *Electric specification | + | *Electric specification: |
− | **Working | + | **Working voltage: 5V; |
− | **Controlling light | + | **Controlling light source: WS2812*6. |
− | *Technical parameters | + | *Technical parameters: |
− | **WS2812 type | + | **WS2812 type; |
− | **Gray of three primary | + | **Gray of three primary colors: adjustable 256 level; |
− | **Size of | + | **Size of LED: 5mm*5mm; |
**The speed of data sending can reach 800Kbps. | **The speed of data sending can reach 800Kbps. | ||
− | *Connection | + | *Connection: |
− | **Direct adsorption on other modules | + | **Direct adsorption on other modules; |
**Connect to '''A0''' interface by default. | **Connect to '''A0''' interface by default. | ||
[[File: led-Matrix_steup1.jpg|600px|center]] | [[File: led-Matrix_steup1.jpg|600px|center]] |
Revision as of 09:01, 24 August 2016
ContentsOutlinemCookie-LED Matrix module integrate 6 WS2812 LEDs, each of which has an IC control chip. Them are controlled by a single bus, and the lighting status of each of them is controlled by an I/O port, which can be used as a full-color module to provide light source. Features
Specification
DocumentDevelopmentEquipment
Preparation
Experiment 1:Light up the Lights
#include <Adafruit_NeoPixel.h>
#define PIN A0 //led control pin
#define PIN_NUM 6 //Number of leds allowed to be connected
Adafruit_NeoPixel strip = Adafruit_NeoPixel(PIN_NUM, PIN, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin();
}
void loop() {
strip.setPixelColor(0, strip.Color(255, 0, 0));//Red
strip.show();
delay(1000);
strip.setPixelColor(1, strip.Color(0, 255, 0));//Green
strip.show();
delay(1000);
strip.setPixelColor(2, strip.Color(0, 0, 255));//Blue
strip.show();
delay(1000);
strip.setPixelColor(3, strip.Color(255, 255, 0));
strip.show();
delay(1000);
strip.setPixelColor(4, strip.Color(0, 255, 255));
strip.show();
delay(1000);
strip.setPixelColor(5, strip.Color(255, 0, 255));
strip.show();
delay(1000);
}
Program Description
Other Controlling Methods
Application
PurchaseHistoryGalleryVideo |