Ok, so i tried to create an order sensitive combination lock using buttons.
Here is what i came up with: (it's massive, i know, but it's for concept development. I came up with this myself, and while that doesnt mean much to most of you, it's the most complex thing i've created)
So as you can see, it's essentially RS-NOR latches strung together. It has 6 buttons, which will be in a random order, plus an 'open' button. If the 1st 6 buttons are pressed in the right order, upon pressing the 'open button', the door will open.
However, there is an added feature - the little thing at the back. If a button is pressed before the previous one is active, it sends a signal to the RS-NOR latch at the back, closing off the circuit. This does not reset until the final button is pressed. So if you press the wrong button to start with, then even if you get the combination correct, the door will not open for you. You need to first reset it by pressing the 'open' button, then re-input the code.
The only thing is, I need to account for double button presses. So if you press a button that has already been pressed, it will count as an incorrect button, thus disabling the door. I'm working on that at the moment, but if you have ideas on how to do it, let me know :smile.gif: that's the reason i came here... I need to figure that little bit out.
Please, dont link me to other locks like this, for example, grizzdale's order sensitive lock. This is something i'm hoping to do this way, as i just wont understand his version without spending hours looking at it :tongue.gif:
As a side note, instead of a door, i designed my own 2*2 piston door. I didn't look up any tutorials, or even see pictures of 2*2 doors, i just modified the design of a 2*1 door i had earlier. It is completely hidden, bar the 4 pistons on the wall, 2 each side. But they're just more hastle than they're worth hiding them. It's from the other side anyway...
not sure how to do a counter... i have, however, come up with a solution to the problem... I'll update the OP when it's completed...
I'd link you to some but you obviously wish to have no help what so ever regarding other designs =D
Oh wait I get your double button press problem. my mistake for reading wrong. I'm not so sure on your exact problem, as I only use that default order sensitive design that uses pistons
Well, i found a solution... bit hard to explain :smile.gif:
if you can give me another design that is explained well, i'm sure i'll get it :tongue.gif: but i currently have a monstrous, but working lock :biggrin.gif:LOL! ignoring the monostable circuit at the end for the door, it is currently 28*6*20 (x*y*z)
Here is what i came up with: (it's massive, i know, but it's for concept development. I came up with this myself, and while that doesnt mean much to most of you, it's the most complex thing i've created)
So as you can see, it's essentially RS-NOR latches strung together. It has 6 buttons, which will be in a random order, plus an 'open' button. If the 1st 6 buttons are pressed in the right order, upon pressing the 'open button', the door will open.
However, there is an added feature - the little thing at the back. If a button is pressed before the previous one is active, it sends a signal to the RS-NOR latch at the back, closing off the circuit. This does not reset until the final button is pressed. So if you press the wrong button to start with, then even if you get the combination correct, the door will not open for you. You need to first reset it by pressing the 'open' button, then re-input the code.
The only thing is, I need to account for double button presses. So if you press a button that has already been pressed, it will count as an incorrect button, thus disabling the door. I'm working on that at the moment, but if you have ideas on how to do it, let me know :smile.gif: that's the reason i came here... I need to figure that little bit out.
Please, dont link me to other locks like this, for example, grizzdale's order sensitive lock. This is something i'm hoping to do this way, as i just wont understand his version without spending hours looking at it :tongue.gif:
As a side note, instead of a door, i designed my own 2*2 piston door. I didn't look up any tutorials, or even see pictures of 2*2 doors, i just modified the design of a 2*1 door i had earlier. It is completely hidden, bar the 4 pistons on the wall, 2 each side. But they're just more hastle than they're worth hiding them. It's from the other side anyway...
(Interested? PM me)
(Interested? PM me)
I'd link you to some but you obviously wish to have no help what so ever regarding other designs =D
Oh wait I get your double button press problem. my mistake for reading wrong. I'm not so sure on your exact problem, as I only use that default order sensitive design that uses pistons
if you can give me another design that is explained well, i'm sure i'll get it :tongue.gif: but i currently have a monstrous, but working lock :biggrin.gif:LOL! ignoring the monostable circuit at the end for the door, it is currently 28*6*20 (x*y*z)
(Interested? PM me)