Pages: [1]   Go Down
Author Topic: how to control levels of 3x3x3 cube?  (Read 849 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 157
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does anyone know how to turn individual levels on and off? How do I wire up the cube so that it does this? What code do I use?
I have pretty much everything else figured out, I think.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31431
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It depends on how you have wired it up. Have you got a schematic?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Assuming you plan on multiplexing to control each level

My experience:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286580054/7

For a 3x3x3 cube, you will have 3 levels of 3x3 leds. For each row in a level you connect either all the common anode or cathodes together (depends on what you're using). To light that level, you source or sink current to the 3 wires that each run through 3 leds (3x3=9 leds or one level)

Lame text summary:
Code:
W-L-L-L
W-L-L-L
W-L-L-L

W=wire
L=led

Source or sink (common anode or cathode leds) current to the "W"ire above to light the level.

The next level, move over where you drop the current wire to your breadboard / through your bread board to keep things neat and tidy:

Code:
L-W-L-L
L-W-L-L
L-W-L-L

Logged

Pages: [1]   Go Up
Jump to: