Minecraft Maps / Redstone Device

Compact programmable combination lock

  • 944 views, 1 today
  • 100 downloads, 0 today
  • 5
  • 1
  • 1
fibonatic's Avatar fibonatic
Level 41 : Master Electrician
31
This is my recent design of my programmable combination lock. The input consist of 15 numbers/colours, a set, enter and reset. The input (and correct code) can vary from zero to five digits long. This leads to 813616 (=15^0+15^1+15^2+15^3+15^4+15^5) different combinations. When entering a code you do have to wait till the previous button has extended again, otherwise the previous input might get mixed up and the newly pressed input will not be recognised.

The total size of the design equals: 33W x 21L x 20H
The main redstone components are RAM, counter and comparator. The RAM consist of five times 5 bit RAM (4 bit contain the input information, from 0001 to 1111 binary and the fifth tells whether this position is being used). The counter will control which 5 bit is outputted from the RAM. The output will be inputted in the the comparator, which consist of four parallel XOR gates, from which all the outputs are linked together and will only be low when both inputs from the XOR gates are equal to each other.

There is one flaw in my design. Because when a new code is entered the RAM does not get cleared. So if a shorter code is programmed, the digits after it will remain the same and there fore an entered code will remain correct when the new correct code is entered followed by any amount of the remaining digits of the previous code. For example at the end of the video the code: "Gray Lime Cyan White Magenta" will also be correct.

I also give credit to some people of the RDF, because I saw I video of them a while back, which gave me the inspiration for the RAM and the shared wire for the indication lights. But I can not find it back.
Progress100% complete
Tags

1 Update Logs

Update #1 : by fibonatic 05/20/2012 9:51:58 amMay 20th, 2012

Fixed the one flaw I know of. Now every time you press reset when the set is high (or for the first time you press set) the RAM will be cleared.
But a new small flaw came up with it. Because after you press reset there is a small window of time in which you can press the digit of the code which will trigger the counter but not the RAM.

Create an account or sign in to comment.

1
09/21/2012 2:10 pm
Level 1 : New Crafter
jmking80
jmking80's Avatar
i am amazed by this and how you make it look like one whole and not just a bunch of components thrown together
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome