Compact programmable combination lock
376Views, 2 today
- 74Downloads, 0 today
Get Embed Code
Level 33 : Artisan Electrician
Posted 05/19/12 7:24:53 pm , last updated: 05/20/12 9:51:58 am
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.
|Tags:||Lock, Combination, RAM, Counter, Comparator, Programmable, Redstone Device|
Update #1 : 05/20/2012 9:51:58 am5/20/12
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.
Join us to post comments.