New to this Arduino stuff so if this has been done before my apologies.
I saw a video on YouTube of an 8x8x8 LED cube and was amazed by it, after doing some digging I discovered the Arduino controller and thought I can have a go at that. So after more research I decided to have a go at a 4x4x4 cube and here it is!
The build itself (although very fiddly) went quite smoothly, however the programming to display the leds on the cube properly was a bit more challenging than I’d anticipated since the LEDS have to be lit one row at a time and then turned off before lighting the next row (much like the scanning of a TV). Once I had that cracked I wrote a display function that would allow me to “plot” LEDS using an x, y, z co-ordinate system and this makes writing effects very easy as I can just treat the cube as a small 3d matrix if you like.
I’ve got six effects written (more to follow) and there’s a video below showing them all, I’ve also included the code for the Arduino (needs some tidying up in places) for you to have a look at, and if it helps anybody with anything then please feel free to use it as you see fit.
Again apologies if this has been done to death before (looking on the web I suspect it might) but I just thought I’d share my first project with Arduino and please feel free to comment, any feedback is welcome.
A link to the video (it is late at the minute but I cant seem to find how to embed the video!!!)
MrP_4x4x4_Cube.zip (1.92 KB)