loading
My friend and i built this prop for airsoft/paintball matches.  Its sort of like capture the flag only disarm the "bomb".
How it works is there is a predetermined time limit (which u can change in the code) and the opposing team has that much time to find the code and the bomb and disarm it.  How they find the code is up to you... capture a person? sure!  Find it hidden somewhere? sure! or whatever!  When the bomb is turned on it asks for a code and you can enter in any four number combo and that is the disarm code for that round.  If the person puts in the wrong code it will add 1min 30sec to the time when the time runs out? BOOM! well thats what it says on the screen and it makes a funky noise = ]  This is version 1.0 hopefully in the future we will add wires to unplug to disarm it and some other neat things but for now this is perfect and works well for what we want!  I hope you enjoy the instructable!

Step 1: Supplies

You will need the following electronic components:

1 Arduino                          (We use duemilanove and you can buy these everywhere online)
1 Arduino Proto-Shield  (or if you want just a breadboard or protoboard)
1 LCD Screen 16x2       ( we used this one from sparkfun! http://www.sparkfun.com/products/255)
1 Numeric KeyPad        ( we used another one from sparkfun! http://www.sparkfun.com/products/8653)
1 Potentiometer             ( we used a 50k i believe! bought from raidoshack awhile ago)
1 8Ohm Speaker           ( tore one out of an old toy, but you can find them EVERYWHERE!)
1 Green LED 
1 Red LED
4 1k Ohm resistors

Other Materials:

Some sort of case ( we found ours at a thrift store but i think they sell them at walmart)
a chunk of wood   ( this is to bring the arduino off of the bottom of the case and up towards the top)
Screws                    (to attach the arduino to the chunk of wood)
Heat shrink tubing

Tools you'll need:

Soldering Iron
Solder
Wire     (we used alot of old computer cable so it would stay kinda together)
Wire Cutters
Hot Glue Gun
Hot Glue
Saw
Dremel
Screw driver



Advertisement

hello, what battery powers the project?
<p>Hi, is the need to have Arduino Proto-Shield, breadboard or protoboard? Thank you for answer</p>
<p>k =(-} A=(+) at the displai 1 at - and 2 at +</p>
<p>Can I use instead of the Arduino http://www.ebay.com/itm/Starter-Kit-for-arduino-Uno-R3-Breadboard-Jumper-Wires-9V-Battery-Connector-/171533172142?pt=LH_DefaultDomain_0&amp;hash=item27f02c7dae ?</p>
<p>hi, there is way how to make defusable with wires cutting?</p>
<p>He says he might put pull out wires inside for defusing. </p><p>I am not even a novice in electronics so I don't know if this is possible but if I could I would ... have 3-8 wires of different colours connected to the circuit and have it set a random wire as the defusing wire (preferably in conjunction with a keypad+LCD) so that when you carefully pull it out it &quot;diffuses&quot; the bomb. This will allow the people with the bomb a chance to win in the last few seconds even though they don't have the code but a low enough chance that its not normally worth it early on. </p><p>To have cutting wires it would be the same just with wires screwed in on both sides for easy restocking but this does mean wasted wire which is kinda pointless for a game.</p>
i dont know what an &quot;arduino&quot; is :/ <br>
<p>Here i can show you:</p><p>http://lmgtfy.com/?q=Arduino</p>
http://en.wikipedia.org/wiki/Arduino<br>also more information at<br>www.arduino.cc<br>its basically a tiny computer<br>
Hello, <br>the code does not make me see the time, why? <br>Can you give me a hand? Thank you!
<p>Here. I can give you my hand.... :)</p>
<p>same error as black engel, too bad you cannot respond to solve this</p>
<p>can you please check your in mails ?</p>
After nearly 4 hours of rewriting the code, I made it work, and added a few improvements, like making the timer count down, instead of up, which I think looks better for a bomb scenario, I plan on releasing the code once I've rewritten everything.
this is awsome good joj
This is exactly what i've been looking for!! exactly for the same reason too. but...anyway to do this using a duel 7 segment display instead of the lcd screen? <br>just want the red led to signify wrong code and green to signify the correct code.
You could do this with a 7 segment fairly easily, and changing the code to just do red as wrong and green as good will be extremely easy. <br>on the arduino.cc website there is a good section on controlling 7 segments
Hello everybody,<br><br>First of all I've got to say that I've never used Arduino, but I'm very interested in this aprticular project, because I'm an airsoft player and I've been looking for a timed bomb for a long time.<br><br>Well, then is time for my question: Could it be posible to use this to activate a relay? (Which in turn, activates a piezo siren) <br><br>If it is possible, could someone help me with the code? I'm totally green in programming.<br><br><br>Thanks and sorry for my poor English.<br>
Hey Fixerized,<br> Thanks for your interest in the project. There is no reason i can see that you couldn't use a relay with this project. That said I dont believe it will be a problem of coding, but rather a Hardware problem. Here are a few sites and other instructables that might be helpful. <br>http://www.instructables.com/id/Connecting-a-12V-Relay-to-Arduino/<br>http://www.instructables.com/id/Arduino-Controlled-Relay-Box/<br>http://www.sparkfun.com/tutorials/119<br>let me know if you have more questions.
Thanks for the help,<br><br>AFAIK, I should get a digital pin to high level when i want the relay to activate, this is easy.<br><br>The problem comes when we get to the programming part... I don't know what should I change in the code to activate the relay instead of emitting the tone.<br><br>Oh, and I don't understand something... What does the potentiotemeter do?<br><br>Lot of thanks!
I think you keep the code the same, it will play the tune through the speaker the same. I think you just need the power supply for the speaker.... (because it'll be greater than 5 volts i'd imagine) The potentiometer is to adjust the brightness of the lcd screen.
I will use some batteries for the horn, and that's why I wanted to use the relay, It allows me to use some &quot;heavy&quot; sound parts haha <br> <br>And I was kinda sleepy that day, the use of of the pot was clear... xDD <br> <br>I could tell you when I finish it, if you want ;) <br> <br>And thanks again! <br> <br>
Hello,<br>i need HELP please :(<br><br>the code have more errors:<br><br>sketch_jan12a.cpp:6:46: error: Keypad.h: No such file or directory<br>sketch_jan12a.cpp:7:18: error: Tone.h: No such file or directory<br>sketch_jan12a:8: error: 'Tone' does not name a type<br>sketch_jan12a:16: error: 'LiquidCrystal' does not name a type<br>sketch_jan12a:18: error: expected unqualified-id before '{' token<br>sketch_jan12a:18: error: expected unqualified-id before ',' token<br>sketch_jan12a:18: error: expected unqualified-id before '{' token<br>sketch_jan12a:18: error: expected unqualified-id before ',' token<br>sketch_jan12a:19: error: expected unqualified-id before '{' token<br>sketch_jan12a:19: error: expected unqualified-id before ',' token<br>sketch_jan12a:19: error: expected unqualified-id before '{' token<br>sketch_jan12a:20: error: expected declaration before '}' token<br><br>can you help me please? <br><br>
it looks like you dont have the libraries for downloaded for the keypad or tones<br>you can get them from www.arduino.cc
Hello,<br><br>thank you for the help.<br><br>I have download the keypad and tone file from www.arduino.cc<br>Now i have only this errors.<br><br>sketch_jan14a.pde:-1: error: expected unqualified-id before '{' token<br>sketch_jan14a.pde:-1: error: expected unqualified-id before ',' token<br>sketch_jan14a.pde:-1: error: expected unqualified-id before '{' token<br>sketch_jan14a.pde:-1: error: expected unqualified-id before ',' token<br>sketch_jan14a.pde:-1: error: expected unqualified-id before '{' token<br>sketch_jan14a.pde:-1: error: expected unqualified-id before ',' token<br>sketch_jan14a.pde:-1: error: expected unqualified-id before '{' token<br>sketch_jan14a.pde:-1: error: expected declaration before '}' token<br><br>Can you help me please?
And would you be willing to build one of these, then sell it?
What's the overall price on this thing? <br>
If you already have the arduino and wires ect... some of the basic electronic things like soldering iron and solder and other tools it will cost about 30$ to make. If you need to buy the arduino and the shield and so on then it will cost about 70$ to make. If you need tools and such you are looking at upwards 100. It also depends on what case you use and how creative you want to get with the designs. This particular one cost me about 40$ but i had the arduino, wires, push buttons, and leds along with the tools to do it. The cost was in the lcd screen, key pad, speaker, case and time = ] I know this is a lengthy and non definitive answer but but its going to be different for everyone depending on the situation and style. Most everything was bought at sparkfun's website you can go there and price the things you need if you want to get real precise.
Hi, I'm very interested in building this product, but have no experience whatsoever in arduinos, or programming and whatnot, can you direct me to a site that can teach me the basics and how to do this?
Okay I have basic eletronics tools, soldering iron, multimeter, etc. But no arduino or other stuff like that. So would that be about $70, right?
69.75$ with shipping if you order everything straight from spark fun (minus wire) but with some more research and robbing other electronic devices you could knock that price down a bit. If you used perf board instead of the shield, took leds and speakers from other sources: computer speark, toys, ect... Then that will drop the price of parts to 47.85$ with shipping. I think if you got a little more crafty then you could cut the cost a little more maybe using a different display or just regular buttons and not the keypad but those are relatively cheap compared to the headache of making them from scratch or modifying it. I hope this helps you and again if you have any questions feel free to ask!
Th code is not displaying the time. I need HELP.
hi its an amazing project <br>but i have the same problem like Soul1974<br><br>sketch_sep25a.cpp:6:20: error: Keypad.h: No such file or directory<br>sketch_sep25a:19: error: expected unqualified-id before '{' token<br>sketch_sep25a:19: error: expected unqualified-id before ',' token<br>sketch_sep25a:19: error: expected unqualified-id before '{' token<br>sketch_sep25a:19: error: expected unqualified-id before ',' token<br>sketch_sep25a:20: error: expected unqualified-id before '{' token<br>sketch_sep25a:20: error: expected unqualified-id before ',' token<br>sketch_sep25a:20: error: expected unqualified-id before '{' token<br>sketch_sep25a:21: error: expected declaration before '}' token<br><br>Please help me<br><br>
Pm me and i will send you the code
Yeehck. Okay, the code for this thing makes baby Jesus cry. I'll leave the critique at that, but I did spend about 15 minutes going over and optimizing the code line by line, and creating a MUCH more elegant and less &quot;just so happens to not catch the Arduino on fire, by sheer luck&quot; style code...<br><br>The code and the preceding discussion from members of the Arduino community collectively scratching their heads, is located here:<br><br>http://arduino.cc/forum/index.php/topic,64119.msg467415.html#msg467415<br><br>Hope it helps!
thank you sir! This is the first thing i've coded in the arduino language usually use csharp so thanks for making it better!
Thanks again, <br><br>You have helped I have post numerous requests to the creators with no luck.<br>If it was not for your help I would have stayed clear of Arduino projects.<br><br>Thanks again I will make sure you get taged in the project.
Very nice, should have ( 220 ohm ? ) resistors in series with the LEDs if they are not 5v types.
ya the 220 ohm resistors wouldn't be a bad addition = ]
Thanks for the tip
HI I am having trouble compiling the code I keep getting these errors:<br><br>sketch_jun06a.cpp:6:46: error: Keypad.h: No such file or directory<br>sketch_jun06a.cpp:7:19: error: Tone.h: No such file or directory<br>sketch_jun06a:8: error: 'Tone' does not name a type<br>sketch_jun06a:16: error: 'LiquidCrystal' does not name a type<br>sketch_jun06a:18: error: expected unqualified-id before '{' token<br>sketch_jun06a:18: error: expected unqualified-id before ',' token<br>sketch_jun06a:18: error: expected unqualified-id before '{' token<br>sketch_jun06a:18: error: expected unqualified-id before ',' token<br>sketch_jun06a:19: error: expected unqualified-id before '{' token<br>sketch_jun06a:19: error: expected unqualified-id before ',' token<br>sketch_jun06a:19: error: expected unqualified-id before '{' token<br>sketch_jun06a:20: error: expected declaration before '}' token<br><br>Please help!<br>
Hey soul 1974 it looks like you dont have the libraries downloaded from the arduino.cc website i sent you a pm that should take care of it let me know how it goes!
HI,<br><br>I downloaded all the libraries but it seems the code is corupt, could you please respond to my PM and email me the code. I realywant to get this project to work I have posted on numerous forums for help and I am getting alot from FalconFour but I am still not getting your results please help.<br>
Thanks for all the help, pleae could you send me the code in a txt file i will pm my email address to you,it seems the problem is in the code.
also i ve had a couple questions about how this thing is powered and the answer is a 9v. battery = ]<br>
thanks for the compliments! Atom i will for sure stay outta air ports well any mass transit for that matter lol. and spark2flame post a photo of yours i'd love to see what it looks like. And airsoft although i do have a paintball gun air soft is usually the choice = ]
Wow, very cool looking prop and useful too! I will definitely be making this for the next skirmish. Oh and by the way, do you paintball or airsoft?
It should go with out saying that you should avoid Airports with this.<br><br>Nice set up.

About This Instructable

48,989views

115favorites

License:

Bio: i like things that blink and buzz
More by yellowcouch:Cheap and Fast Dog Bed Prop bomb A Nintendo Controller Pillow that really works! 
Add instructable to: