<<<< Read Previous Part (Part 7)
Arduino program to turn on diagonal LEDs only (Part 1 of 3)
We had already seen the circuit for 3*3*3 LED cube in previous blogs. Here, we will generate a program to turn on the diagonal LEDs only, as shown in the following circuit.
We cannot turn on the diagonal LEDs directly as done in previous posts. To turn on these three LEDs, HIGH voltage should be given to the "pos1", "pos2" and "pos3" terminals. Similarly, LOW voltage should be given to the "neg1", "neg5" and "neg9" terminals. This will turn on nine LEDs instead of three LEDs as shown in following image.
That is, we have to go for another method to turn on diagonal LEDs only. Principle of "persistence of vision" is used here, which means a frame seen by our eyes will remain in our eyes for the next 1/16th part of a second. If the next frame is seen within this time interval, our eyes will feel that both frames are continuous.
Arduino program to turn on diagonal LEDs only (Part 1 of 3)
We had already seen the circuit for 3*3*3 LED cube in previous blogs. Here, we will generate a program to turn on the diagonal LEDs only, as shown in the following circuit.
We cannot turn on the diagonal LEDs directly as done in previous posts. To turn on these three LEDs, HIGH voltage should be given to the "pos1", "pos2" and "pos3" terminals. Similarly, LOW voltage should be given to the "neg1", "neg5" and "neg9" terminals. This will turn on nine LEDs instead of three LEDs as shown in following image.
That is, we have to go for another method to turn on diagonal LEDs only. Principle of "persistence of vision" is used here, which means a frame seen by our eyes will remain in our eyes for the next 1/16th part of a second. If the next frame is seen within this time interval, our eyes will feel that both frames are continuous.
Continued in Next Part (Part 9) >>>> |
0 comments: