Summary of 3x3x3 LED Cube using PIC16F690 microcontroller
This article details a DIY 3x3x3 LED cube project controlled by a PIC16F690 microcontroller. The cube uses multiplexing to illuminate layers rapidly, creating a full-light illusion. Construction involves drilling holes in wood to arrange LEDs, soldering cathodes within layers and anodes between stacked layers. The project includes assembly code (.asm) for the PIC and VB.NET software for designing custom patterns that export as .asm files.
Parts used in the 3x3x3 LED Cube:
- PIC16F690 microcontroller
- 27 LEDs (arranged in 3x3x3 configuration)
- Wood piece (for mounting and drilling holes)
- VB.NET software (for pattern creation)
- .asm file (assembly code for the PIC)
- Soldering materials (for connecting legs)
3x3x3 LED Cube
Here is my 3x3x3 LED Cube project. It runs using a PIC16F690. Along with the brief explanation of how to make it, I have also included the .asm file for the PIC and a piece of software written in VB.NET that you can create your own LED patterns. These can be exported as .asm files and put into the main .asm code.
Building
Each layer of 9 LEDS are connected with all of the cathodes together. The cube is multiplexed, meaning that only one layer is on at any one time. It happens so quickly that the whole cube looks like it is illuminated. RB5, RB6 and RB7 controll which layer is being illuminated.
From the picture you can see the connections to the top layer. I have only connected RC2 to show you how the connection should be made, the rest of the LEDs are connected the same way.
The easiest way to connect the LEDs together is to drill 9 holes into a piece of wood (picture 2), then place the LEDs into the holes, bend the legs and solder the cathodes together. After 3 of these are created, simple stack them and solder the anodes together. You should end up with 9 anodes and 3 common cathodes to connect to you circuit.
For more detail: 3x3x3 LED Cube using PIC16F690 microcontroller
-
What microcontroller is used in this LED cube project?
The project runs using a PIC16F690 microcontroller. -
How are the LED layers connected?
Each layer of 9 LEDs has all cathodes connected together. -
Which pins control which layer is illuminated?
RB5, RB6, and RB7 control which layer is being illuminated. -
How does the cube appear illuminated if only one layer is on at a time?
The cube is multiplexed so quickly that the whole cube looks like it is illuminated. -
What is the easiest way to connect the LEDs together according to the text?
Drill 9 holes into a piece of wood, place LEDs in holes, bend legs, and solder cathodes together. -
Can users create their own LED patterns for this project?
Yes, there is a piece of software written in VB.NET to create your own LED patterns. -
How are custom patterns added to the main code?
Patterns created in the software can be exported as .asm files and put into the main .asm code. -
What specific connection is shown in the picture for the top layer?
The picture shows the connection to RC2 to demonstrate how connections should be made.

