Arduino ANDROID airsoft TIME BOMB APP

Hello world! Today i made a app for arduino to set off a airsoft TIME BOMB with a timer using bluetooth. You can only go up to 99 seconds.

Download the app on google play!
airsoft TIME BOMB

The source code for the app is available to! Just contact on this e-mail. contact@arduinosensors.nl

Schematic:
airsoft TIME BOMB

Just wire it up like the schematic, then upload the code.
Make sure you connect rx to tx and tx to rx, also make sure to Disconnect the Bluetooth module when uploading the code, or you will get an error uploading.

Parts list:
Arduino uno, I used the RobotDyn Uno. Has 8 analog pins!
1 channel relay KY-019
HC-06 Bluetooth module
Jumper wires
Android Phone – (APP ON GOOGLE PLAY here)
Some device like a lamp to test the relay like i did.

Code:

/*
Author: Danny van den Brande. Arduinosensors.nl. BlueCore Tech.
This code is written for my Airsoft Time Bomb APP.
The app simply reads the bytes @ case, 1,2,3,etc.
 */
int relay1 = 2;
   
  byte serialA;
void setup()
{
  
  Serial.begin(9600); //Check step 2 of my instructable on how to change your HC-06 modules name and baudrate.
  //my HC-06 has a baudrate set of 9600. Your can be different. But you can change it.
  pinMode(relay1, OUTPUT);

}

void loop() {

if (Serial.available() > 0) {serialA = Serial.read();Serial.println(serialA);}
  
      switch (serialA) {
    case 3:
      digitalWrite(relay1, HIGH);//Setting of airsoft bomb
      break;
    
  }

}
Danny van den Brande

http://www.arduinosensors.nl

Programmer, Game Designer, 3D Designer, Web Designer, Graphic Designer. Jup this website looks crappy.. :) But enjoy the projects! Everything you need is here.

Leave a Reply

Your email address will not be published. Required fields are marked *