PIC microcontroller based fastest finger press quiz buzzer project

By | January 24, 2014

The fastest finger press quiz buzzer is very popular in school, Collage, different T.V. show, different quiz competition. Here in my pic microcontroller based fastest finger press quiz buzzer project you will find four tables with push button. For any instant if four teams on four tables press the push button then it will glow the light and blow buzzer of that table for fasted finger press.

Project description

In my project I use four table set up. Every table contains a push button, A light and a buzzer. When any question asked by quiz master, fastest press push button in the table will get chance to answer. And who press first the light on his table will glow and buzzer will blow. In between time if another participant press puss button from different table it will not work until the quiz master reset the system again. See the circuit diagram in bellow.

Pic microcontroller based fastest finger press quiz buzzer project To complete my Pic microcontroller based fastest finger press quiz buzzer project, I used

1>     Microcontroller PIC16F877A

2>     LED (4 no)

3>     Buzzer (4 no)

4>     Push Button (5 no)

5>     Transistor (BC547)

In bellow you will find the code to run my project PIC microcontroller based fastest finger press quiz buzzer project

 

Embedded C Code
// Name : PIC microcontroller based fastest finger press quiz buzzer project
// Author : Subham Dutta
// Date : 24-01-14
// Website : www.nbcafe.in
void main()
{ int i=0;
trisb=0;
portb=0;
trisd=1;
portd=0;
while(i==0){
if (portd==0b00000001)
{
portb=0b00010001;
delay_ms(500);
portd=0;
i=1;
}
if (portd==0b00000010)
{
portb=0b00100010;
delay_ms(500);
portd=0;
i=1;
}
if (portd==0b00000100)
{
portb=0b01000100;
delay_ms(500);
portd=0;
i=1;
}
if (portd==0b00001000)
{
portb=0b10001000;
delay_ms(500);
portd=0;
i=1;
}
}
}

 And see the video for simulation of my project in Proteus.

 

4 thoughts on “PIC microcontroller based fastest finger press quiz buzzer project

  1. Paul

    Can you enlarge to 8 buttons and two additional host buttons (Right, Wrong).
    Project Description: In addition to above project include Contestant pushes button (When LED LIGHTS a SINGLE DING TYPE SOUND Happens)Host hits right button ( DING, DING, DING SOUND 3 shot and (board reset?)) Host hits wrong button (BUZZER SOUND 2 second duration and (board reset?))
    Thank you for your consideration!

    Reply
  2. akhil

    what is the use of the delay. wont the buzzzer work even if the delay code is absent.

    Reply



Leave a Reply

Your email address will not be published. Required fields are marked *