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.
Step 1: Parts List
(this is a great way to re-purpose a dead Cd-Rom as long as it will open and close)
-Classic Nintendo Controller
(mouser P/N: 782-H11A2782-H11A2 or similar)
-Male Molex power connector
-Green and Red Led
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:
solder / solder iron
pcb project board or breadboard
2 AA batteries