Take a look at the video to see it at work.

Check the next steps for the Schematic and code.

Step 1: The Schematic and Parts List.

Just connect it as the schematic shows. Upload the code and it should work.

I added a on/off switch a reset button and a power jack, those are not

shown on the schematic but easy to add.

To add a reset button just add a button to the reset pin, put one wire in the

reset pin and one in ground.

You can also add extra buttons for C and D as shown on the schematic.

My final project will have a red button for the red team and green for green team.

Parts list.

  1. Arduino UNO
  2. Potentiometer (+ knob optional)
  3. buzzer
  4. On/Off switch
  5. 1 Channel relay
  6. lcd 1602 - Blue Backlight
  7. 4x4 Keypad
  8. 2x Red leds, 1x green led.
  9. 2x 220 Ohm (220 R) resistors
  10. A set of MM FF MF Jumper wires
  11. Female Power jack & adapter (optional) (You can also add batterys of course)
  12. 2 buttons for C & D(optional)
  13. 1 button for reset (optional)
  14. Alarm Strobe? Alarm Sound?

(i used male and female audio plugs to connect the lamp)

Step 2: The Code.

There are multiple codes inside.

Open and upload the Time_Bomb_Airsoft_Game.ino

If you connected everything the right way it should work right away.

Be creative! make a nice enclosure for it.

Good luck!

<p>Hi guys</p><p>Im struggeling, i have managed to upload the code and i have wired everything correctly by using to drawings from 2 different makers, where they ar the same.</p><p>However, when i power on.. there is a tiny frequensy sound from the buzzer, both led blink one time fast, then both blink again and the red lights up constantly. </p><p>There are no digits or symbols on the lcd. I can adjust backlight brightness, but still no symbols. </p><p>Hope some can help me. Maybe go over it with me over Teamviewer? </p><p>My email is: lofte87@gmail.com</p><p>Have a nice day and a nice easter</p><p>Best regards </p><p>Morten from Norway</p>
I fixed it. I would like the relay to be activated when a game is over. Now the relay trigger when the bomb goes off in Search&amp;Destroy :/ <br>Reason is that I can but a siren on when the game ends. <br>Pleeeeease help anyone<br>
Can one at the fake bomb on the function that you can defuse them with different wires?<br>And could one make the whole also programmable, which the wire defuses the bomb or for example the timer run faster?
<p>Help with the problem</p><p>Time_BOMB_Airsoft_GAME:197: error: 'menuPrincipal' was not declared in this scope</p><p>exit status 1</p><p>'menuPrincipal' was not declared in this scope</p>
<p>Here is my modified code for the time bomb there is one skretch for control the battery status in NOT CHECKED and I don't now if does it work.</p><p>There is a modified code for work whith 4x3 keypad.</p><p>USAGE: </p><p>2 UP, 4 RIGHT, 8 DOWN, 3 LEFT, * CANCEL, # CONFIRM.</p><p>I have complete traslate the program to change the frase just modificated the skreck named alang for better work you have to change the position of cursor of the LCD screen. </p><p>PS sorry for my bad english</p>
<p>This is the best version I made for international players for me is the best and build plug and play if you want to traslate in your language just to cancel the italian phrases in your language and and it's all.</p>
<p>why when i try to send to arduino gave an error &quot; 'menuPrincipal' was not declared in this scope&quot;<br>you can help me?</p>
Thank you! I will update mine soon to. I added some more stuff.
<p>looks great!</p><p>If i connect everything and upload the sketch and try to use a button for the menu the LCD display gets weird and shows random?! characters.</p><p>Any idea to fix this?! thanks!</p>
<p>Hi Zaudio, the same thing happen to me, I had to flash the code to the arduino a couple of times and that was it, I did check the cables 1st and it was working ok, but after a while it started to show random characters... after the flashing it stop...</p>
Just try again, and check your wiring. Probably did something wrong<br>
<p>already tried, even with only the LCD keypad shield and keypad it goes crazy</p>
<p>Also tried the other one you made (<a href="https://www.instructables.com/files/orig/F2T/R7RJ/IN9678P4/F2TR7RJIN9678P4.zip" rel="nofollow">Time bomb TRASALATE.zip</a>)</p>
<p>We can work together on this project to. Your in italy right? you can help me with some parts that i need from italy.</p>
Yes what do you need ?
<p>Sorry for the late reaction, I need the gun case i used for my project they are perfect, they come from italy. They are being sold with bruni alarm pistols, those pistols are being made in italy and the cases are made by negrini. But I only need the cases.</p>
<p>What do you need specifically</p>
<p>Replicas will do to. No problem. Best blank with no logo. or brand name.</p>
<p>Cool thanks</p>
<p>Hi, I know this is an old post but have am having a problem uploading the code keep getting the message </p><p>&quot; 'menuprincipal' was not declaired in this scope &quot; </p><p>Hope you can help as really look forward to making this. </p><p>Thank you </p>
<p>hi, i have the same problem.</p><p>you know how we can do it without &quot;menu principal&quot;?</p>
<p>haveing problem this is what i get when trying to upload</p><p> Arduino: 1.6.12 (Windows 10), Board: &quot;Arduino/Genuino Uno&quot;</p><p>C:\Users\Airso\AppData\Local\Temp\Temp1_FYW1PMWILGVF3ZU (5).zip\Time_BOMB_Airsoft_GAME\Time_BOMB_Airsoft_GAME.ino:2:20: fatal error: Keypad.h: No such file or directory</p><p> #include &lt;Keypad.h&gt;</p><p> ^</p><p>compilation terminated.</p><p>exit status 1</p>
<p>The Keypad.h file can be found in the original creator's Github: </p><p><a href="https://github.com/yinbot/Airsoft-BombPro/tree/master/libraries/Keypad" rel="nofollow">https://github.com/yinbot/Airsoft-BombPro/tree/mas...</a></p><p>Hope that helps!</p>
Hi, liked your project, I decided to put together a sketch beg perfectly display all shows, but DOES NOT OPERATE Keypad 4x4 connects all as in the picture, using arduino pro mini, then decided to try to arfuino nano, nothing has changed, kdaviatura not work at all, I tried different keypad.h library does not help anything, just tried a second keyboard (I have two) zero result, also tried to connect the resistance 10kom please help, what could be wrong?
Hi, liked your project, I decided to put together a sketch beg perfectly display all shows, but DOES NOT OPERATE Keypad 4x4 connects all as in the picture, using arduino pro mini, then decided to try to arfuino nano, nothing has changed, kdaviatura not work at all, I tried different keypad.h library does not help anything, just tried a second keyboard (I have two) zero result, also tried to connect the resistance 10kom please help, what could be wrong?
<p>I have made it and it works perfect. but i want to ad a game where both teams had to arm the bomb with a password but have some one did this already??</p>
<p>Hey... Is this 1 channel relay compatible with this project?</p><p>http://www.ebay.com/itm/5V-One-1-Channel-Relay-Module-Board-Shield-PIC-AVR-DSP-ARM-MCU-Arduino-/310566336050?hash=item484f323632</p>
<p>Покажите пожалуйста фотографии. Не могу понять как собирать</p>
<p>Done what the tutorial said, and used other buttons (the arcade type) <br>but when I use them the arduino goes all wrong and the screen switches <br>off and no longer continues with the games sequence, what could be up <br>with it</p>
<p>The diagram has the switch common to an analog input for some reason. That is definitely not right. Connect the switch common to positive.</p><p>I think the problem you are having is when you make the switch you are somehow shorting the power, which suggests you have somethign wrong even with the incorrect diagram!</p>
<p>Thanks, but not sure what you mean??? I did have some issue getting the switches to work to start with.</p><p>Could you explain in a bit more detail what you mean by connect it to the positive??</p>
<p><a href="https://www.arduino.cc/en/Tutorial/Button" rel="nofollow">https://www.arduino.cc/en/Tutorial/Button</a></p><p>that link shows a more common way to use switches. You can see that the switch is connected to 5V and 0V (via the resistor). The circuit as drawn will put whatever is on the AI ontot he input, which is weird. Maybe the code is written to use the AI as a 5V source, but it is a weird way to do it.</p>
<p>Добрый день. Смотрю на схему и видео и не могу понять как подключать все правильно. Если есть возможность, то скиньте пожалуйста подробную схему подключение. </p>
<p>I implemented the disarmament of the bomb through wires. I'd like to know how i can to halve the time when a wires is cut.</p><p>In another wire i'd like to triple the speed of the countdown.</p><p>if (digitalRead(wirePin) != HIGH) {</p><p>?????</p><p>}<br></p><p>if (digitalRead(wirePin2) != HIGH) {</p><p>?????</p><p>}</p>
<p>Hi! Maybe someone can help me. I have this old device that i would like to use as an enclosure for my bomb. Is it possible to use the buttons on the arduino? How?<br><br>Thank You</p>
<p>Yes is possible i think, You need to find a datasheet for this keypad.</p>
​sir can you help me?<br><br>the airsoft bomb is not working properly' it only shows &quot;&quot;bluecore tech airsoft bomb&quot;&quot; in the LCD...<br><br>thanks'
<p>hi please HELP me the program says &quot; 'menuprincipal' was not declaired in this scope &quot; <br><br>????</p>
hello, what battery powers the project? Thank you for answer<br> I am sorry for my english too
Mine works with a 9v battery. But with a little electrical knowledge you can add any battery.
<p>Hello friends!<br>I'm build- a scheme like this. I would like to insert the code menu, the option to disarm cutting the wire. I inciante programming, if someone could help me. Thank you.</p><p>I'm sorry for my English, I'm brazilian!</p>
<p>пожалуйста помогите</p>
<p>hi, the program does not workor ratherkeyboard does not work, recheckedeverything several times</p>
<p>i don't know why my red led and relay always on. What is wrong ?</p>
<p>i've fixed the LED issue but relay always on starting from the menu.</p>
<p>You must have done something wrong... It should not be on.</p>
<p>nothing wrong i've checked 3 times everything is alright. what i've noticed on the web some says -there are relay where the transsistors connecter reverse.that might be the problem actually not sure yet. so is there any code or string that i can turn the relay on in the beginning? in this way it might go off.</p>
<p>That is correct must be your relay then, some work the other way around. Active HIGH and Active LOW is what i call that. Try finding the KY-019 relay module.</p>
<p>can a passcode be added?</p>

About This Instructable




Bio: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the ... More »
More by vandenbrande:Arduino - LCD 20x4 Water LEVEL MONITOR HC SR04 Arduino - NRF24L01 2.4Ghz Wireless Relay Switch RGB led STRIP control Arduino Android BLUETOOTH - SMD5050  
Add instructable to: