One-Touch Keypad Masher

 by Dan Lockton
Featured
0-2.jpg
Wasting valuable seconds typing in a code every time you need to open the door?

This little 'device' streamlines the process by pressing the right keys for you, and can be hidden in your palm so you simply mash your hand against the keypad and - apparently miraculously to anyone watching - unlock the door in one go.

Time to make: Less than 10 minutes
Time saved: About 30 seconds per day in my case; your mileage may vary.
Payback time: 20 days, in this case

Background: The research group I work in was moved to a new office. In the old place, I'd got used to an RFID card in my pocket allowing me to open the door just by leaning against the sensor, but the new office had a keypad on the door. It was going to use an extra 5-6 seconds every time I needed to get in the office!

There had to be a better way...
 
Remove these adsRemove these ads by Signing Up

Step 1: Combinations rather than permutations

0-3.jpg
Let's say the code given to us for the keypad was "C13259" (it wasn't, by the way, in case you're in west London and feel like trying).

First off, we realised that it was unnecessary to type the "C" (clear) at the start unless the previous person to try had entered the code wrongly. That cut maybe half a second off the time taken to enter the code.

But then we noticed something: the code had a sequence of digits ("132") that weren't in numerical order - yet when they were typed in numerical order ("123"), the door still opened. That is, this model of keypad is a combination lock rather than a permutation lock. It didn't matter what order you typed in the code, as long as you typed in all the digits that made it up. You could type "1-3-2-5-9" or "3-2-1-9-5" or "9-2-3-5-1" or any other arrangement.

The other crucial point was that these keys didn't have to be pressed separately - i.e. not only was there no requirement for the digits to be in the 'right' sequence, there was no requirement for there to be a sequence at all. Thinking about how a simple mechanical lock like this works, that ought to be obvious.

So, if we could press multiple keys at once, we could save a lot of time. If you angled your hand just right, it was just about possible to press all the keys required at once, but it was pretty awkward.

We really needed to make some kind of device which did that. But we couldn't just press all the keys, or press any wrong ones: whatever device we made needed to press only the right keys.

The simplest thing to do seemed to be to make something which, when held onto the keypad, pressed the right buttons.
AF-Geek says: Mar 5, 2009. 5:31 PM
Haven't you, technically, just created a key?
Eirinn in reply to AF-GeekApr 11, 2009. 8:14 AM
Yeah he did - an analogue to digital key of a sorts - neat idea
lukestanmore in reply to EirinnJun 8, 2012. 4:43 AM
It's not really analogue to digital, the lock is a very simple mechanical one, no electronics at all
place name here- says: May 20, 2009. 8:00 PM
dude why not make a mold of the key & cast a copy out of something sturdy & then it would be great. P.S. GREAT instructable.
Thoth says: Mar 5, 2009. 10:46 AM
Unfortunately, working for the gov't our keypad lock have buttons with LED displays on them and the number arrangement changes randomly every time you enter the code. Clever idea nonetheless.
casey321b in reply to ThothApr 21, 2009. 4:37 PM
smashing things with hammers always works... I bet it'll open the door to new opportunities... by that i mean you'll get fired and you'll have a new opportunity of picking out a job..
illdoyourdrugs says: Mar 18, 2009. 9:55 PM
Smart
Sandisk1duo says: Mar 5, 2009. 12:48 PM
cool!
rocketguy says: Mar 4, 2009. 9:28 AM
Nice! Only suggestion to make it even easier that I can think of is try using shapelock, which is oddly appropriately named for this application. You could either shape it by hand or just mold it over the lock, then fill in the divots corresponding to the keys to be pressed with more shapelock(you might need to heat gun it a bit to get it to stick). Disclaimer: I'm not affiliated with shapelock, I just buy the stuff and love it. It's basically moldable plastic, reuseable, and almost as handy as duct-tape. I thought of it immediately when I saw where you were going with this instructable. Regrettably, the locks I have to deal with are "cyberkeys", which have sequences you have to push in order. So I'm gonna go see about some solenoids...
Dan Lockton (author) in reply to rocketguyMar 4, 2009. 10:13 AM
Good idea! I have some Polymorph which I think is the same stuff as Shapelock - could certainly allow a quick mould of the keypad to be made!

There must be some clever roller-action device (player piano-esque) that could deal with pressing keys in sequence... or like you say, solenoids!
lemonie says: Mar 1, 2009. 11:47 AM
Great idea. I suppose some one will change the combination to annoy you? L
jedi pen-gui-n in reply to lemonieMar 3, 2009. 6:39 AM
then you just hack it again to annoy them.
caitlinsdad in reply to lemonieMar 1, 2009. 6:43 PM
>replaces all locks with biometric locks and puts certain lock company out of business<
Eirinn in reply to caitlinsdadApr 11, 2009. 8:17 AM
Even the best biometric fingerprint lock to date can be hacked open with a little bit of preparation :)
Noodle god says: Mar 1, 2009. 10:02 PM
Lol I've seen those locks alot, now I know how open them! Cilk some of the keys once I did that if its wrong press C first! Thanks now I can "picklock"!
Dan Lockton (author) in reply to Noodle godMar 2, 2009. 2:54 AM
To be fair none of the above actually lets you pick the lock!
There are still 1,287 combinations you'd need to try, i.e. from 13 choose 5:

Combinations = n! / (r! (n-r)! ) = 13! / (5! 8!) = (6.227E9) / (120 x 40,320) = 1,287

- assuming the correct code has 5 digits and you can't repeat any digits. With these locks the code can be set to between 4 and 7 digits I think, though I might be wrong.

So I guess it would depend how long you're willing to stand there trying all the combinations before someone notices! Much more secure keypad locks are available - e.g. if the order of the digits was important (i.e. a permutation lock) there would be 154,440 permutations to try...
CyberBill in reply to Dan LocktonMar 2, 2009. 4:53 PM
Are the 3 other letters (X, Y, Z) valid options for the lock? Or is it 0-9? Even a binary number (each key is either on-or-off) with 10 digits is only 1024 options... If there is a restriction that the key must be a certain length, like 5 digits, that actually REDUCES the complexity of the code in this case, 5 must be off, 5 must be on. If that was the case, then there are only 252 different options, and I would bet that most people would do like the posters example, and choose either the left or right item going down the row, making those 32 values much more likely. 32 combos could be pushed in a couple of minutes.... Wow, this lock is INSECURE. Also.. just a helpful hint: Typing "13 choose 5" in Google returns 1287. Those guys are amazing!! :)
louieaw in reply to Dan LocktonMar 2, 2009. 10:36 AM
and if you chose 6
13C5

13! / 6! (13-6)

13 x12x11x10x9x8x7x6! 13x12x11x10x9x8 1235520
= = =

6! x 7x6x5x4x3x2 6x5x4x3x2 720

1716 combinations. (7 would also be 1716)
louieaw in reply to louieawMar 2, 2009. 10:37 AM
my division signs got cut out. but the point is that there are 1716 combinations if you choose 6 or 7 good work Dan Lockton
maddog10_20 says: Mar 2, 2009. 12:47 PM
Dude, That is so awesome! If I ever work someplace with a lock like that, this is the first thing I'm going to try. Thanks for the awesome 'ible!
omnibot says: Mar 1, 2009. 9:48 PM
OMG! That is such a lame lock. Good ible.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!