# Led Cube 3x3x3

11,525

86

9

Today I will show u how to make a simple led cube for the very beginner it's simple and fun

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: Material

Yellow leds(27)
BC 547 transitors (3)
220 ohm resistors (9)
Jumper wires
And normal wires
Soldering iron and soldering wire
PCB board
Note: check all led working??

## Step 2: The Making

Hole in a cardboard sheet for the leds it will work a platform and put the leds

## Step 3:

Now solder the negative end of the leds now check that there in no mistake

## Step 4:

Now repeat the step until make 3 of them

## Step 5:

Now u can use clips to hold the layers and join the positive terminals of the leds

## Step 6:

When u join 3 layers now solder the cube to pcb

## Step 7:

Now u can start joining the wires with the resistors as shown in schematic

## Step 8:

After that u can solder the transistors

## Step 9:

Now u can join the wire to adriuno

## Step 10:

Now upload the sketch and u are done its simple cheap and fun

void setup() {
pinMode(1,OUTPUT);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
pinMode(12,OUTPUT);

}

void loop() {
for (int kat = 10; kat <= 12; kat++){
for(int kolon=1; kolon<=9; kolon++){
digitalWrite(kolon,HIGH);
digitalWrite(kat,HIGH);
delay(50);
digitalWrite(kolon,LOW);
digitalWrite(kat,LOW);
delay(50);
}
}
for (int kat = 10; kat <= 12; kat++){
digitalWrite(1,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(1,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(2,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(2,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(3,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(3,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(6,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(6,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(9,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(9,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(8,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(8,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(7,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(7,LOW);
digitalWrite(kat,LOW);
delay(100);
digitalWrite(4,HIGH);
digitalWrite(kat,HIGH);
delay(100);
digitalWrite(4,LOW);
digitalWrite(kat,LOW);
delay(100);
}
}

Participated in the
Circuits Contest 2016

## Recommendations

• ### Internet of Things Class

22,728 Enrolled

## 9 Discussions

Worked Great. One issue I found was the schematic pin-out for the Arduino doesn't match the pin-out in the code given. An easy fix if you know what to look for when troubleshooting.