Introduction: Arduino Game Show Button

DIY Game Show Button, using Arduino Uno.
Components needed:

x2 Stripboard (25x55 holes-size 145mm x 65mm)

x4 Tact Switch (Single pole single throw)

x4 10K ohms Resistors

x4 LED (Any colours of led, recommending different colours)

x2 Single Row 40 way Female Headers

Wires

Step 1: Building the Body Compartment

Solder the components accordingly.

Step 2: Building the Controllers

Solder the switch and the female header accordingly.

Step 3: Arduino Programming

#include

int blue = 9;

int red = 10;

int yell = 11;

int green = 12;

int bblue = 3;

int bred = 4;

int byell = 5;

int bgreen = 6;

void setup()

{

pinMode(blue, OUTPUT);

pinMode(red, OUTPUT);

pinMode(yell, OUTPUT);

pinMode(green, OUTPUT);

pinMode(bblue, INPUT);

pinMode(bred, INPUT);

pinMode(byell, INPUT);

pinMode(bgreen, INPUT);

}

void loop()

{

if(digitalRead(bblue) == LOW)

{

digitalWrite(blue,HIGH);

delay(50);}

else

{

digitalWrite(blue,LOW);

delay(5 0);

}

if(digitalRead(bred) == LOW)

{

digitalWrite(red,HIGH);

delay(50);

}

else

{

digitalWrite(red,LOW);

delay(50);

}

if(digitalRead(byell) == LOW)

{

digitalWrite(yell,HIGH);

delay(50);

}

else

{

digitalWrite(yell,LOW);

delay(50);

}

if(digitalRead(bgreen) == LOW)

{

digitalWrite(green,HIGH);

delay(50);

}

else

{

digitalWrite(green ,LOW);

delay(50);

}

}

Step 4: Game Show Demo

Video on how the Game Show Button works.