1
/
of
5
Eletechsup Original Factory Official Store
TB258 Red Mini LED Board for Arduno UNO MEGA2560 Nano Breadboard starter kit
TB258 Red Mini LED Board for Arduno UNO MEGA2560 Nano Breadboard starter kit
SKU:TB258
Low stock: 10 left
Regular price
$0.99
Regular price
$4.99
Sale price
$0.99
Unit price
/
per
Couldn't load pickup availability
Share
Product Name:
1PCS Red Mini LED Board for Arduino UNO MEGA2560 Nano Breadboard starter kit
Packing list:
1 pcs Red 6 bit LED's Board;
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.)
1 6 bit RED Common Cathode LEDS.
2 7 PIN OUT 2.54mm
3 1K ohm Limiting resistor
4 Power Supply Voltage: 3.3-12V;
5 Size: 17.78MM x 11.43MM.
PCB :
Circuit schematics :
Connection with Arduino(Only 6 bit LED's Board ,Does not include ARDUINO UNO R3) :
Arduino uno/mega2560 Code
//******************************************************//
/*
Arduino_6led
This example code is in the public domain.
*/
// give it a name:
int D1 = 13;
int D2 = 12;
int D3 = 11;
int D4 = 10;
int D5 = 9;
int D6 = 8;
// 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() {
digitalWrite(D1, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a 200 Millisecond
digitalWrite(D1, LOW); // turn the LED off by making the voltage LOW
digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // 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(200); // 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(200); // 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(200); // 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(200); // wait for a Millisecond
digitalWrite(D6, LOW); // turn the LED off by making the voltage LOW
}
//******************************************************//




