Hello im wondering if is there any possibility to use raspberry as a controller for the led cube ?
Hello im wondering if is there any possibility to use raspberry as a controller for the led cube ?
Yes thats possible!
i recommend that you try searching for "how to controll a 8x8 led matrix"
It works the same way, just that a led cube is 3d so you wil have to add another script for it to work.
Remember the arduino and the raspberry pi is weary like, so you can follow tutorials for the arduino and get the same results, all you need to do is transelate the code to python. If you need help with the code, just ask me
for smooth operation though i'm not sure if the PI will be up to the task, having it as a master and sending the pattern requests to the Arduino is good. I have not yet seen a PI do this. Not saying it cant be done but to be honest, a PI is not the best choice for hardware control of this nature. An Arduino or similar (MSP430, TivaC etc) is much more adept.
better link here with reasons http://www.raspberrypi.org/forums/viewtopic.php?f=38&t=10120
Or just skip the pi and go straight to 'duino.
To make a decent LED cube you need to get away from weedy little processors or RP with it's lack of IO and poor real time perfromance.
This guy shows you how do it right http://www.hownottoengineer.com/projects/rgb-led-cube.html
(And lot's of good explanation.)
If I were doing it I would use an FPGA (which would get rid of the LED driver chips) but that's because I use them all the time so I have all the tools.
MK
You don't necessarily need a driver chip with an arduino. For a 4x4x6 cube I am working on the only io expansion I am using is a single Johnson counter. This is using an arduino Leonardo.
How will you get any power into your LEDs without drivers - you have 96 LEDs (which is a lot less than the 512 for an 8 x 8 x 8) cube but the maximum total current you can put out is less than 200mA which won't be very bright. (Perhaps I'm missing something - can you post a sketch of your ciruit ?)
MK
that's total for the chip too, you are limited also to 20mA per pin, absolute max being 40mA but not recommended and that would also be dropping a lot of volts in the chip
Micheal, although you would obviously have the number of pins available on an FPGA how would you handle the drive current ?