Sim800l | GSM Home Security using Arduino | PIR Motion Sensor Alarm

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.พ. 2021
  • In this video tutorial, I will show you how to make GSM Home Security using Arduino UNO , SIM800L GSM Module and PIR Motion Sensor. This gsm based burglar alarm system detects motion by using pir motion sensor and sends data to arduino and then arduino microcontroller sends call alert to the emergency number through the sim800l GSM module.
    This is a very simple and easy to build home security system with just few lines of code. you can build this security system at home with a little efforts.
    --------------------------------------------------------------------------------------------------------------------
    Hardware Components
    --------------------------------------------------------------------------------------------------------------------
    1. Arduino UNO - amzn.to/3ZWKAz2
    2. SIM800L GSM Module - amzn.to/3l6rKGP
    3. PIR Motion Sensor - amzn.to/3l5WQhW
    4. 18650 3.7v Rechargeable Battery - amzn.to/3ZAxV51
    --------------------------------------------------------------------------------------------------------------------
    Useful Video Links
    --------------------------------------------------------------------------------------------------------------------
    Send GPS Data To Server Using Arduino and PHP
    • SIM800L GPS Tracker | ...
    GPS GSM Not Just Tracker
    • Arduino Sim800L GPS Tr...
    Arduino Sim800l Relay Control
    • Arduino Sim800l Relay ...
    --------------------------------------------------------------------------------------------------------------------
    Social Media Links
    --------------------------------------------------------------------------------------------------------------------
    GitHub:
    github.com/ahmadlogs/
    TH-cam:
    th-cam.com/users/ahmadlogs?sub...
    --------------------------------------------------------------------------------------------------------------------
    Download Code
    --------------------------------------------------------------------------------------------------------------------
    github.com/ahmadlogs/arduino-...
    --------------------------------------------------------------------------------------------------------------------
    Disclaimer
    --------------------------------------------------------------------------------------------------------------------
    Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
    Warning: In some countries it is required to register gsm module from govt authorities before using it. So, get proper understanding of govt laws related to gsm technologies.
    #sim800l #arduino #PirMotionSensor

ความคิดเห็น • 214

  • @jimmyelectronics2264
    @jimmyelectronics2264 2 ปีที่แล้ว

    No youtuber answers the way you do. Keep it up

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว +1

      I appreciate that!

  • @technicalkrishna5199
    @technicalkrishna5199 2 ปีที่แล้ว +1

    What you have attached to sim 800l?

  • @user-gb9fr9fx7u
    @user-gb9fr9fx7u 5 หลายเดือนก่อน

    hey sir ahmad i used tilt ball switch instead of PIR sensor and it works but there’s seems a delay like it is not consistent, sometimes it works and sometimes it’s not please i need help for my project

  • @faroekjuthan89
    @faroekjuthan89 2 ปีที่แล้ว +2

    A very nice project with a working code. Thanks for sharing, transferring knowledge to others is a noble task. Thanks again.

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      thanks you soooo much

    • @user-kl8ow4ku1i
      @user-kl8ow4ku1i 7 หลายเดือนก่อน

      kindly shere with me the code

    • @KanuChinasa
      @KanuChinasa หลายเดือนก่อน

      I love this project so much. Please can you help me with the code. Thank you

  • @yipyap4743
    @yipyap4743 8 หลายเดือนก่อน +1

    If i change sa pir senor to sound sensor do i need to change the code?
    Hoping for imidiate response 🙏

  • @KanuChinasa
    @KanuChinasa หลายเดือนก่อน

    I love this work. Please I'm confused on how to get the code for programming the Arduino. Thanks your answer

  • @034-santhoshca2
    @034-santhoshca2 3 หลายเดือนก่อน

    By using the sim 800l RX pin cannot handle the Arduino TX pin you can't stepdown the power why?

  • @vainavihome6743
    @vainavihome6743 8 หลายเดือนก่อน +1

    Can the same program be used for Arduino Nano

  • @nimsarayurantha2124
    @nimsarayurantha2124 4 หลายเดือนก่อน

    Thank you 💖❤️‍🔥

  • @aedrianefabian9513
    @aedrianefabian9513 2 ปีที่แล้ว +2

    If I'll be using the barrel plug in Arduino Uno, do I still need to change something in the code? Thank you for your answer

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว +1

      no need to change the code. because barrel plug is just for powering the project.

  • @prestazitutoring-bimbingan2262
    @prestazitutoring-bimbingan2262 8 หลายเดือนก่อน

    How to make the alarm sound louder on the device (alarm sound isnot only in the Phone)

  • @realexposer
    @realexposer 7 หลายเดือนก่อน

    Will it work with nano?

  • @shuvojitbarman9378
    @shuvojitbarman9378 ปีที่แล้ว

    Where does the cable goes from arduino uno

  • @allenmofada2303
    @allenmofada2303 ปีที่แล้ว

    hello, what did you do to the battery holder? how did you connect it with female jumper wire?

  • @devbhodia1283
    @devbhodia1283 ปีที่แล้ว

    Is it alright if i use normal generic uno and not arduino uno
    for the project

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      yes you can use

  • @biswa69
    @biswa69 2 ปีที่แล้ว +1

    i am using ir sensor instead of pir sensor and using the same code as given below. but after completing all the steps , call as going automatically without even sensing something, even after I disconnect my my ir sensor output to arduino , still it calls automatically , please help me out , I am stuck

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      I think the same code will not work with ir sensor

  • @johnackles7897
    @johnackles7897 2 ปีที่แล้ว +1

    Bro can i use vibration sensor rather than motion sensor? Need help for my project please!!

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      yes, you can

  • @user-mp1rd1di1u
    @user-mp1rd1di1u 9 หลายเดือนก่อน

    Hi, thanks for video. How to use this system when electrical power lost in my house? What type of sensor to use? thanks.

    • @AhmadLogs
      @AhmadLogs  9 หลายเดือนก่อน

      you can use voltage sensor

  • @Rahul-bk3fq
    @Rahul-bk3fq 3 ปีที่แล้ว +1

    Kya ham 3.3 volt zenre diaode use kar sakte hai gsm module ko power supply Karne ke liye aurdino se

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      you may use 1n4001 diode with 5v power supply

    • @Rahul-bk3fq
      @Rahul-bk3fq 3 ปีที่แล้ว +1

      Maine ln4007 diode use ki kyuki shopkeeper ne bola dono same hai lekin use kar raha hu toh gsm ki light hi blink nahi kar rahi

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      @@Rahul-bk3fq Check you voltages using multimeter

    • @Rahul-bk3fq
      @Rahul-bk3fq 3 ปีที่แล้ว +1

      Apke jaisi battery se hi karta hu waise confirm usse ho jayega na

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      @@Rahul-bk3fq yes

  • @shahriarizadi9049
    @shahriarizadi9049 ปีที่แล้ว

    I have a question ... I have " Serial port not selected " problem in upload , and " board at null is not available" problem while clicking Serial monitor option. what should I do ? thanks for your help.

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      just uninstall the arduino ide and install the latest version.

    • @shahriarizadi9049
      @shahriarizadi9049 11 หลายเดือนก่อน

      @@AhmadLogs thanks!

  • @devbhodia1283
    @devbhodia1283 ปีที่แล้ว

    can i turn off when at home and turn on when i am not
    also will it eork if i use sim 800l evb

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว +1

      yes you can by updating the code. you might also use sim800l evb

  • @techwithalan7554
    @techwithalan7554 ปีที่แล้ว

    It can work without laptop

  • @commandolee3608
    @commandolee3608 2 ปีที่แล้ว

    A grateful thanks to "AHMAD LOGS", you are a great teacher. It works, but how can I delay the ring for at least 5seconds...???

    • @commandolee3608
      @commandolee3608 2 ปีที่แล้ว

      The call(0.8seconds) doesn't stay long like the one you demonstrated, how can that be done(ringing (5seconds)) ?????

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      it rings for 15 seconds. what is the output in serial monitor?

  • @mehreenfatima9929
    @mehreenfatima9929 2 ปีที่แล้ว

    Aslamuailkum sir
    One dout
    in place of antenna of sim800l wt you solderd pls can uh tell because i'm doing this as project ...
    Mashallah videos... Jazakallah ♥

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว +1

      if you want to solder the antenna then use Helical Antenna

    • @mehreenfatima9929
      @mehreenfatima9929 2 ปีที่แล้ว

      Ok sir tq

  • @azamjahangir3071
    @azamjahangir3071 ปีที่แล้ว

    Hello sir how to add 3 phone no in ardiuno code

  • @birukgetu3345
    @birukgetu3345 2 ปีที่แล้ว

    dear sir, how i incorporate multiple other alarm sensors, please help me i have a project with that within this two weeks

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      I will try to make a video on this topic soon

  • @rishabhpatle5468
    @rishabhpatle5468 2 ปีที่แล้ว

    Bhai hr isme laptop ko on rkhna pdega kya?? Automatic call lgne k liye??

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      it is just demonstration.
      power your project using battery and step up buck converter.

  • @aby7742
    @aby7742 10 หลายเดือนก่อน

    Hello can i connect a buzzer to the circuit? Do i need to change the code...may i kñow that ...

    • @AhmadLogs
      @AhmadLogs  10 หลายเดือนก่อน

      it is required to change in the code.

  • @mcichy10
    @mcichy10 2 ปีที่แล้ว

    I am wondering how to do this project using esp8266 instead of arduino and power it with esp8266 module instead of battery. Could you please show me how to connect it?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      you can use this code of esp8266. but sim800l cannot work if you power it from esp8266. sim800l required 3.4 to 4.4v.

  • @electricalworld3339
    @electricalworld3339 2 ปีที่แล้ว

    Very good
    Can add at send sms active any sound

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      Yes you can

    • @electricalworld3339
      @electricalworld3339 2 ปีที่แล้ว

      @@AhmadLogs good
      Pleas add this on code
      I dont under stand in programing

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@electricalworld3339 I will soon

    • @electricalworld3339
      @electricalworld3339 2 ปีที่แล้ว

      @@AhmadLogs thanks
      I am wating

    • @electricalworld3339
      @electricalworld3339 2 ปีที่แล้ว

      @@AhmadLogs pleas i need the new code

  • @sahilbhambure5821
    @sahilbhambure5821 3 ปีที่แล้ว

    What changes do I make in the code
    if I want to send sms instead of a phone call?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      Serial.println("Motion detected!");
      delete the code after line number 40.
      and add the following code
      sim800.print("AT+CMGF=1
      ");
      delay(1000);
      sim800.print("AT+CMGS=\""+PHONE+"\"
      ");
      delay(1000);
      sim800.print("Enter_your_message_here");
      delay(100);
      sim800.write(0x1A); //ascii code for ctrl-26 //sim800.println((char)26); //ascii code for ctrl-26
      delay(1000);
      Serial.println("SMS Sent Successfully.");

    • @sahilbhambure5821
      @sahilbhambure5821 3 ปีที่แล้ว

      @@AhmadLogs Thank you so much😊

    • @subhendumondal7784
      @subhendumondal7784 ปีที่แล้ว

      Hello Dear, I want to put this statement under a void function (void Reply(), for example ),,, but it didn't work, can you help me

  • @mrogaming3083
    @mrogaming3083 ปีที่แล้ว

    Uno cable project ke time connect hi rkhna padta hai kya

  • @user-qy8rj9uo6l
    @user-qy8rj9uo6l 3 ปีที่แล้ว

    Is the number that I write in the code the number of the card inside the sim 800 or my phone number?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      that will be your mobile phone number.

    • @user-qy8rj9uo6l
      @user-qy8rj9uo6l 3 ปีที่แล้ว

      @@AhmadLogs And the card number where I put it in the code

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      @@user-qy8rj9uo6l no need to add the gsm module sim card number in the code. just add you mobile phone number on which you need to get the response call

    • @user-qy8rj9uo6l
      @user-qy8rj9uo6l 3 ปีที่แล้ว

      @@AhmadLogs Do you have Insta to contact you

  • @CagatinJumelA
    @CagatinJumelA ปีที่แล้ว

    why does mine failed uploading when im going to click the serial monitor? Hoping for your response sir.

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      check your usb cable

  • @vincegalido3689
    @vincegalido3689 2 ปีที่แล้ว

    Sir I've followed your procedures and goes up to "Motion Detected" then it says "NO DIALTONE" what does it mean? Hoping for your response Sir.

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      what power supply you have used for sim800l. tell me voltages and mAh of power supply

    • @user-vm9eb4lx7o
      @user-vm9eb4lx7o 5 หลายเดือนก่อน

      3.7 v

    • @user-vm9eb4lx7o
      @user-vm9eb4lx7o 5 หลายเดือนก่อน

      3000 mah

  • @chakradharreddychandu760
    @chakradharreddychandu760 2 ปีที่แล้ว

    Bro can I use Arduino nano instead of uno and ir sensor instead of pir sensor

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      yes just give it a try

  • @mustafaerdekli5954
    @mustafaerdekli5954 2 ปีที่แล้ว +1

    Dear Ahmed, I tried to adapt the millis code you gave to my own code, but it doesn't work, I couldn't. So I could not remove the delay command and replace it with the millis command. Although I failed, I will write the code I worked on below. I'm asking you, what could be the problem in this code? I would be glad if you help.
    ''''
    #include
    long previousMillis = 0;
    long interval = 20000;
    SoftwareSerial mySerial(3, 2);
    int pirsensor = 11;
    void setup() {
    randomSeed(analogRead(0));
    Serial.begin(9600);
    mySerial.begin(9600); // original 19200. while enter 9600 for sim900A
    Serial.println(" logging time completed!");
    pinMode(pirsensor, INPUT);
    delay(100);
    }
    void loop() {
    unsigned long currentMillis = millis();

    if(currentMillis - previousMillis > interval) {

    previousMillis = currentMillis;
    }

    if ( digitalRead(pirsensor) == HIGH)
    {
    Serial.println("making call");
    mySerial.println("AT"); //Once the handshake test is successful, i t will back to OK
    updateSerial();
    mySerial.println("ATD+ +90xxxxxxxxxxxx;"); // change ZZ with country code and xxxxxxxxxxx with phone number to dial
    updateSerial();

    mySerial.println("ATH"); // hang up
    updateSerial();
    delay(2000);
    mySerial.println("AT"); // SEEKING 2nd TEL
    updateSerial();
    mySerial.println("ATD+ +90xxxxxxxxxxxxx;"); // change ZZ with country code and xxxxxxxxxxx with phone number to dial
    updateSerial();

    mySerial.println("ATH"); // hang up
    updateSerial();
    delay(2000);
    }
    if ( digitalRead(pirsensor) == LOW)
    {
    ;
    delay(1000);
    }
    }
    void updateSerial()
    {
    delay(500);
    while (Serial.available())
    {
    mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
    }
    while(mySerial.available())
    {
    Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
    }
    }
    ''''
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    original version of software
    ''''
    #include
    SoftwareSerial mySerial(3, 2);
    int pirsensor = 11;
    void setup() {
    randomSeed(analogRead(0));
    Serial.begin(9600);
    mySerial.begin(9600); // original 19200. while enter 9600 for sim900A
    Serial.println(" logging time completed!");
    pinMode(pirsensor, INPUT);
    delay(100);
    }
    void loop() {
    if ( digitalRead(pirsensor) == HIGH)
    {
    Serial.println("making call");
    mySerial.println("AT"); //Once the handshake test is successful, i t will back to OK
    updateSerial();
    mySerial.println("ATD+ +90xxxxxxxxxxxxxx;"); // change ZZ with country code and xxxxxxxxxxx with phone number to dial
    updateSerial();
    delay(20000); // wait for 20 seconds...
    mySerial.println("ATH"); // hang up
    updateSerial();
    delay(2000);
    mySerial.println("AT"); // SEEKING 2nd TEL
    updateSerial();
    mySerial.println("ATD+ +90xxxxxxxxxx;"); // change ZZ with country code and xxxxxxxxxxx with phone number to dial
    updateSerial();
    delay(20000); // wait for 20 seconds...
    mySerial.println("ATH"); // hang up
    updateSerial();
    delay(2000);
    }
    if ( digitalRead(pirsensor) == LOW)
    {
    ;
    delay(1000);
    }
    }
    void updateSerial()
    {
    delay(500);
    while (Serial.available())
    {
    mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
    }
    while(mySerial.available())
    {
    Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
    }
    }
    ''''

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      try this
      if(currentMillis - previousMillis > interval) {
      previousMillis = currentMillis;
      mySerial.println("ATH"); // hang up
      updateSerial();
      }

  • @lazylloydie287
    @lazylloydie287 3 ปีที่แล้ว

    bro can I use sim800a rather than sim800l? please reply bro. I need this for my project thanks.

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      yes, you may use

    • @lazylloydie287
      @lazylloydie287 3 ปีที่แล้ว

      @@AhmadLogs last question bro. does the programming code still the same?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      @@lazylloydie287 yes, because all sim800x module uses the same AT Commands Set.

    • @lazylloydie287
      @lazylloydie287 3 ปีที่แล้ว

      @@AhmadLogs thanks bro. youve got a new subscriber

  • @user-qy8rj9uo6l
    @user-qy8rj9uo6l 3 ปีที่แล้ว

    مشاء الله

  • @arvinddrvin8897
    @arvinddrvin8897 2 ปีที่แล้ว +1

    Bro, can I use sim 900a for this project?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      yes you can use without need to make any change in the code

    • @arvinddrvin8897
      @arvinddrvin8897 2 ปีที่แล้ว

      @@AhmadLogs thank you so much bro

  • @joyalfred6542
    @joyalfred6542 2 ปีที่แล้ว

    Is it possible to receive alarm on two different mobile number?

  • @Rahul-bk3fq
    @Rahul-bk3fq 3 ปีที่แล้ว

    Kya ham gsm module ke sath Jo antina jaisa milta hai wo use kar sakte hai?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      yes you may use if signal quality is low

    • @Rahul-bk3fq
      @Rahul-bk3fq 3 ปีที่แล้ว +1

      Thank you sir

  • @user-vm9eb4lx7o
    @user-vm9eb4lx7o 5 หลายเดือนก่อน

    It showing no carrier pls help

  • @ShubhamPandey-ej3bk
    @ShubhamPandey-ej3bk 8 หลายเดือนก่อน

    Sur everything is working properly getting call but on serial monitor it's showing?¿???

    • @KanuChinasa
      @KanuChinasa หลายเดือนก่อน

      Greetings dear can I know how you did it

  • @marioledesma8739
    @marioledesma8739 2 ปีที่แล้ว

    I already follow the steps and code. But why I can't receive calls? The codes are correct. Does it need a load to make a phone call allert?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      no need any load to make a phone call. when the pir motion sensor detects the motion it will call automatically.

    • @marioledesma8739
      @marioledesma8739 2 ปีที่แล้ว

      Same problem. What is the solution for this

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@marioledesma8739 if your sim800l is working then the project will must worked.
      1. please test your gsm module.
      2. check the led status of your sim800l module. 3.
      make a call to sim800l to see if it is responding or not

  • @meetbundela
    @meetbundela ปีที่แล้ว

    Sir is it possible to use ultrasonic sensor instead of pir sensor?

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      watch this video th-cam.com/video/wYxnpwkHvGU/w-d-xo.html

    • @meetbundela
      @meetbundela ปีที่แล้ว

      @@AhmadLogs thank you very much sir

  • @sherifadekunle4452
    @sherifadekunle4452 2 ปีที่แล้ว

    Can I use 9v battery to power the Sim board?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      Never, you sim800l will blast

  • @z2islash406
    @z2islash406 ปีที่แล้ว

    Sir instead of battery can i use a adapter of 12V?? Hoping for ur reply sir

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      The SIM800L module requires a power supply voltage between 3.4 volts and 4.4 volts to operate correctly. If you are using a 12 volt power adapter, you will need a step-down buck converter to convert the voltage from 12 volts down to 4.4 volts in order to power the SIM800L module properly.

    • @z2islash406
      @z2islash406 ปีที่แล้ว

      @@AhmadLogs on sir but what is that on sim800L something which is of black colour and has a rectangle shaped something at the end

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      @@z2islash406 are you talking about the antenna?

    • @z2islash406
      @z2islash406 ปีที่แล้ว

      @@AhmadLogs yes sir does it come with gsm module 800L??

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      @@z2islash406 no. you will have to buy it separately

  • @praveensharma673
    @praveensharma673 3 ปีที่แล้ว

    sir mujhe isme 4 pir sensor lagane hai to code me kya kya change krna hai pls bataiye

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      repeat the pir code for all the sensors. when motion detect from any pir sensor then use a variable pir_sense = true. then checks
      if(pir_sense == true)
      {
      make_call();
      }

  • @rks4610
    @rks4610 3 ปีที่แล้ว

    Awesome bro...can we make this whitout ardunio

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      to control sim800l micro controller is required

    • @rks4610
      @rks4610 3 ปีที่แล้ว

      @@AhmadLogs thanks Ahmad share your insta I'd plz

  • @winxflynn1375
    @winxflynn1375 ปีที่แล้ว

    hello! what programming app did you use for this project or what programming app can I use for windows in this project? thank you!

  • @joydipraj6210
    @joydipraj6210 ปีที่แล้ว

    Sir I am using 4g sim so it is not taking network sim800L what should I do

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      use sim7600 module

  • @universalsolution6412
    @universalsolution6412 2 ปีที่แล้ว

    please how can we make it to send sms alert instead of call

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      a lot of changes are required. you need to check my sim800l fire alarm video. In that project code, I have added both sms and call function

  • @im_beezoy
    @im_beezoy 2 ปีที่แล้ว +4

    Okay! The main problem in this project is when you leave the system for few times it will call you automatically because this pir sensor comes without emi and rfi filter so radio signals coming from sim 800l will auto trigger pir sensor to high. I also made pcb and the isolated system, it failed.

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว +2

      can you give me some suggestions.
      to solve this issue you need to make changes in the code.
      like.... if motion is detected then read pir sensor pin for 1000 milliseconds. and then calculate an average motion. then make a decision (use if statement) according to the result of the calculation.

    • @techedgeict
      @techedgeict 2 ปีที่แล้ว +1

      please what was the final solution? bijay Acharya did you attempt his currection and implement it? if yes, does it work properly?

    • @im_beezoy
      @im_beezoy 2 ปีที่แล้ว

      Attepted ferrite beads failed.
      Isolated all system wiring but failed,
      Found out the pir sensor we use as module have high rate of accepting RFI coming out from sim800l or other modules like your phone as well, the only solution i got was to separate pir and sim module at least 8m and sim module must be kept inside black box but it's not a proper solution yk. Last but not least I gave up on this and ended up working on pir and this product. I hade made intruder alert system with pir where you can register 5 number on ATMEGA 328p at a time via text message saving to eeprom.
      don't use these module for commercial use.

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@im_beezoy can you give some suggestions about the some better pir sensor.

    • @prashantchaudhary5711
      @prashantchaudhary5711 2 ปีที่แล้ว

      @@im_beezoy wahh daju, fire🤣

  • @14mohanraj65
    @14mohanraj65 3 ปีที่แล้ว

    Can i use any other battery than this?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      you may use mobile phone battery

  • @huzaifaaziz4605
    @huzaifaaziz4605 2 ปีที่แล้ว

    can i run it direcly from usb connected to PC?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      yes you can use a 1n40007 diode to step down the voltages for the sim800l. because sim800l does not work with 5v. So, you need to step down the voltages between 3.4v to 4.4v.

    • @huzaifaaziz4605
      @huzaifaaziz4605 2 ปีที่แล้ว

      @@AhmadLogs okay so i did exactly as you did, SIM800l is blinking every second but there is not call

    • @huzaifaaziz4605
      @huzaifaaziz4605 2 ปีที่แล้ว

      serial monitor shows this only
      SIM800L sof⸮⸮⸮⸮⸮⸮⸮⸮⸮

    • @huzaifaaziz4605
      @huzaifaaziz4605 2 ปีที่แล้ว

      @@AhmadLogs okay so I now know the issue, the sim800l is blinking every second, means it has not connected to a network. how do fix it ? I have antenna too

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@huzaifaaziz4605 most of the time it is powering issue. to proper power supply

  • @dolar7949
    @dolar7949 3 หลายเดือนก่อน

    it doesn't work, the phone rings by itself without detecting motion

  • @virtuallearningpoint1430
    @virtuallearningpoint1430 3 ปีที่แล้ว

    I have 4g vodafone sim
    It is not working when we check bY writing AT then OK COMES but after calling" no dialler tone" Is comes on serial screen .
    Is 4g not working here??

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      sim800l is only works with 2g. you need 4g module if you want to work with 4g

    • @virtuallearningpoint1430
      @virtuallearningpoint1430 3 ปีที่แล้ว

      @@AhmadLogs yes bro but I think presently there is hard to have 2g sim so may be 4g module

    • @virtuallearningpoint1430
      @virtuallearningpoint1430 3 ปีที่แล้ว

      @@AhmadLogs how you get 2g SIM

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      @@virtuallearningpoint1430 all 4g and 3g sim also have 2g support. ask your service provider for more detail. If AT command sends OK its mean it support 2g. have you balance in sim. f call is not working try to send sms. and tell me what happens

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      @@virtuallearningpoint1430 all of 4g sims support 2g. just ask for your service provider for more detail

  • @BhumiharHarsh9693
    @BhumiharHarsh9693 7 หลายเดือนก่อน

    Link sa kux aur open ho gaya hai

  • @pruthvirajjagtap4752
    @pruthvirajjagtap4752 ปีที่แล้ว

    Can it work with gsm800c ?

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      yes

    • @pruthvirajjagtap4752
      @pruthvirajjagtap4752 ปีที่แล้ว

      @@AhmadLogs but I am not receiving any SMS or call ....but code runs ....please explain ....i use Vodafone idea sim ...it also works fine

  • @Sajanepal24
    @Sajanepal24 10 หลายเดือนก่อน

    Hello brother i use this code in arduino nano the call was gone while motion is detect but i install a mic in Sim800l and when i receive the call the call was gone on hold.plz help me give me a new code by solve this problem 😢😢

    • @AhmadLogs
      @AhmadLogs  9 หลายเดือนก่อน

      I think you have modified the code

    • @Sajanepal24
      @Sajanepal24 9 หลายเดือนก่อน

      @@AhmadLogs bhai i need your help to complete my project how can i contact you?

  • @farukm5742
    @farukm5742 2 ปีที่แล้ว

    Agar motion detect ho jata hai to kitane bar repeat call aata hai?

  • @techwithalan7554
    @techwithalan7554 2 ปีที่แล้ว

    In this code the the mobile number enter with country code

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      yes, mobile number with country code

  • @Rahul-bk3fq
    @Rahul-bk3fq 3 ปีที่แล้ว +1

    Waise sir apne Kya use Kiya hai ye

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      I have use outdoor antenna

  • @mumukshuneve180
    @mumukshuneve180 3 ปีที่แล้ว

    Mene PIR ki jagah flame sensor use kiya h is h code ko edit kr le bs call nhi aaraha haii

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว

      can I see your code?

    • @mumukshuneve180
      @mumukshuneve180 3 ปีที่แล้ว

      @@AhmadLogs Sir project complete I make smart fire alerting system.
      Company me jha fire lagne ke jaga chances hote h wha is device ko laga do agar ye fire catch karega to direct mess fire station me chala jayegaa

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      @@mumukshuneve180 So nice of you

    • @mumukshuneve180
      @mumukshuneve180 3 ปีที่แล้ว

      @@AhmadLogs thanku sir

  • @pfgdanish8852
    @pfgdanish8852 ปีที่แล้ว

    Bhai sim 800l short ho gaya hai mera 2 basr kuch solution batao please urgent hai

  • @x3ater410
    @x3ater410 ปีที่แล้ว

    I'm doing this project at school could you help me on discord on some mistakes

  • @Rahul-bk3fq
    @Rahul-bk3fq 3 ปีที่แล้ว +1

    Gsm module me light 7 times blink kar rahi hai 3s delay ke sath

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      due to over voltages. use power supply

    • @Rahul-bk3fq
      @Rahul-bk3fq 3 ปีที่แล้ว +1

      Ok I understood

  • @Rahul-bk3fq
    @Rahul-bk3fq 3 ปีที่แล้ว +1

    Bhai apne ye Battery kaha se li?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      18650 3.7 volt. you may buy it from amazon or aliespress

    • @Rahul-bk3fq
      @Rahul-bk3fq 3 ปีที่แล้ว +1

      @@AhmadLogs Maine 2400 mah and 3.7 volt battery use ki but it doesn't works

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      @@Rahul-bk3fq it must work. you need to test some other sim800l module. I think some pins of your module may faulty

  • @kalindukr343
    @kalindukr343 2 ปีที่แล้ว

    isnt work for me
    why??

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      give me the full issue you are facing?

  • @knd8680
    @knd8680 2 ปีที่แล้ว +1

    Nice job. I tried it out. The code loaded successful but not working. Pls what could be the possible problems

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      what is the LED light status of sim800l

    • @knd8680
      @knd8680 2 ปีที่แล้ว

      @@AhmadLogs It's a led red light that blinks every 3 seconds

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@knd8680 can you please tell me that what is displaying in serial monitor.

    • @knd8680
      @knd8680 2 ปีที่แล้ว

      @@AhmadLogs Its an inverted question mark

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@knd8680 1. as I know, it is a boudrate issue. please check the baudrate from bottom right corner of serial monitor. it must be 115200.
      2. please check the rx and tx connection. use good quality wires for rx and tx.
      3. if there is still isssue. then you need a voltage divider (3.3v) for tx pin of sim800l gsm module.

  • @Musicians_Iran
    @Musicians_Iran 2 ปีที่แล้ว

    Please linke site download code arduino sending

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      check description

  • @BhumiharHarsh9693
    @BhumiharHarsh9693 7 หลายเดือนก่อน

    Bhi code kasa nikal

  • @adhiahmed3191
    @adhiahmed3191 10 หลายเดือนก่อน

    Give me a code

  • @mustafaerdekli5954
    @mustafaerdekli5954 2 ปีที่แล้ว

    Ahmad, thank you very much for your help. Your code you specified but it didn't work. I'm not sure if I'm writing these codes in the right place, but it just doesn't work. It looks like it's not making a call from the serial port somehow, i.e. not making a call. This is the code I edited.
    ''''
    #include
    long previousMillis = 0;
    long range = 20000;
    SoftwareSerial mySerial(3, 2);
    int pirsensor = 11;
    invalid setup() {
    randomSeed(analogRead(0));
    Serial.start(9600);
    mySerial.begin(9600); // original 19200. enter 9600 for sim900A
    Serial.println("Registration expired!");
    pinMode(pirsensor, INPUT);
    delay(100);
    }
    void loop() {
    unsigned long streamMillis = millis();

    if(currentMillis - previousMillis > interval) {

    previousMillis = currentMillis;
    mySerial.println("ATH"); // hang up
    updateSeries();
    }

    if ( digitalRead(pirsensor) == HIGH)
    {
    Serial.println("searching");
    mySerial.println("AT"); //When the handshake test is successful, I won't go back to OK
    updateSeries();
    mySerial.println("ATD+ +90xxxxxxxxxxxx;"); // replace ZZ with country code and xxxxxxxxxxx with phone number to call
    updateSeries();

    mySerial.println("ATH"); // hang up
    updateSeries();
    delay(2000);
    mySerial.println("AT"); // SEEKING 2nd WIRE
    updateSeries();
    mySerial.println("ATD+ +90xxxxxxxxxxxx;"); // replace ZZ with country code and xxxxxxxxxxx with phone number to call
    updateSeries();

    mySerial.println("ATH"); // hang up
    updateSeries();
    delay(2000);
    }
    if ( digitalRead(pirsensor) == LOW)
    {
    ;
    delay(1000);
    }
    }
    void updateSeries()
    {
    delay(500);
    while (Serial. available())
    {
    mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
    }
    while(mySerial.available())
    {
    Serial.write(mySerial.read());//Forward Serial Software received to Serial Port
    }
    }
    ''''

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      when motion is detected then what is displayed in the serial monitor

  • @mustafaerdekli5954
    @mustafaerdekli5954 2 ปีที่แล้ว

    Hello there . Thank you very much for your work. I have a request from you.
    "mySerial.println("ATD+ +9++++++++++;");
    updateSeries();
    delay (20000); " . Among these command information, if the called number is busy or rejects the call, it must end the call without waiting for 20 seconds. What kind of code should be written for that.

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      if you don't want to add delay then you must used milli timer. you have every seen the code like.
      before the setup function
      long previousMillis = 0;
      long interval = 20000;
      in the loop function
      unsigned long currentMillis = millis();
      if(currentMillis - previousMillis > interval) {
      // save the last time you blinked the LED
      previousMillis = currentMillis;
      //here do whatever you want
      }
      so, use the above code for reference

    • @mustafaerdekli5954
      @mustafaerdekli5954 2 ปีที่แล้ว

      Mr. Ahmad, thank you very much for your help. I failed to do this. When the other party rejects the call made via Sim800l, it waits for 20 seconds. However, when the other party refuses, the call must be terminated immediately. Below I am sending you my own code. I would be very grateful if you could make this code the way I want it.
      //SL IDEAS
      #include
      SoftwareSerial mySerial(3, 2);


      int pirsensor = 11;

      void setup() {
      randomSeed(analogRead(0));
      Serial.begin(9600);
      mySerial.begin(9600); // original 19200. while enter 9600 for sim900A
      Serial.println(" logging time completed!");
      pinMode(pirsensor, INPUT);


      delay(100);

      }

      void loop() {


      if ( digitalRead(pirsensor) == HIGH)
      {
      Serial.println("making call");

      mySerial.println("AT"); //Once the handshake test is successful, i t will back to OK
      updateSerial();

      mySerial.println("ATD+ +905+++++++++;"); // change ZZ with country code and xxxxxxxxxxx with phone number to dial
      updateSerial();
      delay(20000); // wait for 20 seconds...
      mySerial.println("ATH"); // hang up
      updateSerial();

      delay(2000);
      mySerial.println("AT"); // SEEKING 2nd TEL
      updateSerial();

      mySerial.println("ATD+ +905+++++++++;"); // change ZZ with country code and xxxxxxxxxxx with phone number to dial
      updateSerial();
      delay(20000); // wait for 20 seconds...
      mySerial.println("ATH"); // hang up
      updateSerial();

      delay(2000);
      }
      if ( digitalRead(pirsensor) == LOW)
      {

      ;
      delay(1000);
      }

      }




      void updateSerial()
      {
      delay(500);
      while (Serial.available())
      {
      mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
      }
      while(mySerial.available())
      {
      Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
      }
      }

    • @subhendumondal1682
      @subhendumondal1682 ปีที่แล้ว

      @@AhmadLogs Hello Mr. Ahmad, Could you please guide me where to put the script in the loop function?
      long previousMillis = 0;
      long interval = 20000;
      void loop(){
      while(sim800.available()){
      Serial.println(sim800.readString());
      }
      while(Serial.available()) {
      sim800.println(Serial.readString());
      }
      int val = digitalRead(pir_sensor); // read sensor value
      Serial.print("Sensor Value is: ");
      Serial.println(val);
      if (val == HIGH) { // check if the sensor is HIGH
      Serial.println("Motion detected, Theft Alert !!!");
      Serial.println("Calling....");
      delay(1000);
      sim800.println("ATD"+PHONE+";");
      delay(20000); //20 sec delay
      sim800.println("ATH");
      delay(1000); //1 sec delay
      }
      else
      {
      val = LOW;
      Serial.println("You are Safe...");
      }
      }

  • @birukgetu3345
    @birukgetu3345 2 ปีที่แล้ว

    dear sir, how i incorporate multiple other alarm sensors with this project, please help me i have a project with that within this two weeks

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      you need to update the sketch to use multiple sensors

    • @birukgetu3345
      @birukgetu3345 2 ปีที่แล้ว

      @@AhmadLogs how, please help

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@birukgetu3345 you need to make functions for each sensor. After making all sensor functions you need to add that functions to my sketch

    • @birukgetu3345
      @birukgetu3345 2 ปีที่แล้ว

      @@AhmadLogs thank you very much sir, a working with it

  • @Rahul-bk3fq
    @Rahul-bk3fq 3 ปีที่แล้ว +1

    Code me kisi library ki jarurat hai ?

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      no library needed.

    • @Rahul-bk3fq
      @Rahul-bk3fq 3 ปีที่แล้ว +1

      Lekin code me to #include likha hai iska matlab

    • @AhmadLogs
      @AhmadLogs  3 ปีที่แล้ว +1

      @@Rahul-bk3fq it is a built-in library. you dont need to install it.. used for serial communication between arduino and sim800l.