This 4x4x4 cube is interactive by using the top four corner LEDs both as LEDs and as sensors that will react on light. Depending on what LED gets the least light, the cube will run a different show.
Remove these ads by
Signing UpStep 1: You will need:
soldering iron
pliers
small screwdriver
some drillbits
drill
solder
piece of wood
pencil
ruler
computer with Arduino software
USB-cable
snips
sharpie
breadboard (optional)
PARTS
64 led's
4 resistors that go with the LED's (yes just 4)
1 Photocube
1 Arduino
some wire
some small COAX wire (isolated wire)
16 headerpins

















































Visit Our Store »
Go Pro Today »




Ps: sorry but for some reason it won't let me reply
i dont quite understand what you mean by the corner LED's.
on mine i didnt finish reading the instructions so i did the 4th layer like i did the first one. How can i fix this and how to i hook it up properly
Questions: If i want to replace the 4 LED sensor and replace it by a switch, how would i write the code. I mean where would i start?...
If you leave out the sensors, it will make your code much easier. You can delete everything in the void loop() and replace it by code that will test your button(s) and then calls one of the four splash voids.
I hope this was helpful for you
I am impressed with the finished product, now I need to attempt a larger cube!
I did layer one as described, layer two charlieplexed with layer 1, layer 3 i have the anodes of layer 3 bent down and soldered with the cathodes of layer 2, and i have the cathodes of layer 3 soldered to the anodes of layer 4.
I have the code uploaded to the arduino, and it seems to be working, well the bottom two layers work fine, the top 2 layers, are half working? the leds are very dim and dont seem to follow the pattern expected. I may have mis soldered layer 2-3 im not sure any idea?
- Thanks
That is really easy. You just need to download the free software from www.arduino.cc (for windows, mac or linux) and you can write your code in this program and push "play" to send it trough a USB-cable to your Arduino.
-Thanks
If i want to remove "sensors" LEDs and make normal LED cube, what would i have to change? Would it work if i just solder 4 corner LEDs like the others are and then solder them to third layer as the rest are? And then i do little reprograming?
BTW i already build first 3 layers and it works like a charm...:D
Thanks
Yes if you just solder the corners in like the rest, you will have a "normal" 4x4x4 LED-cube.
Will you show the result?
Peter
For now only layers 1 and 2 are working correctly... the 3 and 4 are behaving wierd... I will need to check if soldering was done correctly... But tomorrow;)
I will show result when the project is finished...
Thanks again
thanks
Can you explain why the void setup - PinMode have to set to INPUT?? Thanks :)
So far I have put together another layer like the second layer and soldered the Cathodes to the Anodes, and have the Anodes free to be connected to the Arduino.
I don't understand how to connect the 4th layer at all...
(Sorry, I am not really good with schematics)