Ever heard of an embedded electronic project called LED cube? Actually, this project had been done by many embedded electronic hobbyists due to its interesting display effects by lighting up LED Cube in certain patterns. The LED Cube lighting patterns can be controlled by microcontroller based on the program loaded into it. In this tutorial, user will be guided to build up a 8x8x8 LED Cube in step by step.

38 thoughts on “Construct a 8x8x8 LED Cube”

  1. Hello, I would luv to build this, and would have in the past. I now have extense nerve damage in my hands. Is there some one who could build this and would be willing to sell it to me. Please let me Know. Thanks. Jim

  2. Source code? I think you can download it in this tutorial. The sample code is under Attachment section. 🙂

  3. M Bilal Arshad

    it’s amazing guys!…..Will u provide me source code coz this is my Smester project!…..i m worried about it!plzzzzz help me:(

  4. 2nd and 6th layer of led cube is not working after doing all the connections . Kindly help me out for this…..
    what can i do to remove this error

  5. Plezzzzz any code for this cube
    For any pic 16
    Or 18
    Or what ever
    I have to do this for my university
    But idont find any source code

  6. can u give me full tutorial??? electrical connection …. and is it possible to buy ready-made programmed chip???
    let me know plz plz plz…………

  7. i have relase it about 2 days…..its wonderfull . but i want more effects .please help…sorry for bad english because i am from lebanon

  8. great works…. it is work for me……..please i want more effects… or source code …………..plzzzzzzzzzzzzzzzzzzzzz

  9. the all code under the article for PIC16F877A can run on the PIC16F877A?? because the flash memory have only 8K x 14 words….the code can enter all in the flash memoryofthis PIC?? please answer fast….thanks

  10. Nop, because you will need the basic component on SK40C to operate. The Voltage regulator, Crystal and a few more components. Of course, if you have that, please go ahead.

  11. Just to say, i measured mine one here!! The total current of the cube (with all LEDs ON), plus the IC’s and an LCD that im also using is from 600mA to 700mA. So i could use it with a normal cell phone charger!! =) Thank you one more time for the tutorial! =)

  12. Not sure about the current as we did not measure it, but assuming each LED will take 30mA, there are 8x8x8 LEDs, = 512 LEDs, total current should be 15A 🙂 That does not include the current needed for other IC such as microcontroller and the ULN2803, etc.

  13. Hello, i would like to know what is the total current being use when u have all the leds ON, is that possible to answer?? Thank you very much!

    Veeery nice article btw! =)

  14. this project is just awesome!!can u please help me with the code??you can send it to me email!!!!!thanks already!!!

  15. Awesome tutorial, it helped me a lot! Thank you very much! 🙂

    The only thing I still don’t get: what is the potentiometer needed for?

  16. Hi, i bought PIC16F877A, but i can’t compile the sources code with following reason:

    Warning [1390] D:\LED Cube 8 x 8 x 8\Effect.h; 117.13 identifier specifies insignificant characters beyond maximum identifier length
    Warning [359] D:\LED Cube 8 x 8 x 8\LED Cube.c; 36.44 illegal conversion between pointer types
    pointer to const unsigned char -> pointer to unsigned char

    Warning [368] D:\LED Cube 8 x 8 x 8\Lightup.c; 74.1 array dimension on “pattern_array[]” ignored
    (1296) source file “D:\LED Cube 8 x 8 x 8\Effect.p1” conflicts with “Effect.p1”

    Please help, thanks a lot

  17. Sorry, i can not find out PIC16F877A here, i just have PIC18F4620, and i have already all the hard, do you have any guideline for writing similar coding?Thank you

  18. Nop, the code is written for PIC16F877A, but it is a good reference and it easier for you to migrate to PIC18F4620. Please do continue the discussion in our technical forum. thanks.

  19. hello, i bought SK40C and BB-ATX for this project, i want to know if the code attached could use in PIC18F4620?

  20. this a good project i can use to learn programming. it is interesting, i will love to have the source code. thanks.

  21. This is amaaaaaaaaaaaazzzzzzzzzzzziiiiiiiinnnnnnnnnnnggggggggggg! can you share your source code, please my GOD!

  22. Wow…this is no doubt a very high quality tutorial!
    Look at how detailed the explanation is…
    Thumbs up!

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Soil Moisture Alarm Using CircuitPython on Seeeduino XIAO
Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Scroll to Top