Through use of the Repeater Locks from the new update, I have made the most compact combination lock that I have seen, not by a small amount. Depending on the combination, its entirety is between (2d+1)*4*4 and (2d+1)*8*4 (more on why the depth varies in the "Setting the Combination" section), where b is the number of digits in the combination. The instructions to build it is below. Thanks to SquirtDude for creating a video!
Individual Modules:
This is almost all you will need for each digit in the combination. For every digit you have, there will be one of these in a line. When tiling, the Redstone Wires on the different modules should connect. The block at the top of the image is a Sticky Piston. The Blue Wool Block is the input.The top torch and Note Block are not necessary for the design's function, but are there for convenience.
For the first digit in the combination, you will need to make a small adjustment to the above design. Simply place a Redstone Repeater pointing away from the redstone line and under the block that holds the 3-tick Repeater and a Redstone Wire connected to the Repeater.
Assembly:
This is what the modules should look like when combined into a four-digit array. The output of the Combination Lock is the output of the final Repeater in its locked setting.
Layered Tutorial:
Below are the layers of a 7-digit combination lock. First Layer: This layer has a line of 14 blocks, with Torches on every other block, which power Repeaters that lock more Repeaters. The Redstone Lamp is the output.
Second Layer: This layer consists only of building blocks, which are arranged in a two-by-seven rectangle with one block of air between two adjacent blocks, and redstone that is placed on top of the building blocks placed in layer 1.
Third Layer: In order to show the Button inputs, this layer image is upside-down with resect to the above two. In this layer, there are seven rows, with one block of air in between, of Buttons, building blocks, Repeaters, building blocks, and Pistons. The Repeaters are on their third delay setting.
Setting the Combination:
You may have noticed that the instructions above only detail how to set the combination to (1-2-3-4); however, numerous other combinations are possible. To set a different combination, such as (1-4-2-3), simply wire your button number to the order in which it appears. For the example (1-4-2-3), Button #1 would be wired to Module #1, Button #4 would be wired to Module #2, Button #2 would be wired to Module #3, and Button #3 would be wired to Module 4.
This process can work where one button appears multiple times in a combination: simply wire it to both applicable modules. This process can take anywhere from zero to four blocks, hence the depth variation.
Comments? Questions? Criticisms? I'm all ears eyes!
If the combination is hard wired then there is no need for pistons. Although it does make for a small build though Good job
I'm not sure what you mean when you say there is no need for pistons...
It seems like pistons are essential to the design, and that the design wouldn't function without them unless its entire concept is completely redone.
I can't seem to figure out what that repeater with the bedrock-looking bar on it is. Am I missing something?
That is the new (1.4...whatever it is) locking repeater. It switches to a locked state when another repeater pointing at it on the perpendicular axis is powered.
Rollback Post to RevisionRollBack
http://www.youtube.com/user/aethertech If you have a redstone question - don't be afraid to ask it. If you are to afraid to ask it on the forums, send me a private message.
Your redstone lock doesnt seem to be working again. When I try to hit the second button in my combination (1-2-3-4), it resets the combination. Any ideas to fix it?
Your redstone lock doesnt seem to be working again. When I try to hit the second button in my combination (1-2-3-4), it resets the combination. Any ideas to fix it?
The only thing I can think of is that you haven't attached the inputs in the correct order. Make sure to check the "Setting the Combination" Spoiler.
What are the dimensions? I want to know if it beats mine.
"Depending on the combination, its entirety is between (2d+1)*4*4 and (2d+1)*8*4 (more on why the depth varies in the "Setting the Combination" section), where b is the number of digits in the combination." ~First Post
Individual Modules:
For the first digit in the combination, you will need to make a small adjustment to the above design. Simply place a Redstone Repeater pointing away from the redstone line and under the block that holds the 3-tick Repeater and a Redstone Wire connected to the Repeater.
Assembly:
Layered Tutorial:
First Layer: This layer has a line of 14 blocks, with Torches on every other block, which power Repeaters that lock more Repeaters. The Redstone Lamp is the output.
Second Layer: This layer consists only of building blocks, which are arranged in a two-by-seven rectangle with one block of air between two adjacent blocks, and redstone that is placed on top of the building blocks placed in layer 1.
Third Layer: In order to show the Button inputs, this layer image is upside-down with resect to the above two. In this layer, there are seven rows, with one block of air in between, of Buttons, building blocks, Repeaters, building blocks, and Pistons. The Repeaters are on their third delay setting.
Setting the Combination:
This process can work where one button appears multiple times in a combination: simply wire it to both applicable modules. This process can take anywhere from zero to four blocks, hence the depth variation.
Comments? Questions? Criticisms? I'm all
earseyes!I'm not sure what you mean when you say there is no need for pistons...
It seems like pistons are essential to the design, and that the design wouldn't function without them unless its entire concept is completely redone.
I cannot make a video, but I added a layer-by-layer tutorial in the first post, so that should make it easier to build.
Thanks! Also got 9-digit working.
That is the new (1.4...whatever it is) locking repeater. It switches to a locked state when another repeater pointing at it on the perpendicular axis is powered.
If you have a redstone question - don't be afraid to ask it. If you are to afraid to ask it on the forums, send me a private message.
The only thing I can think of is that you haven't attached the inputs in the correct order. Make sure to check the "Setting the Combination" Spoiler.
"Depending on the combination, its entirety is between (2d+1)*4*4 and (2d+1)*8*4 (more on why the depth varies in the "Setting the Combination" section), where b is the number of digits in the combination."
~First Post
Been playing Minecraft for too long.