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.

Secret Knock Detecting Door Lock

Step 8Assembling The Case

Assembling The Case
«
  • knock_lock_assembly_1.jpg
  • knock_lock_assembly_2.jpg
  • knock_lock_assembly_3.jpg
  • knock_lock_assembly_4.jpg
  • knock_lock_assembly_5.jpg
  • knock_lock_assembly_6.jpg
  • knock_lock_assembly_7.jpg
  • knock_lock_assembly_8.jpg
  • last photo ←
»
All of your components should be in place and the circuit should be working.  We're almost there, all we have to do is cram all that wire and the circuits into the pipe.

#1 Getting the wires to the correct side
.
If you had the wires connected to the Arduino, unplug them.

The wire to Analog 0 and to Ground and +5v will come out of the Board Arm, so we don't do anything with those yet. 

The other wires to Digital 2,3,4 and 5 thread through the 5-way to where the Short Arm will go.

#2: The Short Arm
Speaking of the short arm...  Pull the wires for Digital 2,3,4 and 5 through the hole in the middle of the Short Arm pipe.

#3: The Long Arm.
The long arm has the LEDs and the sensor in it.  Using needle nose pliers, (or a bit of coat hanger with a small hook on the end, or a crochet hook) pull up the slack on these wires as you plug it into the 5-way. 

#4 The circuit board.
The circuit board should be the first part put in place inside the pipe for the Board Arm. Thread the wires for Ground, +5v and, Analog 0  through the small hole on top of the arm. 

Now make a tight bundle of the wires around the circuit board putting even pressure on it, being careful not to bend, break or spindle the thing.  Gently slide it into the Board Arm.  If you have a lot of extra wire lengths you might want to push it out the far side about half an inch so there's more room for wire on the inside.

When it's in place, plug this short arm into the 5-way. 

#5 The Motor.
The motor should already be in place in the bottom of the 5-way.  But if it's not nows the time to put it there.

#6: The Button.
The button should also be in place, but if not, put it in.  If you have a bunch of extra wire getting jammed up inside the 5-way, you can try pulling some of it (gently!) to the button side of the 5-way since it doesn't take up much space.

#7: The legs and suction cups.
The arms should all be plugged in.  Attach 90" turns to the ends of the 3 arms, and plug the legs in to the other end.

Suction cups should fit snug into the bottom of the legs.  If not, some hot glue will get them into shape.

(If you're not using suction cups then this is where you use your alternate solution.)

#8: The Arduino and battery
Yes, this is ugly as sin.  I works, but... yeah.  If you come up with anything better, you're welcome to it.

Stick the Arduino onto the top of the frame.  I used lengths of insulated wire.  It worked...

Attach the battery in a similar way somewhere where it can power the Arduino.  Again, I used insulated solid core wires.  At one point I used rubber bands which also worked just fine.

Tape?  Yes, that would work too.

Plug in the wires in where they labels say they should go.  Might as well test again it since it's all hooked up.

Whew!  Now we're ready to attach it to the door!

« Previous StepDownload PDFView All StepsNext Step »
2 comments
Mar 12, 2011. 9:24 PMPutrid says:
What did you use to go from the 9V battery to the 9V in plug on the Arduino? More specifically, what is the connector piece called that you used to go from the +/- of the 9V to the power input?

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!
187
Followers
14
Author:Grathio(Grathio Labs)
Creative swashbuckler. Writer for MAKE Magazine, presenter of inventions on TV, radio, magazines and newspapers. Professional problem solver. Annoyingly curious. Hacker of all things from computers ...
more »