Step 8Assembling The Case
#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 Step | Download PDFView All Steps | Next Step » |























































Just use a 9v plug adapter and plug the red wire into the Vin and the black into Gnd on the Arduino.
Make your own with a 2.1mm barrel connector. (I think you can find these at Radio Shack.) (The 2.1mm is the diameter of the inside plug.) Be sure to connect the center pin to the positive lead from the battery.