Vermes
Advanced Member level 4
![](https://obrazki.elektroda.pl/4254374100_1301781318_thumb.jpg)
This device is a 3D led cube. The main idea was to connect all the LEDs to the board without many cables.
The schema:
![](https://obrazki.elektroda.pl/9583769400_1301781377_thumb.jpg)
(one of attachments is a TTL schema)
The core of the device is Atmega32 with a clock of 14,745 MHz. The LED matrix is made of RGB LED with a common cathode. The cathodes are steered by IRLZ34N transistors when anodes are steered by 74ACT573 microchip with UDN2981 driver. The processor sets the bit value on C socket, and next blocks the change of it by setting clk signal on one of 3 ports A0-A3. Displaying the chosen sequence is followed by setting a Mosfet transistor responsible for the given branch.
Realization:
The board is bilateral and quite big therefore it isn't easy to make.
![](https://obrazki.elektroda.pl/2202751800_1301781518_thumb.jpg)
![](https://obrazki.elektroda.pl/9715331600_1301781554_thumb.jpg)
![](https://obrazki.elektroda.pl/6851166300_1301781584_thumb.jpg)
The next difficulty was to make a straight and good looking LED cube. For making that, a plexi board with holes was made. When the cube was designed, there were only LEDs with transparent housings, therefore all the leds were sanded with fine-grained sandpaper. The next problem was to get the LEDs cables to fit the right length (5mm). A 0.8 mm wire was used.
![](https://obrazki.elektroda.pl/8950764200_1301781747_thumb.jpg)
![](https://obrazki.elektroda.pl/6125388300_1301781853_thumb.jpg)
![](https://obrazki.elektroda.pl/8254377300_1301781986_thumb.jpg)
Final result:
![](https://obrazki.elektroda.pl/1069853500_1301782823_thumb.jpg)
![](https://obrazki.elektroda.pl/2137863700_1301782826_thumb.jpg)
![](https://obrazki.elektroda.pl/6398570600_1301782828_thumb.jpg)
![](https://obrazki.elektroda.pl/6062553700_1301782831_thumb.jpg)
![](https://obrazki.elektroda.pl/7925169100_1301782834_thumb.jpg)
![](https://obrazki.elektroda.pl/2569731700_1301782835_thumb.jpg)
![](https://obrazki.elektroda.pl/2121203100_1301782837_thumb.jpg)
![](https://obrazki.elektroda.pl/3285253100_1301782839_thumb.jpg)
![](https://obrazki.elektroda.pl/8834966400_1301782841_thumb.jpg)
![](https://obrazki.elektroda.pl/6690142000_1301782842_thumb.jpg)
Programming:
The main program is written in Bascom AVR. Steering based on 74HC573 (D flip-flops).
The program has 3 modes:
- The chosen animation mode – the animation is played still around. The mode can be chosen by using a button on the board or with a remote control sending an appropriate code in RC5 standard.
- The presentation mode – (mode appears in the film) after the animation, the program goes to the next. It can be chosen by pressing the second button on the board or similar with the remote control.
- The “light” mode – this mode can be only called with the remote control. All the LEDs light in one of the 7 colors.
Additives and remarks:
RC5 steering - example on IR5440 (36kHz)
![](https://obrazki.elektroda.pl/9104558300_1301783135_thumb.jpg)
![](https://obrazki.elektroda.pl/5112667300_1301783136_thumb.jpg)
![](https://obrazki.elektroda.pl/9924438200_1301783137_thumb.jpg)
![](https://obrazki.elektroda.pl/9156767800_1301783205_thumb.jpg)
Power supply:
The cube can be powered by 7.5V, but it can be lower. There are two solutions:
- Voltage of 5V – because of the 7805 stabilizer, a jumper must be applied (it's viewed in the second picture)
- A board with a stabilizer with adjustable output voltage (maximum intensity 1.5A)
![](https://obrazki.elektroda.pl/6491727400_1301783274_thumb.jpg)
![](https://obrazki.elektroda.pl/9942460900_1301783276_thumb.jpg)
The board power consumption powered by 12V on the regulator and 6.5V on output takes 0.05 to 0.6 amperes (depending on the animation).
Link to original thread - LED CUBE 4x4x4