Password game

Thread Starter

christophee

Joined Jan 15, 2012
9
We are tasked to create a digital circuit of a password game where there are supposed to be four buttons. The user must know the proper sequence in which the four buttons are pushed. We can either input a password internally or the user can change the password by themselves (bonus). Please help me with the circuitry. I am really lost to where and how to start.

Here's the game:
There are four buttons, A B C D
There is an inner password let's say C-A-D-B.
The user must push buttons in order to get the right password code.
If the first button is wrong, it will display red LED and alarm/sound then a reset button must be pushed to start again.
If the user then guessed the correct code of C-A-D-B, a green LED will light in every right guess of the sequence and a Congratulations-you-are-right LED will light up.

Please help me, thank you!
 
Last edited:

t06afre

Joined May 11, 2009
5,934
We are tasked to create a digital circuit of a password game where there are supposed to be four buttons. The user must know the proper sequence in which the four buttons are pushed. We can either input a password internally or the user can change the password by themselves (bonus). Please help me with the circuitry. I am really lost to where and how to start.
Schoolwork I presume;) Well the meaning is that you shall use what you have learned in previous courses. To solve this task. Like do you have any micro-controller or digital logic courses.
We do not mind helping out students here but do not expect that we will serve you a solution on a silver plate.
 

Thread Starter

christophee

Joined Jan 15, 2012
9
Schoolwork I presume;) Well the meaning is that you shall use what you have learned in previous courses. To solve this task. Like do you have any micro-controller or digital logic courses.
We do not mind helping out students here but do not expect that we will serve you a solution on a silver plate.
hello there! We do have digital logic courses, but this project is new to us. I have an idea on how to do it but some things are just not right.
 

absf

Joined Dec 29, 2010
1,968
What logic chips did you use?

I'd start with 4 flip flops like 4013 or 7474 and 4 push button switches.

Allen
 

WBahn

Joined Mar 31, 2012
30,072
hello there! We do have digital logic courses, but this project is new to us. I have an idea on how to do it but some things are just not right.
Come on, we are not mind readers. Throw us a bone!

What type and level of course is this? This will give us a hint on the kinds of techniques that are reasonable to discuss.

What 'things' are just not right? How can we possibly help get them right unless you tell us what they are?

What are your thoughts about how to approach the problem? What have you tried thus far?

Have you developed a state diagram?
 

Thread Starter

christophee

Joined Jan 15, 2012
9
We managed to make the design. We have series of D flip flops both for the password itself and the guess of the user. Then a comparator to compare the password and the guess. Our problem now is we do not know which values of resistors and capacitors to use in series or parallel in the circuit. Please help?
 

WBahn

Joined Mar 31, 2012
30,072
We managed to make the design. We have series of D flip flops both for the password itself and the guess of the user. Then a comparator to compare the password and the guess. Our problem now is we do not know which values of resistors and capacitors to use in series or parallel in the circuit. Please help?
To even have a shot at providing an answer to that, we need to see the circuit and where you are planning to use resistors and capacitors and why you are wanting to use them (what purpose they are intended to serve). We can also then point out other places where you might need them.
 

Thread Starter

christophee

Joined Jan 15, 2012
9


so here's our circuit. Hmmm, There are about 34 IC's here and we are having a hard time hardwiring/etching PCB. please help? I'll post the schematic later. It's too big to attach.

This is composed of D flipflops, parallel registers, multiplexer, and magnitude comparator. Will there be easier design for this? any suggestions? thanks!
 

Attachments

Top