How to rgb 8x8x8 led cube

Assembly Time: Several Days depending on experienceDifficulty: AdvancedDesigner: Ari Dubinsky
*
This LED Cube will light up any buổi tiệc nhỏ. Your friends will be mesmerized by its hypnotic effect as lights dazzle and dance in brilliantpatterns. It utilizes code based off of Instructables designer, CHR, and uses an Arduino UNO khổng lồ power the cube và act as aprogrammer. This cube gives of a warm glow that is pleasant khổng lồ the eye và will entertain people of all ages.Though it might be quite acommitment khổng lồ build, the effort will be worth the wait. Surprise your friends & family with this incredible art piece, as it will be sure toturn heads. Don"t skip this wonderful electronics project because it offers invaluable opportunities for electronic construction & Arduino coding.I"ll just leave it up to lớn this đoạn Clip khổng lồ convince you that this will be the next project you will be building.

You watching: How to rgb 8x8x8 led cube

*
Get Your Own 8x8x8 LED Cube Kit
*
Test The LEDs

Step 2 - Build the Rig

Create an 8x8x8 template so you can create the layers. You will need a peg board & you will need lớn drill holes into the peg board to lớn space the LEDs 1/2" apart. I put foil over my rig khổng lồ hold the LEDs in place so that they wouldn"t move while I solder, otherwise theywould jiggle khổng lồ much. Use the LEDs to punch holes inlớn the foil.
*
Build The Rig

Step 3 - Starting the Layer

The picture should show you how khổng lồ bởi it, but basically have all of the LEDs in the row facing the same way. Begin with the corner first. The corner row should be 90 degrees facing the other way. You should also align each LED so it is just barely touching the next one. When you solder, don"t hold the iron more than 2 seconds on the LED, otherwise it can be damaged. Apply minimal solder between each LED.I would NOT recommend to cut any wires until you have a working structure.
*
Starting The Layer

Step 4 - Solder in Rows

Go row by row, same way as before. Make sure lớn apply minimal heat, & place the legs just cthua kém enough lớn each other, but not too cchiến bại.
*
Solder in Rows

Step 5 - Add Reinforcements

You must strengthen each layer khổng lồ make it stable and durable. This is so the layer doesn"t come apart when you pull it off the rig.Cut a piece of wire longer than the length of your layer và strip off the insulation. Place the long, stripped wire inlớn a vice and pull hard lớn straighten it. You can vì chưng this with another phối of pliers as well. You should feel the wire get longer and straighter as you pull.Once it is straight enough, place it on the opposite kết thúc of the layer và solder it on the cathodes to stabilize the rear kết thúc. Do this once more for the middle section, as now it is the weakest part of the layer. I used clips to hold the reinforcement bar in place while I soldered. These bars should strengthen the rear and middle of the cube so it won"t break.
*
Add Reinforcements

Step 6 - Eight Identical Layers

Repeat the last three steps another seven times lớn complete your layers. This will take patience và time.
*
8 Identical Layers

Step 7 - Let"s Get Vertical

Now with eight different layers, we will build up!I used triangular folds of paper to hold each layer above the other when I soldered. Make sure to lớn place the first layer in the rig & start from there. I would recommkết thúc bending the leads slightly so you can have each layer directly above the other, otherwise it can come out slightly crooked. Apply minimal heat và solder, and be careful when going into lớn the cube with the iron. Read Step 10 before you begin to lớn solder.
*
Let"s Get Vertical

Step 8 - Looks Like Raindrops

It should be looking good up lớn here.
*
Looks Like Raindrops

Step 9 - Ground Lines

The final step in lattice construction.These eight extra wires will drop down from each row to lớn connect them to lớn the board. So far, we have sầu column connections but with these lines we will be able to lớn control individual LEDs by separating the columns & rows apart.Do this by stripping wire as before & creating hooks at the over khổng lồ secure each lớn its layer. Use solder khổng lồ hold in place only at the row each line is designated for. Make sure each line only touches its layer và no other. They should extover the same length as the bottom-most legs.
*
Ground Lines

Step 10 - Finishing the Lattice

It should look something lượt thích this, although mine came out slightly rectangular because I spaced the layers out more than half an inch. Ultimately, this won"t affect animations but it adds a personal effect to lớn it.
*
Finishing The Lattice

Step 11 - Start the Controller

Now let"s start on the controller. Start by placing the chip sockets next to each other but leave enough room for resistors và headers. I would advise to lớn economize space but to leave sầu yourself enough room to solder & place wires.Allocate a comtháng GND và VCC line that will connect khổng lồ each socket. I used small 0.1uF capacitors that are placed in betweeneach socket for the VCC & GND line. The black wires are for the comtháng GND line. VCC goes lớn pin 20 & GND goes khổng lồ pin 10. Refer to lớn the schematic in Step 12 for the rest of the steps.
*
Start The Controller

Step 12 - Circuit Schematic

*
Circuit Schematic (larger image)

Step 13 - Solder Trails

Use solder trails lớn minimize wiring. I used them to bus a VCC line to each chip socket.

See more: Fps Call Of Code Critical Mission: Shooting Games, Crossfire : Legend

*
Solder TrailsRefer lớn this Clip if you don"t know how:Solder trails

Step 14 - nguồn Terminal

This is the power portion of the controller board. It consists of a couple of capacitors và a status LED. Follow the top most diagrams in the schematic. You may or you may not want lớn include a power switch... I didn"t.
*
Power Terminal

Step 15 - Data Lines

Connect the chip sockets to lớn each other. You will need to lớn connect each identical pin to lớn the other in one bus. This is what that blue line on the schematic means. So connect pin 1 to all the other pin 1"s & bởi this for the rest of pins 2-8. Think of it as daisy chaining the pins to each other.
*
Data Lines

Step 16 - Resistors and Headers

Use those 100Ω resistors in between pins 12-19 and the 8-pin male header for each chip. These resistors should be enough, assuming you"re powering 5V from the Arduino. The male headers are used to lớn connect khổng lồ each of the eight rows of the lattice.
*
Resistors và Headers

Step 17 - Address Selector

The address selector chip will control the clock cycles lớn each chip. Start by soldering the GND và VCC connections. If you use the solder trace method khổng lồ run GND/VCC lines, you want to vì this before you solder any other wires in place. A 100nF ceramic filtering capacitor is placed cthua khổng lồ the VCC & GND pins of the 74HC138.Then connect the address lines và the eight clock lines.If you look carefully at the connector, you can see two pins that are not used. These will be used for a button & debug LED later.
*
Address Selector

Step 18 - Transistor Schematic

Use this schematic for the following step
*
Transistor Schematic (larger image)

Step 19 - Transistor Array

The transistor array is responsible for switching on and off GND for each layer in the LED cube.For each layer, use two PN2222As in parallel. The collectors are connected together lớn GND. The emitters need lớn be connected together in pairs, then connected khổng lồ a male header. Introduce the pull-up resistors lớn reduce ghosting. The base of each transistor is connected to lớn it"s own resistor, và they are paired up to be connected khổng lồ an output pin on the Arduino. Connection to the Arduino will come shortly.We soldered in all the transistors and turned the thing on again, & it worked, perfectly!1) Start by placing all 16 transistors on the PCB và soldering each of their pins.2) Run a solder trace between the the emitters of all 16 transistors. Connect this solder trace khổng lồ GND.3) Solder in a resistor for each transistor, the solder the resistors together in pairs of two.4) Run wire from each of the eight resistor pairs to a female header. This is where the Arduino will connect.5) Solder together the collectors of the transistors in pairs of two & run solder trace or wire from the collector pairs lớn an 8 pin maleheader. Place 100Ω resistors between the header & VCC.
*
Transistor Array

Step trăng tròn - Connection Schematic

Use this schematic và refer baông chồng lớn the first one in Step 10 khổng lồ see how khổng lồ wire the Arduino. Either an Arduino UNO or Diecimila willwork. Also, refer to lớn the connection key at the top of the picture, as this really ties both schematics together to lớn make things easier foryou.Special thanks khổng lồ MAEWART for his translation to lớn Arduino, và CHR for his invaluable guidance và schematic.
*
Connection Schematic

Step 21 - Connecting the Arduino

Use two female headers side-by-side khổng lồ act as the port lớn your controller. This port will have sầu wires running from the Arduino lớn the controller so it can receive data. Refer baông xã to lớn the first schematic lớn see how it should be wired. I started by naming pins 1 & 2 across from each other và having the odd and even pins on separate headers. In addition, there will be two status LEDs that can be used later for debugging. This port will skết thúc information to the address selector & to lớn the chips connected in parallel.Crimping won"t be necessary.
*
Connecting the Arduino

Step 22 - Enclosure Base

Create the base for the cube lớn make it look pretty. I was able khổng lồ find a smoky reflective sầu surface at my local Tap Plastics. Begin by drilling an 8x8 matrix of holes just big enough lớn fit the legs of the LEDs through. Space the holes out appropriately khổng lồ your cube. In addition, add eight holes for the ground connections.Fitting the cube through these holes was probably the toughest part of the entire project, but it can be done. I recommkết thúc to start with one row & bover the legs as they pass through the base. Fit the rest in sections, as it will be impossible lớn vị it all at once. It would be lượt thích threading 72 needles at once, yikes! Do this carefully without damaging the lattice of the base.
*
Enclosure Base

Step 23 - Ribbon Cables

Place the cable & header into a vice and gently press the vice until the header snaps close around the cable. Strip the opposite ends of the cable, just enough to reveal an inch of exposed wire. Wrap two of the closest wires together và solder the pair khổng lồ an LED on the underside of the base. Continue with the rest of the wire until each LED in a row is wired.You will need nine ribbon cables, counting the ground lines. They will connect to the nine male headers on your board. The orientation of the header shouldn"t matter, but each cable should have its own designated chip in order.
*
Ribbon Cables

Step 24 - Build an Enclosure

This could be anything you"d like it lớn be, just be creative sầu. Either you might want something ordinary, lượt thích a dark box, or you mightwant people to lớn see all the electronics that are underneath the cube. Whatever it may be, have sầu fun with this part.

See more: Chia Sẻ 100+ Code Ff Ko Giới Hạn 2020 Alok, Code Ff Alok

*
Build an Enclosure

Step 25 - Code và Sendoff!

There are a variety of source codes and header files for you to use & play around with in order to lớn add additional effects. So far on the code I have more than ten different effects going. Play around with the order, delay, và iterations to lớn truly make it unique!Well, that"s it for instructions. I hope you had fun building this project & at least pulled something worthwhile out of it. Show it off to your friends & family, because they will surely get a kiông chồng out of it. This project couldn"t have been completed without the assistance from CHR và his Instructable, so a special thanks khổng lồ him. Be sure to lớn keep a creative attitude & never stop progressing. I"ll send you off your own way now, và until next time!Here"s CHR"s Instructable for further guidance: http://www.instructables.com/id/Led-Cube-8x8x8/
*

About The Designer

Ari currently attends Cal Poly San Luis Obispo in pursuit of a degree in Electrical Engineering and has teamed up with Jameteo lớn accelerate his learning as well as to lend a helping h& khổng lồ a major electronics distributor. His interests include shredding on the guitar, electronics, và music production.

Chuyên mục: giftcode