Home
Categories
Coilguns
AVR Projects
Gumstix Projects
PIC Projects
Tutorials
The Forum
Contact Me

If you like this
site please

page counter

Multiplexing

Say we have three RGB LEDs. Each LED has four pins, red, green, blue, and ground. If we wired all the grounds together we would need nine pins to control the LED individually, three for each. But if we multiplex it we connect the red to the red, the green to the green, and the blue to the blue but leave the ground pins alone. That way you will only need six pins, RGB and three grounds, but if you do this, when you put power to one LED all three light up. To stop this you have to connect only one ground lead at a time. This way you can flash the three LED by cycling though the three grounds.

In the 4X4X4 cube there are sets of eight LED connected this way. Each set of eight LED has all of their grounds connected. In my case half of a layer is connected (first and third rows, second and fourth rows) The RG and B lines are also connected in pods of eight but they are connected in columns so to keep individual control. The columns are connected at the first row and second row. The picture attached has one section of LED connected by the ground wires in green and the LED connected by the RGB wires in red. The yellow is another section of RGB connected LED and the blue is another section of LED with connected ground pins. You can see that if the green section is connected to ground then only one LED in the red and yellow sections are inside of what will be lit. That way if you connect the entire red sections red pin to power and the green section to ground only one LED will light, the one in both sections, the closest LED.