For this project, I used 15 LEDs, 5 of each color (blue, white, and green). Every 3 LEDs (one from each color) are organized in a series row and connected to one resistor of 220 ohms. There are three buttons and each of which is connected to a 10K resistor. The switches are programmed to turn on the sequences in three different ways. The first button turns on the lights starting from bottom to top, and the second button does the opposite of that, it turns on the series from top to bottom. The last button randomly turns on the sequences.
Figure 1 - A picture of the work
Figure 2 - Schematic of the board
Figure 3 - A sketch of the wiring
Figure 4 - Video of how it works
Figure 5 - Code Blocks of the used coding
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.