Introduction: Arduino Sound Board Mock

Picture of Arduino Sound Board Mock

In this Instructable we will be making a mock up of a sound board sound reader thing.

Sorry, the video might not work and if it does it has super poor audio and video

Materials Needed:

6 LEDs- 3 green, 3 yellow, and 1 red

Arduino Uno

Jumper wires

"Time"

This took me a very short time to make and is easy.

The code, which was super long, was copyed then put into the Instructable directly so it looks very.

Here is the CODE:

int RED = 1;

int YELLOWc = 2;

int YELLOWb = 3;

int YELLOWa = 4;

int GREENc = 5;

int GREENb = 6;

int GREENa = 7;

void setup(){

pinMode(RED, OUTPUT);

pinMode(YELLOWc, OUTPUT);

pinMode(YELLOWb, OUTPUT);

pinMode(YELLOWa, OUTPUT);

pinMode(GREENc, OUTPUT);

pinMode(GREENb, OUTPUT);

pinMode(GREENa, OUTPUT);

}

void loop(){

digitalWrite(RED, HIGH); digitalWrite(YELLOWc, HIGH); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH);

delay(5000);

digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, LOW);

delay(5000);

digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, HIGH);
delay(500); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(500); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(500); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(500); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(500); digitalWrite(RED, LOW); digitalWrite(YELLOWc, HIGH); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(500); digitalWrite(RED, HIGH); digitalWrite(YELLOWc, HIGH); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(2000); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, LOW); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, HIGH); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, LOW); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, LOW); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, HIGH); digitalWrite(YELLOWb, HIGH); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, HIGH); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, HIGH); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, HIGH); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, HIGH); delay(200); digitalWrite(RED, LOW); digitalWrite(YELLOWc, LOW); digitalWrite(YELLOWb, LOW); digitalWrite(YELLOWa, LOW); digitalWrite(GREENc, LOW); digitalWrite(GREENb, LOW); digitalWrite(GREENa, LOW); delay(3000); }

Step 1: The LEDs

Picture of The LEDs

The code looks very weird on the web but it works perfectly fine.

The LEDs need no resistors at all because I don't know.

Connect GND from Arduino to the Neg. of the bread board.
Put The LED's in the LEFT side of the bread board. Put the GREENa on the bottom of the board to the most right of the LEFT section of the board. Put the pegs in 30 and 28 leaving one space between the two legs. The possitive lead shuld be on the bottom. Repeat for all LED's so that they stack on top of eachother.(It looks like a SOUND BOARD!!!!) There should be 3 of each color except the RED.(Explaining NO REDa or REDb or REDc)

The jumper wires are color sorted to the right LED

Step 2: Good to GO!

Now that you have set everything up and are ready to go you can pull up Arduino and Go.

Note: This was made in a small 1 hour time frame. Feel free to change anything at will if you want. The code is very simple but, confusing at the same time. If you take the time to watch the LEDs go you will figure how the code works with them.

Comments

About This Instructable

1,389views

4favorites

License:

More by gotokoz:Arduino Sound Board MockTOS Romulan War Bird TOS Bird of Prey (Klingon)
Add instructable to: