1x1x1 LED Cube - Projeto TI
Headlines News :

.

Home » » 1x1x1 LED Cube

1x1x1 LED Cube

Written By x86_g on 2013-05-12 | 9:31 AM


Step 1: Materials

For this project we really wanted to have a more pure attachment to the materials, so the material list is small.

1 Light Emitting Diode.

1 Arduino Board.

1 Computer running the Arduino Integrated Development Environment.

1 USB-A to USB-B cable, 3 feet long.

Step 2: Plug USB to Arduino

First take the USB-A to USB-B three foot cable and plug the USB-B plug into the corresponding USB-B slot on the Arduino.

Step 3: Connect to Computer

Next, take the opposite end of the USB-A to USB-B, three foot cable and Plug the USB-A plug into any of the USB-A slots on your computer.

Step 4: Open Arduino IDE

Next, go to your computer and open the Arduino Integrated Development Environment on your computer.

Then go to Tools > Serial Port and make sure your Arduino is selected.

Now you can start to program the Arduino.


Step 5: Write Code

Now is the time to write the code, Just enter the code below into your Arduino integrated development environment:

void setup(){
   pinMode(13,OUTPUT);
}
void loop(){
   digitalWrite(13,HIGH);
   delay(500);
   digitalwrite(13,LOW);
   delay(500);
}

Then, click the Verify box labeled with a Checkmark. Correct any potential errors.

Step 6: Upload Code

Lastly, Click the upload button, as indicated by the arrow pointing to the right.

You should see a verification message and your 1x1x1 Light Emitting Diode should begin to blink.

Step 7: Going Beyond

Once you have the example code running, the next step is to show off and write your own routines. On account of three dimensions, there are countless ways you can light up your LED cube.

We can't wait to see all of the different things that get visualized.

Share this article :

0 comentários:

Postar um comentário