Tuesday, 29 December 2015 20:44

DIY 8x8x8 RGB LED cube


DIY 8x8x8 RGB LED cube

Thank you my friend Siew Goh Chuang, he made this beautiful LED cube:  This is a 8x8x8 RGB LED cube project, a modified version of the LED cube which originally designed by Kavindarrah. This project only modified the hardware but leaving the software (source code) intact. All the source code is available in Kavindarrah's website.

My LED cube are using the MBI5026GN constant-current LED driver chip instead of the 74HC595 shift-register. The 74HC595 is a 8-bit shift register, whereas MBI5026GN is a 16-bit shift register, with only 3 data pins (CLK, Data and Latch), you can control an almost unlimited amount of outputs. Table below shows the different between 74HC595 & MBI5026GN.

74HC595 MBI5026GN
8-Bit Serial-In, 8 channel parallel-out 16-Bit Serial-In, 16 channel parallel-out
Require a current limit resistor at each output pin Only need a reference resistor at its R-EXT pin
Positive output (All outputs connected to LED are sharing cathode) Negative output (All outputs connected to LED are sharing anode)

MBI5026GN and 74HC595 pinout

Therefore,  using the MBI5026GN in this project will allow us to reduce the complexity of the circuit & hence reducing components & wiring.


Materials and Components

Main ingredients for RGB LED cube
No Items Quantity Unit
1 4pin common anode RGB LED 512 pcs
2 MBI5026GN shift-register IC 13 pcs
3 IRF9530 P-Mosfet 8 pcs
4 1.2k Ohm 1% resistor 21 pcs
5 100 Ohm 1% resistor 8 pcs
6 100 uF electrolyte capacitor 8 pcs
7 0.1 uF ceramic capacitor 13 pcs
8 74HC244N 1 pcs
9 1*8 2.54mm pin header (male) 26 pcs
10 1*8 2.54mm pin header (female) 26 pcs
11 W237-102 Screw terminal 1 pcs
12 1mm single core copper wire 1 Roll
13 2mm wire (Red) 1 Roll
14 2mm wire (Green) 1 Roll
15 2mm wire (Blue) 1 Roll
16 2mm wire (Brown) 1 Roll
17 2mm wire (Black) 1 Roll
18 5mm clear acrylic top cover box for LED cube 1 pcs
19 4mm White acrylic bottom cover box for LED cube 1 pcs
20 4mm Black acrylic LED cube mounting 1 pcs
21 Arduino UNO 1 pcs
22 5V 2A power supply 1 pcs
23 Stainless steel socket cap screw 8 set
24 6# x 1" Screw (Nickel plating , Flat head) 15 pcs
Tools and consumables item
No Items Quantity Unit
1 Soldering iron 1 unit
2 Lead free solder 0.6mm 1 Roll
3 Long nose pliers 2 pcs
4 Wire cutter 1 pcs
5 wire striper 1 pcs
6 3rd hand tool 1 pcs
7 Cable tie 1 pack
8 3mm Shrinkable Wire Pipe Wrap 10 Meter
9 battery drill set with bit 1 set
Special material , tools and service
No Items Quantity  
1 LED layer building tool (jig) 1  
2 LED layer build up tool (jig) 3  
4 CNC laser cutter 1  
5 5mm clear acrylic 1200mm x 1200mm for making LED box 1  
6 4mm black acrylic 600mm x 600mm for making LED box 1  
7 4mm white acrylic 1200mm x 1200mm for making LED box 1  
8 3V battery or multimeter for testing LED 1  
9 3M scotchcal marking film for marking pin header 1  


Schematic and PCB

High resolution images are available in my Flickr album

8x8x8 RGB LED cube schematic


CAD files also available in Github.

8x8x8 RGB LED cube PCB

Connecting Arduino to controller


Gerber files (folder: RGB LED cube gerber) were sent to a fab house for PCB fabrication. PCB top view

PCB bottom view


Prev Next »

Read 33514 times Last modified on Friday, 08 June 2018 12:23


  • Comment Link rzlywjda Tuesday, 17 March 2020 14:54 posted by rzlywjda

    cialis free sample buy cialis usa quand cialis ne fonctionne pas

  • Comment Link Stevambums Wednesday, 05 February 2020 19:24 posted by Stevambums

    Zithromax Takes How Long To Work http://buyciallisonline.com/# - Buy Cialis Propecia Mercafutbol Cialis Cialis Rezeptpflichtig Osterreich

  • Comment Link CoreyVax Monday, 27 January 2020 02:26 posted by CoreyVax

    viagracwithoutdoctor.com buy vistagra usa
    canada medication https://viagracwithoutdoctor.com/
    buy viagra 25mg https://viagracwithoutdoctor.com/#
    buy viagrow
    canada medications cheap

  • Comment Link CoreyVax Sunday, 26 January 2020 23:19 posted by CoreyVax

    canadianhpharmacy.com canadian pharmaceuticals for usa sales
    canadian pharmaceuticals reviews https://canadianhpharmacy.com/
    canada viagra https://canadianhpharmacy.com/#
    safe canadian online pharmacies
    drugs for sale deep web

  • Comment Link CoreyVax Sunday, 26 January 2020 22:04 posted by CoreyVax

    canadianhpharmacy.com drugstore online
    canada drug https://canadianhpharmacy.com/
    top rated canadian pharmacies online https://canadianhpharmacy.com/#
    canadian pharmaceuticals nafta
    canadian pharmacies stendra

  • Comment Link Purushottam Agrawal Tuesday, 14 January 2020 12:48 posted by Purushottam Agrawal

    I have made it and it works excellent. Thank you for creating such a lovely and great cube.

  • Comment Link basitdoank Monday, 30 December 2019 00:50 posted by basitdoank

    Hi, how do I open a file in the gerber folder, I want to print it through an online pcb printing service, and before I thank you :)

  • Comment Link Tadalgek Friday, 27 December 2019 04:47 posted by Tadalgek

    In many ways, there is a common denominator that ties us inextricably together. purchasing cialis online for cheap check out the post right here cialis online purchase have a peek at this website can cialis be purchased online Provides responsive end of life care to patients in south florida.

  • Comment Link Farizno Wednesday, 09 May 2018 11:31 posted by Farizno

    What is the purpose of the 74HC244N? Is it necessary?

  • Comment Link Shawn Sunday, 08 April 2018 12:24 posted by Shawn

    How did you bend the LED leads perfectly the same? Did you have a jig to bend them?

  • Comment Link mandragora21 Monday, 02 April 2018 05:18 posted by mandragora21

    hola exelente proyecto una duda que tengo cual se supone que es el led nº1 si miramos en cubo de frente.?????
    creo que podria ser el primero de detras de la derecha ????
    es para poder centrar el con1

  • Comment Link admin Sunday, 11 March 2018 10:08 posted by admin

    This LED cube was made by my friend, he modified the hardware only, leaving the source code untouched.

  • Comment Link Grigirii Saturday, 10 March 2018 16:05 posted by Grigirii

    Good afternoon. Please tell me how you managed to start the danu version of the cube on the code Kevin Darah, because his code is designed for using the register 74ch595, and you have a completely different register. Have you changed anything in the code to use this register?

  • Comment Link admin Wednesday, 10 January 2018 17:12 posted by admin

    We only make the hardware, software getting from Kevindarrah

  • Comment Link Cyrille Sunday, 07 January 2018 02:52 posted by Cyrille


    congratulation for this very nice cube !
    Is it possible to share the source code for the arduino board ?

    thanks a lot !

  • Comment Link Rizwan Thursday, 02 November 2017 16:41 posted by Rizwan

    How the Cathode be provided the ground as in 74595 IC it will give you 5 volt we can use hex invertor to make it 0V so cathode is provided the ground and it will light up how MBI5026 works to provide cathode ground ? Please help me in this regard.

  • Comment Link anup shekhar Friday, 03 June 2016 04:54 posted by anup shekhar


    i hope you have received my email

  • Comment Link anup shekhar Tuesday, 31 May 2016 06:28 posted by anup shekhar

    thanks for the Quick reply. I have sentyou an email please check and let me know the details.

    Anup Shekhar

  • Comment Link Siew Goh Monday, 30 May 2016 22:00 posted by Siew Goh

    Hi, anup shehkar
    You can send request to my email [email protected] I only created and design hardware part, the software, the way to blink LED and the arduino is copy from other website. If you really wan the Driverboard you can email me, but the parts on the board I think not much I left.

  • Comment Link anup shehkar Sunday, 29 May 2016 07:54 posted by anup shehkar

    I am highly impressed with the way you have explained everything about how to make 8x8x8 rbg led cube. I am an arts student and struggling for almost a month that someone can explain this in lay man language that how to make it and how to connect it together .I am really interested in the printed circuit board you have created .Please let me know if I can buy it from you.

Leave a comment

Back to Top