1
/
of
4
Eletechsup Original Factory Official Store
For Arduno kit Multicolor 6 Color LED Matrix AVR ARM PIC MCU with MEGA2560 code
For Arduno kit Multicolor 6 Color LED Matrix AVR ARM PIC MCU with MEGA2560 code
SKU:TB287
1000 in stock
Regular price
$0.99
Regular price
$3.48
Sale price
$0.99
Unit price
/
per
Couldn't load pickup availability
Share
Packing list:
1 pcs 6 bit Multicolor LED's Board(Does not include ARDUINO UNO R3);
Description:
Can be inserted directly into Arduino uno mega2560,Ideal for linking up to your Arduino UNO Mini Nano Mega2560 etc,or others MCU ( AVR STM32 ARM PIC AT89C51 STC MSP430 FPGA CPLD etc.)
Note : White LED light than any other color lights, so use PWM reducing the brightness(reflected on arduino code)
1 6 bit Multicolor Common Cathode LEDs.
2 Multicolor are White Blue Chartreuse Yellow Pink Red.
3 7 PIN OUT 2.54mm
4 1K ohm Limiting resistor
5 Power Supply Voltage: 3.3-12V;
6 Size: 17.78MM x 11.43MM.
PCB :
Circuit schematics :
Connection with Arduino(Only 6 bit LED's Board ,Does not include for ARDUINO UNO R3) :
Arduino uno/mega2560 Code(Light water)
//******************************************************//
/*
Arduino_6Color_led
White Blue Chartreuse Yellow Pink Red
*/
// give it a name:
int D1 = 13;//White
int D2 = 12;//Blue
int D3 = 11;//Chartreuse
int D4 = 10;//Yellow
int D5 = 9;//Pink
int D6 = 8;//Red
int i;
#define ms_cnt 200//Millisecond delay count
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(D1, OUTPUT);
pinMode(D2, OUTPUT);
pinMode(D3, OUTPUT);
pinMode(D4, OUTPUT);
pinMode(D5, OUTPUT);
pinMode(D6, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
//White LED light than any other color lights, so reducing the brightness
for(i=0;i< ms_cnt/6;i++)
{
digitalWrite(D1, HIGH);
delay(1);
digitalWrite(D1, LOW);
delay(5);
}
digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(ms_cnt); // wait for a Millisecond
digitalWrite(D2, LOW); // turn the LED off by making the voltage LOW
digitalWrite(D3, HIGH); // turn the LED on (HIGH is the voltage level)
delay(ms_cnt); // wait for a Millisecond
digitalWrite(D3, LOW); // turn the LED off by making the voltage LOW
digitalWrite(D4, HIGH); // turn the LED on (HIGH is the voltage level)
delay(ms_cnt); // wait for a Millisecond
digitalWrite(D4, LOW); // turn the LED off by making the voltage LOW
digitalWrite(D5, HIGH); // turn the LED on (HIGH is the voltage level)
delay(ms_cnt); // wait for a Millisecond
digitalWrite(D5, LOW); // turn the LED off by making the voltage LOW
digitalWrite(D6, HIGH); // turn the LED on (HIGH is the voltage level)
delay(ms_cnt); // wait for a Millisecond
digitalWrite(D6, LOW); // turn the LED off by making the voltage LOW
}
//******************************************************//
