Introduction:-


Hereby we want clear you guys that this project is only for the Educational Purpose.So now come to the point where we can use this time bomb??that depends on you.Simple you can use this in Diwali, So Let's Start How to make a Time Bomb Using Arduino Uno.

Required Parts:-
  • Arduino Uno
  • Nichrome Wire
  • Buzzer
  • Red Led
  • Dc Slider Switch
  • 5v Relay
  • Dc Male Socket
  • 330Ohm Resister
  • Tool, Wire
Procedure:-
  1. First Of all Connet the 3 wire to the Pins of Dc slider switch.
  2. Now connect the 330V Resister to the Red Led.
  3. Now Connect the Middle pin of the Slider switch to the pin number A2 of Arduino Uno, Another two pin to Vcc, Gnd Of Arduino Uno.
  4. Now Connet the Vcc pin Of the Red Led to the Pin Number 11 of the Arduino Uno, and GND to the GND of the Arduino Uno.
  5. Now Connect the Vcc of the Buzzer to the Pin Number 12 Of the Arduino Uno,  and GNDto the GND of the Arduino Uno.
  6. Now Let's Have a Look on the 5v relay.
  7. Red Wire of the 5v relay will be connected to the Pin number 13 of the Arduino Uno.Green Wire will be connected to the GND of the Arduino Uno.
  8. Now Connet a the 12v power supply to the Arduino Uno Using Dc male Socket.
  9. Now Make the Bomb(For making you can watch the video), and connect the nichrome wire,12 battery as connected in the diagram below,

  10. /*

    www.beginnertopro.in
    Try to Express Not to Impress
    */



    int x=3000;//Time In Miliosecond ,After the Trurn on of Button After that millisecond the bomb will Exploid

    int cnt=0;

    const int buttonPin = 2;

    // variables will change:

    int buttonState = 0;

    // the setup function runs once when you press reset or power the board

    void setup() {

    // initialize digital pin LED_BUILTIN as an output.

    pinMode(LED_BUILTIN, OUTPUT);

    pinMode(12, OUTPUT);

    pinMode(11, OUTPUT);

    // initialize the pushbutton pin as an input:

    pinMode(buttonPin, INPUT);

    digitalWrite(LED_BUILTIN, LOW);

    Serial.begin(9600);

    }



    // the loop function runs over and over again forever

    void loop() {



    buttonState = digitalRead(buttonPin);

    Serial.println(buttonState);

    // check if the pushbutton is pressed.

    // if it is, the buttonState is HIGH:



    if(buttonState == 1 && cnt==0) {

    loop1();

    } else {



    }



    }

    void loop1(){

    for(int i=x;i>0;i--){

    if(i==1){

    glow();

    }else if(i<1000){

    digitalWrite(12,HIGH);

    }

    Serial.println(i);



    Serial.println(buttonState);

    digitalWrite(11,HIGH);

    delay(0.5);

    digitalWrite(11,LOW);

    delay(0.5);

    buttonState = digitalRead(buttonPin);

    if(buttonState==0){

    Serial.println("Mission Aborted");

    break;

    }

    }



    }

    void glow(){

    digitalWrite(LED_BUILTIN, HIGH); // turn the Turn Nichrome on For 2sec (HIGH is the voltage level)

    delay(2000); // wait for a second

    digitalWrite(LED_BUILTIN, LOW); // turn off the nichrome wire

    delay(1000);

    digitalWrite(12,LOW);

    cnt=1;

    }

  11. Upload the Arduino Code in the Arduino Uno, And Test the Time Bomb.I have given the timer for 3 sec.You can also change that in the code.
For making Watch this video:-



Thanks For Watching Please Like, share and Subscribe Have a good day...