3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

3x3x3 LED Cube

Step 2The software

The software


Now that you have an idea of how to build the cube, here is the software that you can use to generate the LED cube patterns.

Along with the software is the .asm file, in this file, there are already some patterns loaded in and it is pretty straight forward to see how to insert your own patterns.

The second picture shows you how the software saves the binary info for the patterns.

Layer 1, Layer 2, Layer 3 and Layer 4 are 4 registers used in the PIC. Obviously Layers 1,2 and 3 represent the top, middle and bottom layers, but they are only 8 bits, so another register is used Layer 4, which holds the 9th LEDs data for the 3 layers and the brightness and time the LEDs need to be on.

Hope this is a good enough explanation of the project. It's not too hard to build, just takes a bit of time to arrange the LEDs.

I have also added a zip file with the source VB code as someone asked for it!
« Previous StepDownload PDFView All StepsNext Step »
13 comments
Feb 19, 2012. 1:58 AMtboultwood1 says:
Hello, thank you for the very good software. It successfully outputed a asm file but is there any way to put this on an arduino? Thank you very much Trevor B
Feb 19, 2011. 10:24 AMt.spinner12919 says:
im confused about how to program the chip do i need some sort of external piece? how do i get the .asm programmed onto the chip
Oct 21, 2011. 7:48 AMeriknyquist says:
yes, you need a PIC programmer.
http://www.microchipdirect.com/productsearch.aspx?Keywords=DV164120
Sep 24, 2011. 5:08 AMdasty80 says:
Thank You very much for "VIsual Basic Source Code".
I'm a newbie of Visual Basic and your Code is been very helpful for me.
Best Regards,
Dany...
Jul 29, 2011. 3:52 PM77omar says:
quiero el software de el pic 16f84 me pueden ayudar mi correo es lainezmenjivar7@hotmail.com
May 12, 2011. 8:12 AMmhps0519 says:
HI!NICE TO MEET YOU!
Do you have 4x4x4 LED CUBE's software?
Tank you very much!!!
Mar 28, 2011. 9:06 PMguillegav says:
Interesting your project but i have the same question as t.spinner12919, i make my pattern on the software you let us download but then i dont know how to download it to the PIC16F.... can you explain it, thanks....
Dec 15, 2010. 9:43 AMdomdomgin says:
can someone please give me the hex file at domdomgin@yahoo.com.please help..
Jul 16, 2010. 9:56 AMironmike828 says:
when you save the output sequence to a file using the program where do you place the code in the program?
Jul 9, 2010. 1:44 AMmanbearpig001 says:
mind reposting the vb source? it keeps downloading this temp file that i cant open or use :[ also, im confused as to the binary within the sub routines for each animation. for example, there will be something like this; movlw b'01011101' movwf Layer1 now, this means that for layer1, these individual bits are turned on, however, for my layer1, there are both ports from A and B, so how would this work, if there are both RA1 and RB1? Thanks in advanced
Aug 22, 2009. 7:48 AMmager says:
(removed by author or community request)
Sep 3, 2009. 8:15 PMelectro900k says:
Sí, los transistores NPN son los que uso.
Jul 25, 2009. 1:07 PMcompukit says:
evry time i make a program for the cube 2 led's dont burn if the must burn singel on a layer bad if i let the hole row burn (side way the midel on the outher corner and the last of te corner wont burn bad if i let that outer line burn the burn). what i'm i dowing rong i use youre software to make the programa and use the start and so from youre program led.asm . can sombady help my to fix it ? thnx

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
20
Followers
2
Author:portreathbeach