3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Nintendo Keyless Entry System

Nintendo Keyless Entry System
«
  • 4.jpg
  • 3.jpg
  • 5.jpg
  • open.jpg
Use a Classic Nintendo controller to lock and unlock your door! The output from the Controller is read by an arduino and it looks for a particular combination of buttons, once the combination is entered it sends a signal to eject a Cd-Rom Drive which pushes or pulls the lock. I started making this project like I always do; with what I have on hand. So if you have the same stuff lying around it can be assembled for very little cost.



Once activated NoKES (NintendO Keyless Entry System) will be blinking letting you know that it is alert and keeping guard. Once the Start button is pressed on the controller, the arduino starts recording what buttons are pressed, converts them into a number and adds them together. When you press Start + Select the Arduino compares that number to the combination that you have set.

If you enter an Incorrect combination the arduino activates an attached circuit and plays a sound. It then sends a serial signal to processing and snaps a picture with an attached Webcam (so if someone is messing with your lock you have a picture of them).

If you enter a correct combination the arduino sends a signal to the cd-rom to eject and thus will lock or unlock the door. Upon a correct combination a signal is also sent to processing which plays a sound.

When idle NoKES will "listen" for vibrations with a peizo element that is attached to the door. If someone knocks on the door the vibration is sensed and a signal is sent to the Processing sketch. The Processing sketch will take another picture letting you know who stopped by. NoKES is constructed to be independent from processing in the sense that if you don't have your arduino connected to a computer it will work on its own, you just won't get the pictures or a confirmation sound when a correct combination is entered.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts List

Parts List
Main Components:

-Arduino

-Cd-Rom Drive
(this is a great way to re-purpose a dead Cd-Rom as long as it will open and close)

-Classic Nintendo Controller

-Opto-isolator(s)
(mouser P/N: 782-H11A2782-H11A2 or similar)

-Male Molex power connector

-Green and Red Led

Optional Parts:
WebCam
Piezoelectric element
Speaker
something electronic that makes a sound when you press a button
I used a circuit that was in a dinosaur pillow.

Other stuff you will/may need:
wires
solder / solder iron
pcb project board or breadboard
USB cable(s)
2 AA batteries
9V battery
electric tape

Software:
-NoKES_source.zip

« Previous StepDownload PDFView All StepsNext Step »
59 comments
1-40 of 59next »
Sep 29, 2009. 11:38 AMmspearin says:
Where is the best place to buy an Arduino online?? Cheap?
Mar 20, 2012. 3:55 PMGASSYPOOTS says:
radio shack
Dec 28, 2010. 5:14 AMdnicky2288 says:
Amazon
Jul 25, 2011. 6:43 AMElectronics Man says:
Awsome!!!
Jan 6, 2011. 3:37 PMCrimson-Deity says:
Is there a way to send the bytes another way? Since I don't have a NES controller i'd really like to just use buttons insted!

Is this possible?
Jun 13, 2010. 10:08 PMmooser11 says:
ummmmmm. how would you physically get through the door way if there are wires and strings in the way
Jul 12, 2009. 8:53 AMSteve121 says:
Can you use the Nokes without connecting to the computer ?
Jan 25, 2010. 12:50 PMPaul Smith says:
Get a Wave Shield
Jan 13, 2010. 8:47 PMMdob says:
Hello, I am having some troubles getting the knock sensor to work.  I have written a program to output the piezo value but it still just returns 0.  I am sure that the piezo works.  I just want to make sure that it is analog pin 4 that the piezo goes in (i have checked others but they return unchanging numbers but pin 4 is the only one outputting 0).  I apologize if this is a stupid question.

Thank you.
MDob
Aug 20, 2009. 9:11 AMchildB says:
I just used a relay instead of the whole junk with the optoisolator...
Aug 8, 2009. 6:14 PMstephenniall says:
gonna do this with a key switch *momentary* soldered up to the Switch on the cd drive with 4 lil bolt things and one big one and if i can get working a pc wired up to the cd drive so when i scan a barcode it tells the pc to open the drive
Jul 9, 2009. 12:12 PMMadrias357 says:
But technically, all I would have to do is quietly push on the drive door and it auto-unlocks.
Jun 28, 2009. 8:09 PMcafriend says:
This is begging for the Konami code. =]
Jun 9, 2009. 2:45 PMKuhan says:
awww... if it read order, it would be UUDDLRLRBA
Dec 15, 2008. 6:28 PMpikaj00 says:
hey everyone, im going to atempt this project but i had a few questions, what are the specs of th opto-solaters because that part number doesnt exist on mouser. and what are the spec of the male molex power connector. im sorry if im new but but is it eg. 9 pin to 9pin male to male or male to female. thanks for anyhelp.
May 22, 2009. 10:30 PMDerin says:
If you get the molex from a PSU,be sure to get the 6 pin DIP on the mainboard.It's an optocoupler as well.
May 14, 2009. 10:24 AMkrizzit says:
Hey, This is a really cool project :P I was wondering if it was possible to just use a lap top instead of the Arduino? and what changes would be required. Im sure all you would have to do is plug and play but i could be wrong.
Apr 11, 2009. 12:36 PMPhetra says:
I really interesting about this. But it seem like very blank to me. I have very little knowledge about this device, would you please detail about WinVDIG, NoKES_Comrade Sketch and Arduino? thanks///
Jan 24, 2009. 7:39 PMLithium Rain says:
Maybe I'm missing something, but is this inside or outside of the room you are protecting? Because if it is outside it seems like it could be very easily circumvented by just snapping the wire that connects it to the CD tray. Although I guess with that lock, it's really just to deter the honest/lazy people, as the saying goes. :D It's very very cool though. 5 stars and faved!
Apr 4, 2009. 1:40 PMgrundisimo says:
just run it under the door although if someone was mean enough they could disconect the controller and push the connection back under the door and make it impossible to get in without a door ram
Jan 27, 2009. 2:54 PMLithium Rain says:
I see. Still a really great project. :D
Feb 16, 2009. 8:15 PMthe_burrito_master says:
wow lol that's so cool the coolest part is the nes controller!
Feb 7, 2009. 8:31 PMcomputer_guy says:
can i use a gamecube comtroler or any at all?
Jan 14, 2009. 10:35 AMDavidRobertson says:
In step 2, do you mean hardware or software not firmware or software? Because firmware is software.
Jan 7, 2009. 1:48 PMskinzy says:
Love it!!!! Where is that initial sound from?
Jan 12, 2009. 6:47 PMskinzy says:
OK, Where the heck can I get that? Do you have a copy you can post? I've looked and looked and now I have blisters on my fingers from googling... :-)
Dec 15, 2008. 3:06 PMrpprdud says:
OMG!!! This is SSSSOOOOO Amazing!!!!!!!! I had a little problem telling that the CD drive was on the wall not the door though! Could you please say that in the details. But GENIUS IDEA THOUGH! THANKS FOR THINKING IT UP!!!!
Dec 12, 2008. 7:33 AMMatthewMetcalf says:
Can you take the controller with you when you leave, then plug it into the door? If so I would think that would make it 10 times more secure, because people would have no ideal what they needed to plug in to the door to open it.
Dec 11, 2008. 8:39 PMalex-sharetskiy says:
Awesome! what's teh name of the song in the video?
Dec 11, 2008. 9:34 PMax89 says:
Nice idea, with good stuff for failed attempts (photo). Kinda clumsy having to push START though. Should be able to just enter any numbers - any number press after a delay of 3 secs (or whatever) should start a new sequence. If the locking thing was reversed so the movable part of the lock was mounted on the door, then the CD tray would be less exposed to damage when it is in the open position. Or maybe add a sensor so if the door is opened the tray retracts (even more cool!). Great idea and nice implementation too!
1-40 of 59next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
39
Followers
4
Author:action_owl