This repo consist of the arduino code made from scratch for the LED Cube with soldered LEDs of dimensions 4x4x4, connected to arduino board with 20 wires.
Model Explaination:
First the virtual model was prepared in TinkerCAD, and after the succesful working of the arduino code in TinkerCAD model. You can check the TinkerCAD model here.
Once I was sure the model worked properly in TinkerCAD I proceded to make the actual model. So, I ordered 100 LEDs (Though only 4x4x4 = 64 was needed), copper wires with silverplating, an arduino board, connecting wires.
The soldering was done in a way that for each level I would first connect the anodes of all the LEDs in the level, then I connected the catodes of each level vertically, making the wiring easier by soldering 16 wires to the base (all cathodes) and all the levels (with a 100 ohms resistor)(anode) soldered separately, making the total connection to be made to the arduino equal to 20, now out of these 20 connection 6 were connected to the analog pins and the remaining 14 to the digital pins of the arduino board.
After this I made a solid stand and protection around the delicate soldered copper wires and it luckily survived a few falls too :)
Now I just had to upload the arduino code to the arduino board to get the beautiful patters/letters and since the LEDs were multicoloured so altering the voltage gave different colours making a magnificent LED cube for my desk decoration :)
final.mp4
Code Explaination: