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.

Arduino powered hangman giftbox/lockbox

Step 5Assemble control box and battery box

Assemble control box and battery box
The battery box is the smaller box to the left of the control box, with the screws facing out so if the 9volt were to drain it could be changed without prying open the box!!!

(hot glue the battery box to the control box, drill a small hole between the 2 boxes for the 2 wires)

sorry for not having detailed pics but I forgot to take some during construction (gimme a break this is my first instructable)

the best way to do this is to cut 14 long pieces of wire (mine were arm length and just barely long enough) and label them on both ends with masking tape and marker as follows:

control box end of wire () ATmega328 end of wire
5v+ () 5v+
5v- () 5v-
9v+ () 9v+
9v- () 9v-
potentiometer () analog 3
button () digital 6
speaker () digital 5
LCD pin 4 () digital 12
LCD pin 5 () digital 11
LCD pin 6 () digital 2
LCD pin 11 () digital 7
LCD pin 12 () digital 8
LCD pin 13 () digital 9
LCD pin 14 () digital 10

install the components in the control box and solder all the labeled wires, solder the 5+ and 5- wires to ALL power and grounds!  (+ to pin 2 and 15 on LCD, to one lead on button, one lead on both potentiometers, and pos lead on led, - to neg led lead, neg potentiometer leads, and pin 1 and 16 on LCD)  dont forget to solder the smaller 10k pot to the lcd pin 3 for the contrast.  Solder the battery strap ground to the 9v- wire, positive from the battery to the main power switch, and from the switch to the 9v+ wire.  feed all 14 wires through a hole drilled in the lid of the box, dont screw the control box down yet, we will need to adjust the contrast on the lcd first, I hot glued the contrast pot to the inside of the control box as well as the speaker, and lcd.
« Previous StepDownload PDFView All StepsNext Step »

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!
0
Followers
1
Author:NOI7734