Table of Contents

Details

8x8x8 Addressable RGB LED Cube

This is a new design, based on the original 8x8x8 cube which is no longer available to buy by Looking Glass (formerly L3D): https://github.com/enjrolas/L3D-Hardware

It consists of 512 5mm WS2812 addressable RGB LEDs, divided into 64 vertical sticks, each with 8 LEDs. Each stick has a 2x2 right-angle pin header (5V, GND, Data In, and Data Out). The data is routed from the Data In pin to the first (bottom) LED, which has its Data Out pin connected to the Data In pin of the next LED, etc. The last (top) LED on the stick then has its Data Out pin routed back down the stick to the Data Out pin on the header.

Instructions

Please note that some of these pictures are from the 6x6x6 cube. Most will be similar, but will be replaced soon.

Base

You will need quantity 64 of 2.54mm 2 x 2-pin Female Double Row Straight Header Socket: https://amzn.to/47t30MD

Note: You can download and 3D print the base connector soldering jig which makes the process much easier.

I used PrusaSlicer and the following settings:

  • 0.20mm STRUCTURAL
  • Generic PETG
  • Layers and perimeters
    • Solid Layers: Top & Bottom: 0
  • Infill
    • Fill pattern: Line

With the base soldering jig

  1. Do not solder the power jack connector until all of the sockets are soldered onto the base!

  2. Make sure the 2x2 header sockets are placed on the base PCB on the side with the square markings!

There are two different methods you can use, try both and go with whichever you prefer.

  1. Insert one row of the 2x2 header sockets into the base PCB, on the side with the square markings.

  2. Carefully and gently place the jig onto the PCB, over the header sockets. If any fall out, remove the jig and replace them into the PCB.
    • Note: if you find this difficult, you can instead try inserting the headers into the jig one row at a time, then carefully place the base PCB on top, lining up all of the pins and slots, being very careful not to bend any pins.
  3. Carefully flip the jig and base PCB over and make sure all of the pins came through the holes in the base without getting bent. Make sure the tabs on the jig are inserted into the slots on the base PCB.

  4. Press down on the base PCB and solder just one pin on each socket, making sure the PCB remains flat and flush against the jig throughout.

  5. Flip it back over, remove the jig, and ensure the header sockets are flat and flush against the PCB, and that they are straight and aligned with the square markings on the base PCB.

  6. If any are not straight, hold the socket with one hand while reheating the solder on the other. Hold it aligned in place while removing the soldering iron until the joint cools. Repeat for any other sockets that are not straight and flush.

  7. Place the jig back on, flip it over, and solder the remaining pins for this row.

  8. Repeat the above steps for each row of headers.

Without the base soldering jig

  1. Insert just one socket pin-first into the PCB at a time (the side with the square white outlines).

  2. Hold the socket while turning the base over and soldering one pin.

  3. Turn it back over and make sure the socket is straight, lined up with the white square outline.

  4. If it’s not straight, hold the socket with one hand while reheating the solder on the other. Hold it aligned in place while removing the soldering iron until the joint cools.

  5. Repeat the above steps fore each of the header sockets.

Finishing the base PCB

  1. You can now solder the power jack connector and JST-XH 3-Pin connector (if desired) onto the base.

  2. The power jack connector goes on the bottom of the base, the opposite side as the sockets.

  3. The JST-XH 3-Pin connector also goes on the bottom of the base on the “DIN” pins.

  4. Unless you are using your own controller that supports parallel output, the tiny metal pads on the bottom of the base PCB marked DIN2 and DOUT need to be connected via a solder bridge. Melt a solder blob onto both pads, then hold your soldering iron over both. The solder blobs should merge.

Controller

If you purchased the PixelBlaze with your cube, it will come assembled and pre-programmed. Skip to the Controller Wiring section.

If you’re using a different controller, assemble and program and connect it to the base PCB now before starting on the pixel sticks. You’ll use the controller to test the strips. Skip to the Controller Wiring section.

PixelBlaze

PixelBlaze & Sensor Expansion Assembly

Pixelblaze output:

  1. Place the 4 pin JST-XH connector into the holes on the left side of the Pixelblaze (GND, DAT, CLK, and 5V).
  2. Flip it over and solder all four pins.

Pixelblaze expansion pins:

  1. Place the 7 pin header that came with the Pixelblaze Sensor Expansion in the holes in the bottom right corner of the Pixelblaze, not the expansion board. Note that the GND, RST, 3v3, RX, TX, IO0, and IO25 should have pins, and that IO26 will not have a pin.
  2. Ensure the 7 pin header is inserted all the way down, and that there are pins in the GND, 3v3, and RX holes on the Pixelblaze.
  3. Flip the Pixelblaze over and solder at least the GND, 3v3, and RX pins.

Pixelblaze Sensor Expansion Board:

  1. With the Pixelblaze right-side up, with the pins pointing upwards, flip the Sensor Expansion Board over so the audio input jack is on the bottom, pointing down.
  2. Place the sensor board onto the Pixelblaze pins.
  3. Ensure that the GND, 3v3, and RX pins on the Pixelblaze are lined up and inserted into the GND, 3v3, and TX pins on the Sensor Expansion board. Note that the TX pin on the Sensor Expansion board is connected to the RX pin on the Pixelblaze
  4. The top of the audio input jack should be flush with, and not extend beyond the bottom of the Pixelblaze PCB.
  5. Double-check the pins are aligned and match up one more time.
  6. Solder at least the GND, 3v3, and TX pins on the Sensor Expansion board.

PixelBlaze Wi-Fi

  1. Connect the PixelBlaze to a computer or power adapter via a USB Micro cable.

  2. If not already connected to a wi-fi network, your PixelBlaze will create its own network named Pixelblaze_XXXXXXX, where XXXXX is a code unique to your PixelBlaze. You should see it in the list of wi-fi networks available on a computer or mobile device:

Note: If you can’t find the PixelBlaze’s wi-fi network, it may not be in setup mode.

To put it in to setup mode:

  1. Press and hold the button for 5 seconds.
  2. If the status LED on the back flashes 5 times, it’s now in setup mode.
  3. If the status LED on the back flashes once, press and hold the button for 5 more seconds. The status LED on the back should now flash 5 times,
  4. It should now be in setup mode and its wi-fi network should now appear in the list on your computer or mobile device.
  5. Connect to this network from a computer or mobile device.
  6. You should see a pop-up and/or automatically get redirected to configure the PixelBlaze’s wi-fi settings. If not, open a browser and go to http://192.168.4.1

In WiFi Settings you an configure your PixelBlaze to run in one of two modes:

Client Mode - Connect to a network

In this mode your PixelBlaze can connect to an existing wi-fi network. Use this mode while at home or another location with an existing wi-fi network that you can connect to.

  1. Choose the wi-fi network to which you’d like to connect, or enter the SSID (Name) if you know it, it’s hidden, etc.

  2. Enter the password for the wi-fi network.
  3. Leave Enable Discovery Service enabled to use the Pixelblaze Discovery Service, which makes it much easier to find your Pixelblaze on your wi-fi network later.
  4. Click Submit to connect.

  5. Once it has connected, it will have an IP address on your wi-fi network.
  6. The computer or mobile device you’re using should automatically re-connect to its previous network (your home wi-fi, mobile data, etc).
  7. If you left it enabled, use the Pixelblaze Discovery Service to find your PixelBlaze.
  8. If you’re unable to find your PixelBlaze’s IP address, you can use these instructions for finding a Raspberry Pi.

AP Mode - Create a stand-alone network

In this mode your PixelBlaze will create its own wi-fi network that you can connect to from another device. Use this mode when outdoors or away from other wi-fi networks.

If you’ve already chosen Client Mode and followed the instructions above, skip down to Next Steps

  1. Enter an SSID (Name). This is the name of the wi-fi network that you will connect to from other devices to configure your PixelBlaze.
  2. Enter a password at least 8 characters long. Passwords with fewer than 8 characters will not work.
  3. Now you should be able to use a computer or mobile device to connect to the wi-fi network with the SSID (name) you entered in step one above.
  4. Once connected, open a browser and enter the address http://192.168.4.1

Congratulations! You should now be able to connect to and configure your PixelBlaze!

PixelBlaze Settings

You can download and restore this backup file in the PixelBlaze web UI: LED Cube 8x8x8.pbb

Alternatively, here are the important PixelBlaze settings:

  • LED Type: WS2812 / SK6812 / NeoPixel
  • Pixels: 512
  • Data Speed: 2 MHz
  • Color Order: GRB

PixelBlaze Map

function mapper(pixelCount) {
  var map = [];
  var width = 8;
  var length = 8;
  var height = 8;
  for (var x = 0; x < width; x++) {
    for (var y = 0; y < length; y++) {
      for (var z = 0; z < height; z++) {
        map.push([x, y, z]);
      }
    }
  }
  return map;
}
        

Controller Wiring

  • If you purchased the PixelBlaze with your cube, it will come with a three to four pin cable. Connect it between the PixelBlaze and the base PCB now. I can only be inserted and connected one way.
  • Otherwise, connect your PixelBlaze or controller to the base PCB. Any wires should be on the bottom side of the base PCB, the side with the 5V, DIN, and GND markings.

Pixel Sticks

  1. Your LED strips may come all connected in one PCB piece. If so, you’ll need to carefully and gently separate them along the scored lines.

  2. I use a pair of needle-nose pliers with sections of heat-shrink tubing over the ends to protect the PCBs. Grip on one side of the score line with your fingers and the other gently with the padded pliers. DO NOT SQUEEZE THE PCBs OR LEDs TOO TIGHTLY!

  3. DO NOT OVER TORQUE the strips, this can cause a slight but permanent twist in them. If this happens it is cosmetic only and won’t affect the appearance of the assembled cube. Patience is required.

  4. Very gently and carefully, repeatedly flex the PCB downwards (away from the LED side). Repeat this on the opposite end of the same strip.

  5. Repeat this until the strip starts to separate. Repeat on each strip until all 64 are separated.

You will need quantity 64 of 2.54mm 2 x 20-pin Male Double Row Right Angle Header Strip : https://amzn.to/4e0p4Rp

These can be difficult to cut into sections of two (2 x 2) pins. I use thin, sharp side flush cutters, and “sacrifice” one row in between each, but your results may vary.

Alternatively, you can find them already cut into 2x2 sections for a little more: https://www.digikey.com/en/products/detail/adam-tech/PH2RA-04-UA/9830448

  1. Insert one 2x2 section of the right angle header pins into each of the strip PCBs, on the side with the square white outlines.

  2. Insert one 2x2 section of the right angle header pins into each of the strip PCBs, on the side with the square white outlines.

  3. Make sure the pins are fully inserted all the way through the strip PCBs.

  4. Flip the strip over and solder only one pin. Flip it back over and make sure the pins are straight (aligned with the strip) and fully-inserted. If not, heat one pin with the soldering iron while carefully (the pins will get HOT!) align and insert, holding while removing the soldering iron and allowing the joint to cool. Solder the other pins on this strip.

  5. Before repeating the above steps for the rest of the strips, it’s a good idea to test them as you go.

  6. Connect your LED controller. I use and highly recommend the brilliant PixelBlaze by ElectroMage. Connect 5V, Data In, and GND. Run a test pattern. Insert one stick into the socket nearest the Data In (DIN) pin and make sure it fully lights up.

  7. Repeat the above steps to solder the pins and test the strip.

Acrylic Case

Parts

Files for laser cutting

Assembly Instructions

Your parts may look slightly different than the pictures below. For example, if you didn’t order the PixelBlaze controller.

  1. Lay the back and one of the frosted acrylic side pieces side-by-side as shown. Please carefully note the orientation and layout of the parts. The PixelBlaze is included in the pictures to show the correct orientation of the connection holes in the back piece and can otherwise be ignored.

  2. Insert the tabs of one piece into the slots on the other:

  3. Repeat for the other side, and for the front piece:

  4. Carefully flip the whole assembly over so the “feet” are pointint up:

  5. Insert four of the corner pieces into the slots closest to the “feet”:

  6. Very carefully flip the LED cube assembly over. Make sure the corner pieces stay in place. Align the power connector (if present) on the base PCB with the hole in the back panel (if present) and insert the LED cube assembly into the enclosure. The base PCB should come to rest flat on top of the corner piece tabs inside the enclosure:

  7. Insert four of the M3 x 15 + 6mm standoffs through the corner holes of the PCB into the clear acrylic corner “arrow” pieces. The holes in the corner pieces are just big enough that the standoffs will thread the acrylic. Just start each one, making sure they’re all lined up, then gently hand-tighten them using a 5mm nut driver:

  8. Very carefully flip the whole assembly over.

  9. Insert the end of one clear acrylic LED Guide at an angle into one of the holes in one side of the case. Pictures coming soon

  10. Carefully align the nearest pixel stick into the first slot in the guide.

  11. Work your way across the LED guide, inserting the next pixel stick into the next slot.

  12. Repeat until all pixel sticks are inserted into the LED guide slots.

  13. Insert the end of the LED guide into the matching hole in the side.

  14. Repeat for all of the clear acrylic LED guides, being careful to hold the sides of the case together so none of the already inserted guides come out.

  15. Insert the remaining four corner pieces into the slots:

  16. Attach the frosted acrylic top cover by inserting M3x6mm screws through the corner holes and screwing them into the corner acrylic pieces.

  17. If you purchased the PixelBlaze controller with your cube, your kit will come with a bottom mount panel. Align the parts as shown here:

  18. Attach the M2 standoffs to the PixelBlaze using the short M2 screws:

  19. Align the standoffs with the holes in the bottom plate and attach using the slightly longer M2 screws:

  20. Attach the M2x12mm standoff to the bottom using the M2x10mm screw in the remaining 2mm hole inline with the line input jack on the Sensor board.

  21. Flip the LED cube over and connect the cable between the PixelBlaze and the base PCB. The cable can only be inserted one way. The base PCB side has three connectors, the PixelBlaze has four:

  22. Flip the bottom panel over. Turn it a few times to wind the cable up a bit. Place the bottom panel on the bottom of the cube, aligning the holes in the back panel with the USB port and line in jack on the PixelBlaze:

  23. Ensure the wires are not pinched and do not block the PixelBlaze button inside the hole in the bottom panel:

  24. Attach the bottom panel to the cube with the short M3 screws: