Post Top Ad

Wednesday, November 15, 2023

on video LED Cube Light Using Arduino nano

LED Cube Light Using Arduino nano

To start off we have to make 3 layers of 3x3 LED;s. The easiest way to do this is to get a piece of cardboard and poke holes in a 3x3 pattern. Make sure the LED's won't fall through when you push them into the holes. In the end it should look something like in the picture.


We have to connect all cathodes on each layer now. Ofcourse we use solder for this.

Repeat step 1 and 2 two more times and you should end up with 3 layers that look exactly the same.


PAY ATTENTION: The cathodes and anodes should NOT touch each other.


It's smart to test all your solder connections before continuing to step 3. The easiest method is to grab your Arduino and connect one of the cathodes (the pins you soldered) to the GND of your Arduino and connect a cable to the 3V3 of your Arduino . Now you can touch each anode with the 3V3 wire and if everything works the LED should light up.

Use something like a soldering hand to solder all anodes to the anode on the layer below.

Again, make sure not to accidentally solder the cathode to the anode.


After you finished soldering all 3 layers together your cube is done! Now all that's left is to add a few electronic parts and some connectors.

Soldering the Cube to Your Perfboard

Now it's time to solder the remaining 9 anodes onto a perfboard.

You get the best result if you leave a gap between the perfboard and the bottom layer. This will make it look like the cube is floating in mid-air.

Solder the perfboard as shown in the image provided.


The black lines are connections between different copper strips. You can use solder or wire to connect them.

The blue lines are where you have to scratch the copper so that it doesn't conduct anymore.

Use 3 wires to connect each layer to one of the transistors.

You can see which pin you have to solder in the perfboard layout in step 5.


Your cube is now done! To connect it to your Arduino you have to connect cables to the headers.

You can see how to connect the cables using the image provided in step 7 (“Programming”).


After you connected your Arduino to the cube you can program my code to check wether everything is working properly. If you're not sure if it all works properly I suggest taking a look at my youtube video since it's the same code I used in the video.


Do some of the LED's not turn on? Check wether all your solder connections are ok and check for short circuits on your perfboard.

You might come across the issue that one of the layers isn't working. This is probably because one of the transistors is damaged.... Don't panic! If you replace the damaged transistor your LED cube should work fine.

I'm pretty new to programming an Arduino myself, so I can't tell you a lot about it. I don't know how to use arrays and I don't know how to multiplex either.

 

LED Cube Light Using Arduino nano

To start off we have to make 3 layers of 3x3 LED;s. The easiest way to do this is to get a piece of cardboard and poke holes in a 3x3 pattern. Make sure the LED's won't fall through when you push them into the holes. In the end it should look something like in the picture.


We have to connect all cathodes on each layer now. Ofcourse we use solder for this.

Repeat step 1 and 2 two more times and you should end up with 3 layers that look exactly the same.


PAY ATTENTION: The cathodes and anodes should NOT touch each other.


It's smart to test all your solder connections before continuing to step 3. The easiest method is to grab your Arduino and connect one of the cathodes (the pins you soldered) to the GND of your Arduino and connect a cable to the 3V3 of your Arduino . Now you can touch each anode with the 3V3 wire and if everything works the LED should light up.

Use something like a soldering hand to solder all anodes to the anode on the layer below.

Again, make sure not to accidentally solder the cathode to the anode.


After you finished soldering all 3 layers together your cube is done! Now all that's left is to add a few electronic parts and some connectors.

Soldering the Cube to Your Perfboard

Now it's time to solder the remaining 9 anodes onto a perfboard.

You get the best result if you leave a gap between the perfboard and the bottom layer. This will make it look like the cube is floating in mid-air.

Solder the perfboard as shown in the image provided.


The black lines are connections between different copper strips. You can use solder or wire to connect them.

The blue lines are where you have to scratch the copper so that it doesn't conduct anymore.

Use 3 wires to connect each layer to one of the transistors.

You can see which pin you have to solder in the perfboard layout in step 5.


Your cube is now done! To connect it to your Arduino you have to connect cables to the headers.

You can see how to connect the cables using the image provided in step 7 (“Programming”).


After you connected your Arduino to the cube you can program my code to check wether everything is working properly. If you're not sure if it all works properly I suggest taking a look at my youtube video since it's the same code I used in the video.


Do some of the LED's not turn on? Check wether all your solder connections are ok and check for short circuits on your perfboard.

You might come across the issue that one of the layers isn't working. This is probably because one of the transistors is damaged.... Don't panic! If you replace the damaged transistor your LED cube should work fine.

I'm pretty new to programming an Arduino myself, so I can't tell you a lot about it. I don't know how to use arrays and I don't know how to multiplex either.

 

No comments:

Post a Comment

Post Top Ad

Pages