Posted on September 5, 2022 at 22:00 PM


This project is an innovation of Quiz Game Button System. The developer decided to use arduino uno in this project which is suitable to the needed requirements. These project have 3 input buttons and 3 output leds. It also equiped with a buzzer as notifier. Quiz Game Button System is powered by 220VAC.


CODE 101

The code bellow shows how to accept event from a button.

// C++ code
// Developed by AVG Solutions
const int btn1 = 4;
void setup()
{
Serial.begin(9600);
pinMode(4, INPUT);
}
void loop()
{
if(digitalRead(btn1)== HIGH){
Serial.println("BUTTON 1 IS PRESSED!");
}else{
Serial.println("BUTTON 1 IS NOT PRESSED!");
}
}


This diagram shows the status of the system when the button is not pressed.


This diagram shows the status of the system when the button is pressed.


CODE 102

The code bellow shows how the LED respond to the button click.

// C++ code
// Developed by AVG Solutions
const int led1 = 5;
const int btn1 = 4;
void setup()
{
Serial.begin(9600);
pinMode(4, INPUT);
pinMode(5, OUTPUT);
}
void loop()
{
if(digitalRead(btn1)== HIGH){
Serial.println("BUTTON 1 IS PRESSED!");
digitalWrite(led1,HIGH);
}else{
Serial.println("BUTTON 1 IS NOT PRESSED!");
digitalWrite(led1,LOW);
}
}


Image above shows the actual result when the button is not pressed.


Image above shows the actual result when the button is pressed.


For more details about the project, contact us!


This video is an actual demonstration on how Quiz Game Button System works. This Quiz Game Button System innovation is controlled by arduino uno. It has 3 buttons and e LED indicators. This system is powered by 220 volts ac, as a standard power source.

Link of items here.

Lazada fanatics
BMS 3S 20S
Switch
DC Led Bulb (3w)
DC Socket

Visit other social media accounts:
https://twitter.com/AvgSolutions
https://www.youtube.com/c/AvgSolutions
https://bit.ly/3442xRS