This is a very compact symmetrical array that easily expands to accomodate more buttons or a longer pin. Code must be entered in order of course. Any wrong number resets everything.

Too bulky for my taste but good job I am about to try and learn redstone wire computing again

I don't get you guys. Bulky compared to what? Compared to four levers that have to be adjusted right? That's nothing. This is a six digit pin that has to be entered in the correct order. Some math wiz help me out with the probabilities. But it's very secure. You give me a lock with that security in a smaller package and I'll eat my hat.

Ok, I suck at probabilities, but I think this is right:

1in 4 chance of getting the first number right, 1 in 4 for second and so on... so Â¼xÂ¼xÂ¼xÂ¼xÂ¼xÂ¼= 1/4096 for six digits. ...I think.

Lever lock would be, Â½xÂ½xÂ½xÂ½=1/16.

Did I do that right? If so... 1/4096 > 1/16

Or were you referring to some other kind of lock.

BTW if I am doing that right, my 6 button (3 digit PIN) combo lock would be 1/216. Yuck. But my 9 button (4 digit PIN) would be 1/6561. Not to shabby but a lot larger.

Wouldn't 4 buttons make a 16 digit combination lock?

Private Mod Note
():

Rollback Post to RevisionRollBack

"I disapprove of what you say, but I will defend to the death your right to say it."
- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

"I disapprove of what you say, but I will defend to the death your right to say it."
- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

Think he is correct about the 16 settings.(2(States per button)^4(Buttons)=16). You also calulate possibilities for numeric or alphabetic passwords this way...

exept... the order also counts here :smile.gif:
So it's 1 in 4 (1/4) chance per 'digit' to guess it right
Which means the amount of combinations is (1/4)^n where n is the amount of digits

It's a 2 digit lock, because there are 16 possible combinations.

With combinations ranging from binary 0 to binary 15

Private Mod Note
():

Rollback Post to RevisionRollBack

"I disapprove of what you say, but I will defend to the death your right to say it."
- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

What the hell are you talking about. Forgive my frustration but, there aren't 16 "settings". Four levers, yes, there are 16 possible ways to set up the levers. These are buttons, with a SIX DIGIT PIN! /rant.

exept... the order also counts here :smile.gif:
So it's 1 in 4 (1/4) chance per 'digit' to guess it right
Which means the amount of combinations is (1/4)^n where n is the amount of digits

So, are you saying I was right? Math! Head! Hurts! So it's one chance in 4,096 not one in sixteen like Flower keeps saying...

How do you get more than 16 possible combinations with 4 inputs?

Private Mod Note
():

Rollback Post to RevisionRollBack

"I disapprove of what you say, but I will defend to the death your right to say it."
- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

So you're good at redstone wiring, but you're not a big fan of math........ interesting.

@OP: I think this is an amazing design. I never knew you could do something so complex with redstone as to create buttons that can not only have certain inputs be "saved in a memory", but to also have it reset if the code was incorrect. And honestly, if I were to try and imagine a system like this, I would have thought that it would be required to be much larger. It's unfortunate that it isn't possible to make it smaller, because I doubt most people would want to have this huge lump sticking out of their house. None the less, a truly amazing build. I seriously need to learn about redstone wiring, cuz it seems like you can do just about anything with it.

MCEdit Schematic: http://www.mediafire.com/?74ezyyi56z6ieo3

Video Demonstration:

Step by Step Tutorial:

xNightmareGot something better? Let's see it.

I don't get you guys. Bulky compared to what? Compared to four levers that have to be adjusted right? That's nothing. This is a six digit pin that has to be entered in the correct order. Some math wiz help me out with the probabilities. But it's very secure. You give me a lock with that security in a smaller package and I'll eat my hat.

Ok, I suck at probabilities, but I think this is right:

1in 4 chance of getting the first number right, 1 in 4 for second and so on... so Â¼xÂ¼xÂ¼xÂ¼xÂ¼xÂ¼= 1/4096 for six digits. ...I think.

Lever lock would be, Â½xÂ½xÂ½xÂ½=1/16.

Did I do that right? If so... 1/4096 > 1/16

Or were you referring to some other kind of lock.

BTW if I am doing that right, my 6 button (3 digit PIN) combo lock would be 1/216. Yuck. But my 9 button (4 digit PIN) would be 1/6561. Not to shabby but a lot larger.

This is about as compact as it gets

- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

Security?

1- Hold mouse button on door

2- Wait for door to disappear

3- Entry

PINs be damned!

OT: This is a very compact system, considering what it is. Well done. :smile.gif:

Not sure what you mean but my system is expandable so that you could have a 16 digit PIN.

- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

It's a 2 digit lock, because there are 16 possible combinations.

With combinations ranging from binary 0 to binary 15

- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

So, are you saying I was right? Math! Head! Hurts! So it's one chance in 4,096 not one in sixteen like Flower keeps saying...

- Beatrice Hall (Yes, her. Not Voltair, look it up and stop bothering me about it.)

Because you can press buttons more than once. Have you ever seen a keypad lock in your life? It's like that.