Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino
Show All 7 Items

This is my first instructable so leave feedback in the comments please.

When viewing lots of LED Cube tutorials it seemed like they were too complex and like they didn't give enough detail on how to build them. Also the pick controlled ones had very complex coding and complex wiring. Most cubes looked really bad lacking good building instructions like the picture above. So I decided to make this one that is very simple and good for beginners wanting to make something that looks good.

Step 1: Order the parts

Simple 3x3x3 LED Cube with Arduino
Simple 3x3x3 LED Cube with Arduino

Parts needed:

  • 3x 22k ohm resistors http://www.ebay.co.uk/itm/200-PCS-1-4W-ResistorMet...
  • 3x 2N3904 NPN transistor http://www.ebay.co.uk/itm/Transistors-pack-of-10-C...
  • 27x LED's (pick colour I used 5mm) http://www.ebay.co.uk/itm/10-50-100pcs-3mm-5mm-Rou...
  • 9x 200ohm resistors http://www.aliexpress.com/item/Free-Shipping-200PC...
  • Tinned copper wire (can just remove casing from single core wire but it will be orange) http://www.ebay.co.uk/itm/22-SWG-0-711mm-Tinned-Co... (I used different wire but the listing has ended)
  • Pref-board http://www.ebay.co.uk/itm/5x-100x150mm-Bakelite-1-...
  • Solder http://www.ebay.co.uk/itm/231071771948
  • Wires

    Optional Parts:

  • Male and female headers http://www.dx.com/p/ys-532-single-row-20pin-female... http://www.dx.com/p/2-54mm-1x40-pin-breakaway-stra...
  • Ribbon cable http://www.ebay.co.uk/itm/2M-40-WAY-Flat-Color-Rai...

    Tools:

  • Soldering Iron
  • *(2x) Pliers (2 or 1 and Clamp)
  • *Clamp
  • Wire cutters (pliers might have this)

    Optional Tools:

  • Hot Glue Gun (+Glue)
  • Saw (if pref-board is too big)
  • *Flux paste

    Step 2: Making of the cube (Layers)

    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Show All 7 Items

    Tape the template on a piece of cardboard and poke small holes in it with scissors at the joins. Then push an led into each to make the holes the same size as an led (or if you have a drill and a 5mm drill bit drill the holes).

    Straighten the bridge wire by putting one end in a clamp and holding the other end in pliers and puling will straighten the wire. If you don't have a clamp use 2 sets of pliers, put an end in each and pull. You will need 15 pieces of straight wire for all 3 layers together a bit longer than the length of the template.

    Put an led in each hole and bend the positive legs (longer legs) at around 45 degrees from the lines shown in the pictures.

    Cut the shorter legs standing up down to the little square in the metal (in picture).

    Once the legs are cut put a straight piece of the bridge wire across all of the legs in a row that are standing and solder it on each leg, do this for the other two rows also. (Labelled Pic1)

    When the rows are done place more bridge wire across the end of them and solder it to all 3 rows. (Labelled Pic2)

    Do again twice to make 3 layers.

    Simple 3x3x3 LED Cube with Arduino
    img159.pdf8 KB

    Step 3: Making of the cube (Shape)

    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Show All 14 Items

    You will need 11 of the straightened wires. (Cut one in half to make 12)

    To mark where the layers are going to go put a light under the cardboard template then the board on top so the light shines through the holes making it easy to mark them. Once marked slide a piece of wire down each hole on the board keeping it standing straight and solder it on the copper side.

    Slide the first layer down the wires and solder the remaining LED legs not connected to anything else on to the wires that are pointing up and trim the excess off of the LED legs.

    Do the same to the next layer but to get the correct height turn a 9-Volt battery on its side and use it as a spacer.

    For the last layer do the same again except put another battery on top as another spacer. When done trim all the long legs and the long wires going to the top.

    Test the cube and make sure all the LED's light up if not they might need to be re-soldered. (Connect ground to each layer and power to each rail)

    With the remaining wire and two half's put a wire in different holes with one end soldered onto each layer.(Labelled Pic3)

    Step 4: The circuit (1)

    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Show All 7 Items

    Put the transistors in at the layer connections and solder them there connecting the collector (C) to the layers.

    Put a 22k resistor in connected to the base (B) with the other leg going down the board like a wire.

    Connect the emitters (E) together as they are going to ground.

    Step 5: The Circuit (2)

    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino
    Show All 24 Items

    Bring all the legs of the rails down to one point and solder a resistor to them. I have used wire to "Jump over" the ground "rail" making it neater I have also used hot glue as an insulator. The picture labelled wiring shows this and the picture labelled resistors also shows this.

    When all the wires are at a point solder wires (header pins or sockets) onto the board to be able to connect them to the Arduino. I have used header pins and made cables to connect the cube to an Arduino. To make it so much easier to connect pins or sockets to a cable apply some flux paste to the pins or sockets.

    The wires are connected to the Arduino as shown in the last picture.

    Step 6: Connecting to the Arduino

    Simple 3x3x3 LED Cube with Arduino

    Ground wire goes to a ground pin.

    Layer 1 goes to pin 11

    Layer 2 goes to pin 12

    Layer 3 goes to pin 13

    -

    Rail 1 goes to pin 10

    Rail 2 goes to pin 9

    Rail 3 goes to pin 8

    -

    Rail 4 goes to pin 7

    Rail 5 goes to pin 6

    Rail 6 goes to pin 5

    -

    Rail 7 goes to pin 4

    Rail 8 goes to pin 3

    Rail 9 goes to pin 2

    Step 7: The code

    Simple 3x3x3 LED Cube with Arduino
    Simple 3x3x3 LED Cube with Arduino

    The code will be uploaded soon but to get started use the led cube library available I do not own and did not create the led library, it has a licence file included in the zip file.

    LED Library

    https://github.com/gzip/arduino-ledcube

    Simple 3x3x3 LED Cube with Arduino
    Led Cube Example(402x714) 30 KB
  •  
     

    Tag cloud

    make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel