<<<< Read Previous Part (Part 5)
We had already seen the internal circuit of a 2*2*2 LED cube in the last blog. Here, we will connect this 2*2*2 LED cube to an Arduino mega so that we can easily control the LED cube using programs. Internal circuit of 2*2*2 LED cube is given below. 2*2*2 LED cube has 6 terminals. They are 4 cathode terminals (a, b, c and d) and 2 anode terminals (e and f).
Two resistors of 1K each should be connected to the anode terminals of LED cube. This is to protect the LEDs from over current. Now you can control any LEDs, individually or as group, using programs.
We had already seen the internal circuit of a 2*2*2 LED cube in the last blog. Here, we will connect this 2*2*2 LED cube to an Arduino mega so that we can easily control the LED cube using programs. Internal circuit of 2*2*2 LED cube is given below. 2*2*2 LED cube has 6 terminals. They are 4 cathode terminals (a, b, c and d) and 2 anode terminals (e and f).
Connection between 2*2*2 LED cube and arduino is given below. Six terminals of 2*2*2 LED cube is connected to six digital pins of arduino mega. Connections can be summarized as follows.
"a" terminal of 2*2*2 LED cube is connected to the 13th digital pin of arduino.
"b" terminal of 2*2*2 LED cube is connected to the 12th digital pin of arduino.
"c" terminal of 2*2*2 LED cube is connected to the 11th digital pin of arduino.
"d" terminal of 2*2*2 LED cube is connected to the 10th digital pin of arduino.
"e" terminal of 2*2*2 LED cube is connected to the 9th digital pin of arduino.
"f" terminal of 2*2*2 LED cube is connected to the 8th digital pin of arduino.
Two resistors of 1K each should be connected to the anode terminals of LED cube. This is to protect the LEDs from over current. Now you can control any LEDs, individually or as group, using programs.
Continued in Next Part (Part 7) >>> |
0 comments: