Skip to product information
1 of 5

Eletechsup Factory store

2pcs DC 3.3V 5V 12V 6bits Multicolor Rapid Prototyping LED 2.54mm PIN 0603 Package for Arduiuo MEGA2560 LoL Breadboard PCB

2pcs DC 3.3V 5V 12V 6bits Multicolor Rapid Prototyping LED 2.54mm PIN 0603 Package for Arduiuo MEGA2560 LoL Breadboard PCB

Regular price $1.99 USD
Regular price $1.99 USD Sale price $1.99 USD
Sale Sold out

Product Name: 2pcs DC 3.3V 5V 12V 6bits Multicolor LED 2.54mm PIN 0603 Package for Arduiuo UNO MEGA2560 LoL Breadboard PCB Rapid Prototyping


Packing list(Does not include UNO Board):

2 pcs 6 bit Multicolor LED's Board(Does not include UNO R3);

 

 

 

Description:

 
2.54MM PIN 6 Digitals LED Board ,Can be inserted directly into Arduiuo UNO MEGA2560 DUE Board ,Ideal for linking up to your Arduiuo UNO Pro Mini Nano Mega2560 DUE Development Boardetc,or others MCU Embedded development board
(AVR STM32 STM8 STM0 ARM7 ARM9 ARM11 PIC C8051 C51 STC MSP430 FPGA/CPLD etc.)
 
 
Note : White LED light than any other color lights, so use PWM reducing the brightness(reflected on arduiuo code)
 
 
1. 6 bit 6 colors  Common Cathode LEDs.
2 . M u lt ic ol or 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 .LED & Resistor Package : 0603
7. Size: 17.78MM x 11.43MM.
 
 

 

 

 

 

PCB:

 

 

 

 

Circuit schematics :

 

 

Connection with Arduiuo(Only 6 bit LED's Board ,Does not include UNO R3):

 

Arduiuo uno/mega2560 Code 1 (Light water)
 

//******************************************************//
 

 
 
 
 

 
 

/*
 

Arduiuo_6Color_led
 

White Blue Chartreuse Yellow Pink Red
 

This example code is in the public domain.
 

*/
 

 
 

// 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 GND = 7;//GND
 

int D11 = 6;//White
 

int D12 = 5;//Blue
 

int D13 = 4;//Chartreuse
 

int D14 = 3;//Yellow
 

int D15 = 2;//Pink
 

int D16 = 1;//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);
 

 
 

pinMode(D11, OUTPUT);
 

pinMode(D12, OUTPUT);
 

pinMode(D13, OUTPUT);
 

pinMode(D14, OUTPUT);
 

pinMode(D15, OUTPUT);
 

pinMode(D16, OUTPUT);
 

pinMode(GND, OUTPUT);
 

digitalWrite(GND, LOW);
 

}
 

 
 

 
 

// 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
 
 
 

//White LED light than any other color lights, so reducing the brightness
 

for(i=0;i< ms_cnt/6;i++)
 

{
 

digitalWrite(D11, HIGH);
 

delay(1);
 

digitalWrite(D11, LOW);
 

delay(5);
 

}
 

digitalWrite(D12, HIGH);
 

delay(ms_cnt);
 

digitalWrite(D12, LOW);
 
 
 

digitalWrite(D13, HIGH);
 

delay(ms_cnt);
 

digitalWrite(D13, LOW);
 

 
 

digitalWrite(D14, HIGH);
 

delay(ms_cnt);
 

digitalWrite(D14, LOW);
 
 
 

digitalWrite(D15, HIGH);
 

delay(ms_cnt);
 

digitalWrite(D15, LOW);
 
 
 

digitalWrite(D16, HIGH);
 

delay(ms_cnt);
 

digitalWrite(D16, LOW);
 
 
 

}
 

 
 

//******************************************************// 
 

 
 

 
 
 

uno/mega2560 Code 2 (light up All LED)
 

//******************************************************//
 
 

/*
 

Arduiuo_6Color_led
 

White Blue Chartreuse Yellow Pink Red
 

This example code is in the public domain.
 

*/
 

 
 

// 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 GND = 7;//GND
 

int D11 = 6;//White
 

int D12 = 5;//Blue
 

int D13 = 4;//Chartreuse
 

int D14 = 3;//Yellow
 

int D15 = 2;//Pink
 

int D16 = 1;//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);
 

 
 

pinMode(D11, OUTPUT);
 

pinMode(D12, OUTPUT);
 

pinMode(D13, OUTPUT);
 

pinMode(D14, OUTPUT);
 

pinMode(D15, OUTPUT);
 

pinMode(D16, OUTPUT);
 

pinMode(GND, OUTPUT);
 

digitalWrite(GND, LOW);
 

}
 

 
 

 
 

// 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);
 

digitalWrite(D11, HIGH);
 

delay(1);
 

digitalWrite(D1, LOW);
 

digitalWrite(D11, LOW);
 

delay(5);
 

}
 
 
 

digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
 

digitalWrite(D3, HIGH); // turn the LED on (HIGH is the voltage level)
 

digitalWrite(D4, HIGH); // turn the LED on (HIGH is the voltage level)
 

digitalWrite(D5, HIGH); // turn the LED on (HIGH is the voltage level)
 

digitalWrite(D6, HIGH); // turn the LED on (HIGH is the voltage level)
 

digitalWrite(D12, HIGH);
 

digitalWrite(D13, HIGH);
 

digitalWrite(D14, HIGH);
 

digitalWrite(D15, HIGH);
 

digitalWrite(D16, HIGH);
 

 
 
 
 

}
 

//******************************************************//
View full details