ARDUINO AIRSOFT TIME BOMB GAME

About: 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 wide range of sensors you can use with it. I ma...

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!

6 People Made This Project!

Recommendations

  • Safe and Secure Challenge

    Safe and Secure Challenge
  • Faux-Real Contest

    Faux-Real Contest
  • Epilog X Contest

    Epilog X Contest

87 Discussions

0
None
AmmarF5

Question 4 months ago

Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\........\AppData\Local\Temp\Rar$DIa0.657\Time_BOMB_Airsoft_GAME\Time_BOMB_Airsoft_GAME.ino: In function 'void loop()':

Time_BOMB_Airsoft_GAME:194: error: 'menuPrincipal' was not declared in this scope

menuPrincipal();

^

exit status 1

'menuPrincipal' was not declared in this scope

This report would have more information with

"Show verbose output during compilation"

option enabled in File -> Preferences.

0
None
VinnyB7

5 months ago

Hey,

I bought buttons to connect to "C" and "D", but when I connect them the way it's shown in the schematic nothing happens during the domination game. Any help is appreciated.

0
None
Basv29

2 years ago

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??

1 reply
0
None
JakubJ24Basv29

Reply 6 months ago

Can You share the code that works please

0
None
EmanueleM6

2 years ago

Hi,

Great job works like a charm.

I modified the code for use with a 4x3 keyboard if you want I can postaerti the code to implement your wonderful guide.

I'm really a noob with arduino I saw that in the code you wanted to implement a setup menu is always in your plans and if it is possible get the code?

PS I also translated into Italian the sketches. XD

3 replies
0
None
vandenbrandeEmanueleM6

Reply 2 years ago

Hi, Cool i know how to use the 4x3 code, but you can share it if you want, but i could also put a description on how to change this, its pretty easy, just a few lines in the code. Remember the code uses multiple codes. So upload it somewhere as a zip and share the link instead of sharing the codes as text. otherwise the comments will become messy:) Or only share the piece of code that need to be changed to use it as 4x3... that should be ok. its not that messy... greetings.


0
None
EmanueleM6vandenbrande

Reply 2 years ago

Hi,

It is possible to have the config skretch of config menu?

0
None
JulienS30

Question 7 months ago on Step 2

Bonjour, j'ai un souci avec le code, quand je veux le vérifier m'a vérifié: sortie statut 1, erreur de compilation pour la carte arduino / genuino uno! je vois pas ce qui cloche!

merci d'avance pour l'aide

0
None
KonradK8

Question 7 months ago

May I ask for changed code to relay that will be only on when countdown is end?

0
None
KonradK8

Question 8 months ago

WHAT'S wrong in this line of code?

0
None
KonradK8

Question 8 months ago

Why i have this communicat what should I do change in code?

2018-05-05 (3).png
0
None
Morten87

1 year ago

Hi guys

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.

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.

There are no digits or symbols on the lcd. I can adjust backlight brightness, but still no symbols.

Hope some can help me. Maybe go over it with me over Teamviewer?

My email is: lofte87@gmail.com

Have a nice day and a nice easter

Best regards

Morten from Norway

2 replies
0
None
JesusA90Morten87

Reply 10 months ago

1 I have the same problem, can you help me, please?

0
None
Morten87Morten87

Reply 1 year ago

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&Destroy :/
Reason is that I can but a siren on when the game ends.
Pleeeeease help anyone

0
None
JesusA90

Question 11 months ago

Arduino:1.8.1 (Windows XP), Tarjeta:"Arduino/Genuino Uno"

C:\Documents and Settings\Administrador\Escritorio\BombaArduino\Time_BOMB_Airsoft_GAME\Time_BOMB_Airsoft_GAME.ino:2:20: fatal error: Keypad.h: No such file or directory

#include

^

compilation terminated.

exit status 1
Error compilación en tarjeta Arduino/Genuino Uno.

mi tarjeta es arduino funduino y me da estos errores y no se como solucionarlo.
me podeis ayudar?

0
None
jfelixdesignLuísO95

Answer 11 months ago

No its to use the "extras" like the light, fireworks, etc....to use external alimentation just plug the + to vin and - to gnd on the board...I use a 9v battery

0
None
jfelixdesign

Question 11 months ago on Step 1

Hi, the aditional buttons tha you use to the C and D, is 2 pin or 4 pin? on mine i have a strip RGB led, and don´t work well with this code, can you help me?

0
None
builder2004

Question 11 months ago on Step 2

when i compile the code it gives me a lot of errors. how can i fix this?