Hi,
I'm taking an intro to digital electronics class and we have a final project where we need to build a 2 person "game show" quiz reaction timer. I feel like I'm in way over my head at this point and I would appreciate any and all help to get me started with the basic setup.
Here are the basic instructions:
The game has 2 players, each with a a button connected to an LED
A reset button is pushed and there is a 9-second countdown on a 7-segment LED display. After the last count, there is a final 1 second delay, after which the first player to hit his/her button has their LED light up while the second player's LED is locked out
If somebody "jumps the gun" and hits their button before the time has run out then the other player's LED is lit and the round is over.
Were required to use PIC microcontroller, so I have to figure out how the circuit should be set up as well as the code for the process I described.
We've had a little practice with basic programming (decrement commands, etc.) but I'm at a loss as to how to program the PIC to carry out all these requirements. If this doesn't make sense, let me know, and I'll try to clarify.
Thanks
I'm taking an intro to digital electronics class and we have a final project where we need to build a 2 person "game show" quiz reaction timer. I feel like I'm in way over my head at this point and I would appreciate any and all help to get me started with the basic setup.
Here are the basic instructions:
The game has 2 players, each with a a button connected to an LED
A reset button is pushed and there is a 9-second countdown on a 7-segment LED display. After the last count, there is a final 1 second delay, after which the first player to hit his/her button has their LED light up while the second player's LED is locked out
If somebody "jumps the gun" and hits their button before the time has run out then the other player's LED is lit and the round is over.
Were required to use PIC microcontroller, so I have to figure out how the circuit should be set up as well as the code for the process I described.
We've had a little practice with basic programming (decrement commands, etc.) but I'm at a loss as to how to program the PIC to carry out all these requirements. If this doesn't make sense, let me know, and I'll try to clarify.
Thanks