Arduino powered hangman giftbox/lockbox

Arduino powered hangman giftbox/lockbox
«
  • IMG00002.jpg
  • IMG00001.jpg
  • IMG00021.jpg
  • IMG00022.jpg
  • IMG00023.jpg
  • IMG00024.jpg
  • IMG00025.jpg
  • IMG00033.jpg
  • IMG00041.jpg
  • IMG00046.jpg
  • IMG00005.jpg
  • last photo ←
»
 A medium sized box that requires the user to succeed in a game of hang man in order to gain access to the contents of the box.  Great gift Idea!!!

my Arduino sketch will be included in this instructible

sorry for the poor quality pictures!
and keep in mind this is my first instructable,
and I forgot to take pictures of the build in process,
all of these pics are from the completed project.

If you have any questions send me an email and I will get back to you asap, NOI7734@gmail.com

Note:
I "borrowed" a lot of code from Dan Wagoner over at www.nerdybynature.com, you can find his "hangmamduino" project there as well, and Dan Wagoner if you somehow stumble upon this "ible", thanks for sharing your code, also I would recommend getting a copy of the "truerandom" library and incorporate that into your code as I did, as the native random function is "psuedorandam".
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts

Parts
I am not supplying instruction for the servo lock construction as the parts I used may not be easy to find, its ok just look at the pics below and you will devise something probably a lot better and cleaner ;-)

Parts needed:
1 - wooden box
1 - Arduino board with atmega 328
1 - 16x2 LCD display (get a good price at adafruit.com)
2 - 10k potentiometer (if you got your LCD from adafruit it comes with 1 so you only need 1)
1 - knob for potentiometer
2 - normally open momentary contact switch (button)
1 - servo
2 - 10k resistors
1 - speaker
1 - main power switch
1 - LED with built in mount and resistor
2 - plastic project boxes
1 - 9volt battery and battery strap
lots of wire and solder/soldering iron
parts to make the mechanical lock(I used random hardware I had laying around, see pic)
hot glue gun
dremel tool and drill

If you are going to take the atmega328 out of the arduino board to use the board with other projects later you will also need:

1 - piece of printed circuit board (PCB) or perf board
1 - atmega328
1 - 28 pin MCU socket
1 - 16mhz crystal
2 - 22pf capacitors
1 - 5 volt regulator
1 - 10nf capacitor
1 - 22uf capacitor (use radial lead not axial lead, non-polarized will not work)


« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jun 17, 2010. 6:50 AMdanwagoner says:
It's always nice to see someone "borrow" code. Thanks for the credit...and the random library tip. When I was writing the code I never guessed someone would use it for a lock. Hopefully you also included more words in the dictionary. :)

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