Jump to content
  • Advertisement
Sign in to follow this  
  • entry
    1
  • comments
    0
  • views
    260

LED selection and connection plan

Sign in to follow this  
TheComet

372 views

One thought you might have when hearing "LED Cube" is: What use are the LEDs in the center? Are they even visible, or are they covered up by all of the other LEDs surrounding it?

They are. That's why it's preferable to choose LEDs with small housings and space them as far apart as possible. The "empty space to LED ratio" needs to be as large as possible.

After searching multiple LED suppliers, I found that the smallest viable RGB LED is 5mm in diameter, with pin lengths of 25mm. To get an idea of what the cube might look like and also to figure out how the LEDs should be connected to one another, I decided to model the LED in blender. I came up with the following layout.

1.thumb.PNG.486eddbafcacaba951f4c9f3abc31c05.PNG

It would be impractical to address all LEDs simultaneously. This would mean having 4096*3 control signals! I figured that the highest number of LEDs I would dare control simultaneously would be 768, which happens to be the exact number of LEDs in a single "slice" of the cube. In order to control all 16 slices, we use multiplexing: That is, we need to cycle through each slice repeatedly and apply the 768 signals for the active slice. If you do this fast enough, the human eye will think all of the LEDs are turned on.

Knowing that ICs generally are able to sink higher currents than they are able to source currents, it is preferrable to use a common anode LED and connect all anodes in a cube slice together, making it possible to switch slices of the cube on and off with power transistors. The anode is the connection branching off to the right in the picture above.

The 3 cathodes for controlling the red, green and blue LEDs in the housing are branched off downwards.

The idea here is to chain the LEDs together such that the anodes can be soldered together like so:

2.thumb.PNG.9eeafb9d8096f051ae9aa36b4aed4499.PNG

And by soldering these strings into an array, we get a single slice of the cube with all anodes connected to the same net:

3.thumb.PNG.08b7c46f15aa1da1e5a13efd1d0f456f.PNG

16 of these slices are then stacked on top of each other such that the cathodes align perfectly with the underlying layer and can be soldered together:

4.thumb.PNG.af00806e1fd49deffc3318db10ddeafd.PNG

The result is a structure that looks like this (using 4x4x4 here for clarity, things get messy to look at with 16x16x16):

7.PNG.67ed0014820a08e3a36eab950bfa3d28.PNG

The 768 + 16 pins that end up sticking out of the bottom of this structure will be soldered onto a PCB. The number of signals can further be decreased by using shift registers (most likely I'll be using 32x 24-bit shift registers which will decrease the 768 signals to 32. This, an FPGA can handle).

To finish things off, since this is blender, I rendered some pictures of how the cube might look in the end. Enjoy!

led-cube.thumb.png.1be40a29cef3982cbb7a5cd01295d927.pngled-cube2.thumb.png.0115f865e5428a0ffa74ca318dbd1fab.pngled-cube3.thumb.png.5f0e33d035234f493975a0d1580452f0.png

 

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!