SIM800L Home Automation Project Using Arduino and Push Buttons

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ค. 2022
  • Here is the latest and the updated version of my IOT Based Home Automation Project using SIM800L. In this project I have tried to solve the issues that are present in the previous version of the project. I have also add the push buttons support to make this project more useful. So now you can control the project by send the SMS as well as using the push buttons. First you will have to register your phone number with the project. You can easily register your phone number by just sending SMS from your mobile phone. You will also get the feedback of all the command, that you will send to the project from your mobile phone. If you accidentally send wrong command, you will still get back the response on you phone as error message. So you can debug the project without using the serial monitor.
    Features of the Project
    1. Only the registered phone numbers will be used to control the project.
    2. Register maximum five phone numbers
    3. Control 4 Channel Relay Module by SMS
    4. Received the Status of the relays on your mobile phone
    5. Delete any register phone numbers
    6. Push button Control
    7. Reload Relay Status after power up the Arduino
    Parts Used in This Project
    1. Arduino UNO - amzn.to/3ZWKAz2
    2. SIM800L GSM Module - amzn.to/3J48mlW
    3. 2G SIM Card
    4. Relay Module (4 Channel) - amzn.to/3YJXa3w
    5. Push Buttons
    6. AC bulbs with holder (x4)
    7. Jumper Wires
    8. Breadboard
    9. Battery 3.7v 78000mAh - amzn.to/3ZAxV51
    --------------------------------------------------------------------------------------------------------------------
    Useful Video Links
    --------------------------------------------------------------------------------------------------------------------
    Version 1. SIM800L Register Phone Number by SMS
    • Arduino SIM800L Relay ...
    Version 2. DTMF | Arduino SIM800L Relay Control with SMS
    • DTMF | Arduino SIM800L...
    --------------------------------------------------------------------------------------------------------------------
    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: I will use High Voltages which if incorrectly or improperly used could result in serious injuries or death. So be careful of what you are doing because I will take no responsibility for any of your actions.
    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.
    #Arduino #SIM800L #HomeAutomation

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

  • @peraxoritis
    @peraxoritis 7 หลายเดือนก่อน +1

    Surprising! That's wonderful. Keep up the good work, more knowledge for us. Thank you.

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

    boy you are my savior . love it . i had problems on this for almost a week

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

    I like the way you explain the program function, specially the details and short presentation of moving the data

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

      SO NICE OF YOU

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

      if anyone have different phone length u also need to modify the number on this line of code : String temp = text.substring(3, 17);

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

    Wonderful! This is great bro. Keep the good work going, more knowledge for you.

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

    Excellent work sir thanks for sharing this great project. Sir please also add eeprom in your 4 in 1 gsm project which was having IR remote also thanks in advance

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

      Ok I will try

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

    Nice project, Sir.. God Job! Amazing

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

      Thank you very much!

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

    I really like your very useful project, thank you.!

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

      Glad you like it!

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

    Thanks Bro, I will give it a go this coming week end.

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

      Hope you enjoy

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

      @@AhmadLogs no luck bro, I don’t know why, anyway I did manage to wrote a simple code and it is working while connected to pc/serial, and once i disconnected it from usb. sms message seems can’t read. Maybe you can help on this thanks

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

    thank you so much bro i'll try to do this project and modify it with gps tracker

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

    Excellent project sir. Thanks for Sharing project with code.

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

      So nice of you

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

    Hi I cannot locate the source to this project in your GitHub repository all I can see is sim800 relay which has a different code

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

    I watched your SIM800l tutorials, I am able to register 5 phone numbers by watching your videos. But can you please tell me how can I make a call to admin number which is stored in EEPROM memory when a switch is pressed. It works for the first time but if I turn off the arduino power supply it doesn't work. Please suggest me. Thanks in advance.

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

    SUPERB ! 👍👍👍 as always.

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

      Thank you so much 😀

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

    Great work, i did lmost the same using your micro python code with the pico project.

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

      Great 👍

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

    NICELY EXPLAINED.

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

      Glad it was helpful!

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

    Thank you Ahmad

  • @dabhichandresh5955
    @dabhichandresh5955 11 หลายเดือนก่อน +1

    Hi sir .your video best information

    • @AhmadLogs
      @AhmadLogs  11 หลายเดือนก่อน +1

      Thanks and welcome

  • @Ais-qc1bc
    @Ais-qc1bc ปีที่แล้ว

    sir, i was connected my sim module with 2s lipo battery then it was damaged. is possible to fix it???

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

    Hello Ahmed, I want to send me an sms when the device is turned on to start, so that when it is turned on remotely, what changes should I make in the code?

  • @user-dq9ud3bf5f
    @user-dq9ud3bf5f 11 หลายเดือนก่อน +1

    In this code and video, the response is sent only when the module is controlled via SMS.
    But I want SMS to be sent by pressing the buttons. For example, when the first button is pressed, an SMS is sent like this: "Button1 has been pressed"

    • @AhmadLogs
      @AhmadLogs  11 หลายเดือนก่อน +1

      connect a button to arduino. then set the button pin i.e. int buttonPin = 1. in the setup pinMode(buttonPin, INPUT_PULLUP);
      In the loop()
      if(buttonPin == LOW) {
      delay(200);
      Reply("Hello", "PhoneNumber");
      }

  • @nitishkumar-sp6xe
    @nitishkumar-sp6xe ปีที่แล้ว

    Please add the flames and gases sensor feedback notification with sms and add the one more features is that if project is start to run then add the call and sms function which gives the notification is system is active

    • @nitishkumar-sp6xe
      @nitishkumar-sp6xe ปีที่แล้ว

      This is bumble request to you plz make the video on this. Or may be shared code alao in the description plz sir

  • @GREAT-ATA
    @GREAT-ATA ปีที่แล้ว +2

    I can't appreciate you enough for being such so kind hearted. Thank you for all your quick responses and prompt actions.
    My own problem is that
    1 *arduino needs to reboot after each action has been completed*.
    2 how can I add DTMF to the project . so I can make calls to control the relays too.
    Please how can I achieve this?
    I await your response with urgency, thanks in anticipation.

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

      here is your answer th-cam.com/video/Hq1ZGWWc0e4/w-d-xo.html

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

      Hello Ahmad, your videos and explanations are great, I need your help, how can I do so that all registered numbers receive messages, for example, when a relay has been turned on or off... I hope you can help me solve my problem... Greetings

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

      @@pablotorrea9901 you can use the following function to make call to all registered phone numbers.
      void make_calls()
      {
      int phoneLength = 13;
      char data[phoneLength + 1];
      for (int i = 0; i < phoneLength; i++)
      { data[i] = EEPROM.read(addrOffset + i); }
      sim800.print("ATD"+data[phoneLength]+";");
      }

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

    Good work thanks

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

      so nice of you

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

    Thx for thr project bhai. Well, an doing the same project but the relays not responding. When i send a message it shows the relay 1 to be on but no reaction on the relays to turn on. What might be the issue

  • @s.husain6125
    @s.husain6125 2 ปีที่แล้ว

    Verry nice project sir

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

      So nice of you

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

    Hello Ahmed. Thank you very much for your good and useful training. I need your help to add a small section to this code. How can I get your help? By what means of communication?

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

    Hello Ahmad Khan
    Great as always
    If possible, write the read and write function of phone numbers for external eeprom, such as 24lc ... so that this program can be used on microcontrollers that do not have internal eeprom.
    Thank you befor🙏

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

      Ok I will try

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

      @@AhmadLogs
      Hi si Big project
      Can you increase the temperature sensor and control the max and min value?

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

      @@amirtelecom6898 you want me to add the temperature sensor in this project. Am I right?

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

      @@AhmadLogs
      Yes if possible
      Please I want to get in touch with you. I need help
      Thank you sir

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

      @@AhmadLogs
      Please help me !!

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

    Dear Ahmad Vai, Assalamu Alaikum. Your videos are very good, informative and useful. Would you please make a tutorial on AC load on/off notification project please? In that case you can use SIM800L or SIM900, Arduino Nano and a 5v power adapter for check power on off. The circuit may run by a 18650 lion battery.

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

      will try

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

    wow superb bro,, gr8 explaination, only one problem is when power returns after power cut, we r not getting any acknowledgment message last status, and power return messages,, can u solve this problem bro,,,

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

      sure I will try

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

    Awesome, Thank you! But how do you get the relay board to start with all off instead of all on?

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

      The Relay he used in the project has three plug-ins. Common, Normally Open and Normally Close. A cable, either positive or negative must go into Common. If the second cable is plugged into Normally Open, the relay will default ON. If plugged into Normally Close, the relay will default OFF.

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

      Hello Ahmed, I want to send me an sms when the device is turned on to start, so that when it is turned on remotely, what changes should I make in the code?

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

    sir can i use normal ac switches behalf of push buttons

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

    I hope on your future video you will use esp8266 or esp32.. by using blynk or txt msg. it can control or something like a home security

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

    trying to register with R I have +CMGR: "REC UNREAD" in my serial monitor, whats that means ? thanks

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

      if mean your module have received an sms. have you get back the response?

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

    Morning please if anyone can help me as soon as possible.
    I uploaded the code directly the relays start from on as show in the video but when I change the phone length from 13 to 14 and upload the code, the relay doesn't even start from on and when I try register phone no, it was registered but when I send command it only appears on serial monitor and reply "relay 1 on" but no response on the relay at all

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

      it works perfectly on 13 digits phone numbers. have you registered your phone number correctly?

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

    Hello, I made the connections, the led of the gsm module is on every 3 seconds. However, when I call, the phone does not pick up. It says on the serial screen constantly calling and sending sms. Can you help me?

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

    Nice video, very useful

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

      Glad it was helpful!

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

    amazing sir

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

      Thanks and welcome

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

      does the second phone number registration have to be from the same phone number

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

    Hello Ahmad, i like your tutorials. Could you just create a simple code to register 2 numbers, and in the void loop section, to be able to add some more code if we want to? I would appreciate that a lot. Thanks in advance.

  • @nitishkumar-sp6xe
    @nitishkumar-sp6xe ปีที่แล้ว

    Are you providing online language course for iot and gsm based project..

  • @user-ht2wo8xv9w
    @user-ht2wo8xv9w 4 หลายเดือนก่อน

    Sir, please add the DFPlayer mini with this pogram.
    Thank you.

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

    Hello sir Ahmed I have a question, how can I send a message to all numbers stored in EEPROM just in case I want to send a specific message to all numbers that is registered

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

      you need a loop to iterate through each number and make a call using ATD command

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

    sir how we can read response of outgoing call from sim800l ?
    how we know that our outgoing call is
    : answered
    or
    Not connected
    or
    Made Busy
    etc ?

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

      unfortunately I never do it before.

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

    hi, i want to add DHT 11 into this project how can i do

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

    It project arduino is the best 👍
    But; how to make is this project for 4 relay is on to 2 second and off automatic all 4 relay?

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

    Is this working in Canada? There is no more 2g services and 3g is meant to be shut in 2025

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

    Hello sir. Everything works well but when i send a message, the relay board does turn on or off. And am sure the relay board works well and the circuit is well connect. Wha might be the issue there? Plz help me out.

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

      check serial monitor send me the output

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

    everything working perfectly except identifying the button or SMS triggered, how to achieve this? it will be much better if the button is pressed to send SMS content along with the BUTTON PRESSED message to the registered numbers...this will help to identify if anyone is mishandling the system...

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

      hmmm I will try to update it

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

    Hello Sir
    Thanks for sharing this proyect. Is very helpfull for learn about arduino an GSM. I have one question. How i can add more telephone numbers to the list? For example the same but for 10 telephone numbers?
    thanks again

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

      it is very simple if you have a little programming knowledge you can easily do it

  • @user-bt8be4lw8t
    @user-bt8be4lw8t 4 หลายเดือนก่อน

    hello sir gsm not reply on off relay please help this video

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

    Place code this function for command ((1 on )) sms to sim800l ; relay is on to 2 seconds and off 🙇‍♂️please help me

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

    i want try to make a program that read a sensor value and call in the registered phone number..which phone number is registered by using sms..help me sir

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

      I will try soon

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

    Hello Ahmed Khan
    Most of the time, we face insufficient pin in programming
    It is possible to write a program that controls 16 relays using SMS and using shift register and 4 Arduino pins.

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

      you can use shift register to increase the gpio. it is possible

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

    sendstatus function is not working properly. It alwasy send relay* is ON sms even though i sent 3off command.

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

      hmmm. it required to update the code.

  • @IRAQTube-Bilal
    @IRAQTube-Bilal ปีที่แล้ว

    Hello bro
    Can you help me to make DTMF appliances control with audio feed back by using Arduino Uno , sim 800L and DF player-mine MP3 player

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

    There are problems Mr. Ahmad. The old extractSMS function was working properly. Why did you change it? Now I cannot register the phone number by R command.

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

      the old code was not as efficient as the new code. that's why I have changed it to new one. I will also use the new code in my latest projects. what response you get, when you send r command

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

      @@AhmadLogs resetsin800l function is working when i power the system. İ use Arduino nano. İ think the problem is eeprom addresses.

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

      @@alperkaplan5400 you might test your eeprom first. just upload the eeprom example code to see if it is working or not. to store phone numbers eeprom you need first 64 bytes (if the phone number length is 13).
      or you need first 69 bytes (if the phone number length is 14).

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

      Ok I'll try and let you know thanks

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

      @@AhmadLogs
      When I make phone lenght 14, the output is like below. I am sure there is a problem in your code. Please help me to figure out the issue.
      SIM800L software serial initialize
      12:23:13.830 -> ....................SIM800L Not Ready
      Registered Numbers List:
      1. Empty
      2. Empty
      3. Empty
      4. Empty
      5. Empty
      Relay1 is OFF
      Relay1 is ON
      Relay1 is OFF
      Relay1 is ON
      Relay1 is OFF

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

    Does it mean when I change the phone length, there's something I have to change as well

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

      it works perfectly on 13 digits phone numbers

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

    Hi Ahmad, how to add if the dedicated button is pressed send an SMS message saying BUTTON PRESSED like a calling bell

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

      hardware setup: attach one more button to unused pin of arduino
      software setup: define the pin for button before setup function. set the button input pullup in the setup. then go to the control relay function. and there check if the button is pressed using if condition. and inside the if condition use Reply() function. like Reply("Button is Pressed");

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

      @@AhmadLogs no luck🙃

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

      @@AhmadLogs Could you please check the below code for sending out SMS if the gate is open or closed, getting an error when adding Reply(text, caller_id);
      //XXXXXXXXXXXXXXXXXXXXXXXXXXX gate on / off button XXXXXXXXXXXXXXXXXXXXXXXX
      void gate_on_off_button(){
      if(digitalRead(BUTTON_2) == LOW){
      //control_gate(1, RELAY_1,STATE_RELAY_1 = HIGH,caller_id){
      // control_gate(1, RELAY_1, STATE_RELAY_1 = HIGH);
      control_gate(1, RELAY_1, STATE_RELAY_1);
      }
      }
      void control_gate(int relay_no, int relay_pin, boolean &status){
      delay(200);
      String text = (status)? "GATE CLOED !!!" : "GATE OPEN !!!" ;
      status = !status;
      digitalWrite(relay_pin, status);
      Serial.println(text);
      delay(100);
      }
      //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

      hi, got the chance to look into this

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

    Hi Ahmad. Thanx for your great job, it’s really impressive. Could you advice with the code if I use sim 900 instead of sim800l. This code is not working with sim 900

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

      unfortunately I did not have sim900 module. so I am unable to answer. As I know, you need to modify some of the AT commands in the code.

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

      @@AhmadLogs anyway, thanx for your video. It helps me a lot. Will continue to find code for my sim900

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

    Thank you sir may you explain about mit app inventor for this project?

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

      Not planned yet

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

    Tauseef Bhai can you please do another video modifying this code to send sms to all the registered/ eeprom stored phone numbers one by one when the Pir sensor detects the motion.
    Awaiting your earliest response.
    Kind regards.

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

    Sir it's project perfect but mit app to opreting please

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

    This is an amazing project! How do I add DTMF feature in this project?

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

      check this th-cam.com/video/Hq1ZGWWc0e4/w-d-xo.html

  • @Javedansari-yl6ts
    @Javedansari-yl6ts ปีที่แล้ว

    Is this any reason you use 3.7v external battery. why are you not use node mcu 3.3 volt pin..

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

      sim800l required voltages 4.4v to 3.4v. so we cannot use 3.3v pin of nodemcu. if you don't want to use battery you can use lm2596 dc to dc buck converter. and adjust the voltages for sim800l using buck converter

    • @Javedansari-yl6ts
      @Javedansari-yl6ts ปีที่แล้ว

      @@AhmadLogs thanks..

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

      @@Javedansari-yl6ts welcome

    • @Javedansari-yl6ts
      @Javedansari-yl6ts ปีที่แล้ว

      @@AhmadLogs can i also use LM317 voltage regulator ic
      From 5v supply for sim800l ..

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

      @@Javedansari-yl6ts yes you can. just give it a try

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

    How to keep the relay off even after the power failure or reboot?

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

      this feature is available in the project

  • @user-bv3ld1js1l
    @user-bv3ld1js1l 10 หลายเดือนก่อน

    Hello Ahmad
    Thank you for sharing.
    Please can you update Arduino SIM800L GPS Tracker with Register Phone Number V3.
    Registration number v3 works perfectly now with 12 digits.
    I don't know how to insert the functions for the GPS I'm new to arduino coding.
    THANKS

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

      will try soon

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

    he sends warning sms when he calls by the button

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

    Am having issues to add remaining phone number apart from admin phone number

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

      give me some more detail

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

    Sir how to work phone number saving codes

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

    Does this code work on gsm900a

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

    How to own write arduino language?

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

    sir relay on off command responce error

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

    Sir, i am a big fan of you
    sir, i use this project in my home but i found one bug in this. If i lost connection with network after booting uno, Uno can not connect with SIM module again....... please fix this problem.....

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

      I will try to fix it

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

    getting relay Off SMS where Relay is on after the whole system putting off & on each time. command used "stat=1", I think the code is having a bug.

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

      please give me some more detail

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

      @@AhmadLogsI have sent 1on sms to turn on rely & reboot the arduino then sent the sms stat=1 which gives the relay Off sms back but relay 1 is already on , how to turn off all rely when reboot the arduino? This will help the pump to be off when power failure happens

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

      @@pookoye I have updated the code. download the latest copy of the code, test it yourself and let me know

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

      @@AhmadLogs Thanks Ahmad, just today I have seen your update & haven't got notified, what is the update? is that related to the wrong SMS update on relay ststus?

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

      ​@@AhmadLogs How to clear the SMS stored in the SIM, is there any code or command to do?

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

    Hi, the video was great. Thank you. There was no code link in the description. Can you send me the code download link?

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

      github.com/ahmadlogs/arduino-ide-examples/tree/main/sim800l-reg-phone-v3

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

    Dear Friend. Could you please upload your latest Phone Registration Code . Because. when I checked the code with the you tube code you were scrolling, it was different. It seems you were not checking your originally uploaded code . So if you could upload your new code it would be much better. Anyway I thank you for
    1. Not Recording this Tutorial with ear bursting sub standard so called music. You tried to gave us good Explanation. Thank you for that.
    2. You tried to give answers to most of the help asked. Thank you..
    The only Confusing part is Phone Registrations. In Other video you started like " Registering phone is easy Just Type R1 = . This was total confusing. You could start out with
    Firstly
    1. How to store phone numbers in EPPROM by Explaining + Giving a Good Code.
    2. Then Go for GSM code and wiring.
    So a tutorial can Goes like this.
    1. Show us what your project do. So if the people who are watching this are not interested they will go.
    2. For those who are interested , Split tutorial into 3 parts.
    1. What this project will do and Parts needed.
    2. Registering Phone
    3. GSM Part.
    All these can be put in one video easily.
    Why people were so confused because of the phone registering part. Still it is confusing. Usage 100000 can be easily over come by updation I think.
    My last advice. When you make tutorial next time,
    1. Do not make it for experts and do not make it for half boiled eggs.
    2. Make it for beginners. So that All doubts will be answered in the video itself. Any one can use that Tutorial (Beginner to expert).
    WHERE did you use the newly added phoneLength. I downloaded the code and did not find any.
    Where is do_action command
    Anyway Thank you very much for the tutorial. Please upload/or give us the links to your new phone registration code

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

      First of all, thank you for giving your valuable time to my channel. Now let me try to answer your questions.
      1. Could you please upload your latest Phone Registration Code
      check the description of the video for the link of the latest code. this is the same code that I have scrolled in the video.
      2. The only Confusing part is Phone Registrations.
      please give me some more explanation about how to improve this code, your suggestions will be appreciated.
      3. Show us what your project do. So if the people who are watching this are not interested they will go.
      This is the a perfect suggestion I will surely follow it in my next videos
      4. Why people were so confused because of the phone registering part. Still it is confusing. Usage 100000 can be easily over come by updation I think.
      I have improved the code to overcome the issue with the phone registration process. but I still did not get any hint from the viewers, to figure out the issue. The write cycle of EEPROM memory is enough as I have demonstrate in the version 2 of the EEPROM memory. it the updation is more useful, then I will try to replace write method with EEPROM update function.
      5. WHERE did you use the newly added phoneLength. I downloaded the code and did not find any. Where is do_action command
      the phoneLength is used in different parts of the code. the function is doAction not the do_action. this function is starts from the line number 270
      6. My last advice. When you make tutorial next time.
      I have noted. I will try to make video just from scratch.

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

      @@AhmadLogs Thank you for your valuable reply. Thanks a lot. But now the problem we have here is we have no 2G support or card available. Could you please post the same with 4 G Sim Card

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

    The pogram is work properly. please add DTMF this pogram.

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

      th-cam.com/video/Hq1ZGWWc0e4/w-d-xo.html

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

    sir ji I want this code with dtmf and ATD on admin number

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

    Sir, I am Tested and working all functions properly . But Replay message shows below error sir,
    1on - Output 5 pin Relay is ON - and Replay message - Relay 1 is ON
    1off- Output 5 pin Relay is OFF - and Replay message - Relay 1 is ON
    Same Replay message for other 3 relays.
    I am upload code by using Arduino IDE 1.8.12
    But all other functions like Store number , Delete number , stauts ,EEPROM , Input Switch 100% working properly.
    Sir, please replay a solution for correct Replay message.
    Once , Thanks for Developing and Shared above very useful project.

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

      I have updated the code. please download the latest copy of the code

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

      Dear Ahmad sir, Thanks for your valuable replay & updated code Sharing. Sir, one request , updated code download link please . After testing surely replay sir. Best wishes for your New Projects and code development.

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

      @@renjithcatek7435 thanks, check and let me know

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

      Sir, one request , updated code download link please .Thanks

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

      @@renjithcatek7435 the same link in the description

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

    can you please give us full codes?
    in comments?

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

    Dear Sir it is possible to add the timer function please thank you for the effort you are making

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

      yes it is possible

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

      you can send us the enforcement code adding timer and call
      Thanks

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

      @@adlanhugo353 I did not write it yet. I will soon make the version 4 of the project. and will try to add these features.

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

      @@adlanhugo353 will try

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

      Please can you add me the code with the timer and call

  • @dabhichandresh5955
    @dabhichandresh5955 11 หลายเดือนก่อน +1

    Sir kya hum pawar on and send sms code add kar sakte he?

    • @AhmadLogs
      @AhmadLogs  11 หลายเดือนก่อน +1

      give me some more detail

    • @dabhichandresh5955
      @dabhichandresh5955 10 หลายเดือนก่อน +1

      Gsm module mein power aate hi power on ka sms aaye or power cut hone par power cut ka sms aaye a code add Karege to khet me light aate hi sms aaye taki pata chale ki khet me light aayi he .or mobail se water pump on off bhi kar sake ..

    • @dabhichandresh5955
      @dabhichandresh5955 10 หลายเดือนก่อน +1

      th-cam.com/video/Kb1JU7wt1EQ/w-d-xo.html

    • @dabhichandresh5955
      @dabhichandresh5955 10 หลายเดือนก่อน +1

      Ashi system banao jish se farmar ko aaram mile.

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

    Hi sir .. I am request to make GSM bastard motor controller 3 phase motor in farm.
    Plzz make.

  • @MohamedMohamed-kv5pw
    @MohamedMohamed-kv5pw ปีที่แล้ว

    Thank you, I follow your channel.
    Unfortunately, I did not find even one code that works. 😪😪

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

      so sad. I try my best to provide the content that will work for my viewers. So any advice from you will be appreciated.

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

    I have Arduino nano if paste code working ?

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

      yes, I will work like a charm.

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

    I want to add alarm system on same project. Is this possible???

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

      give me some more detail

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

      @@AhmadLogs please include push button for one click calling on digital pin 13

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

      @@mrengineer9211 will try in next version

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

      @@AhmadLogs thanks 😊

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

      Sir, please update this project…. I am waiting for your reply

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

    cant woking plz help

  • @user-dq9ud3bf5f
    @user-dq9ud3bf5f 11 หลายเดือนก่อน

    hi, how can send SMS when push buttons pressed!?

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

      use in the loop()
      if(buttonPin == LOW){
      Reply("Hello");
      }

    • @user-dq9ud3bf5f
      @user-dq9ud3bf5f 11 หลายเดือนก่อน

      @@AhmadLogs thanks dear Ahmad.. i did that,, but i want to change the state one of outputs too..all things okay, but the registered phone was not work for this operation, i define caller id for this function ... but after compiling, i faced the error about saved number

    • @AhmadLogs
      @AhmadLogs  11 หลายเดือนก่อน +1

      @@user-dq9ud3bf5f can you give me the full detail about the issue.

    • @user-dq9ud3bf5f
      @user-dq9ud3bf5f 11 หลายเดือนก่อน

      @@AhmadLogs I'm going to add an input to this circuit that when triggered - for example when it becomes HIGH- one of the similar outputs will be activated(like led). At the same time, send a text message.
      So I want to add an option for security system like PIR sensor .

    • @AhmadLogs
      @AhmadLogs  11 หลายเดือนก่อน +1

      @@user-dq9ud3bf5f can you share the code?

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

    Hello Ahmad, your videos and explanations are great, I need your help, how can I do so that all registered numbers receive messages, for example, when a relay has been turned on or off... I hope you can help me solve my problem... Greetings

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

      you can use the following function to make call to all registered phone numbers.
      void make_calls()
      {
      int phoneLength = 13;
      char data[phoneLength + 1];
      for (int i = 0; i < phoneLength; i++)
      { data[i] = EEPROM.read(addrOffset + i); }
      sim800.print("ATD"+data[phoneLength]+";");
      }

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

      ok thanks, I just don't understand how I should call the make_calls function so that it interacts with the doAction function and the Reply function, so that it sends messages to all registered numbers

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

      @@pablotorrea9901 Sorry the above function was wrong.
      use the following Reply() function, instead of original one.
      void Reply()
      {
      int phoneLength = 13;
      char data[phoneLength + 1];
      for (int i = 0; i < phoneLength; i++)
      {
      data[i] = EEPROM.read(addrOffset + i);
      String myString = String(data[i]);
      sim800.print("AT+CMGF=1
      ");
      delay(1000);
      sim800.print("AT+CMGS=\""+myString+"\"
      ");
      delay(1000);
      sim800.print(text);
      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.");
      delay(20000); //20 second delay.
      }
      }

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

      thanks friend, one more question the addrOffset variable must be declared within the () of the reply function or I can declare it within the for function, because if it is not declared it throws an error.

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

      Hello Ahmad, the reply() function that you indicated did not work quite right, it only sends a message and it is to the administrator, it carries out the process of sending the messages by viewing it on the serial monitor. I replaced all the call_id strings with myString ..
      I can't understand if I'm doing something wrong, please help. A video tutorial with the explanation would be very helpful

  • @mostafa-ke8kk
    @mostafa-ke8kk 2 ปีที่แล้ว

    thanks

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

      thank you too

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

    Hi my friend

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

      Have a nice day

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

      @@AhmadLogs thanks;
      If i want; relay 1to 4; after receiving sms on; just for 2 seconds on and off to be, this code whit this project;how to do?

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

    please include push button for one click calling on digital pin 13… i am still waiting for this project…

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

      hmmmm.

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

      @@AhmadLogs sir i am waiting for your reply

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

      @@mrengineer9211 I will add it in version 5

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

      @@AhmadLogs i am waiting. I love your all work…. 💕 thanks 😊

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

      Please sir….

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

    Sir, please add the dialing function

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

      hmmmm. will try

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

    Frind for admin register need send r or R fisrt ?

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

      you either send r or R. both commands have the same function.

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

      @@AhmadLogs bt why not register i did but my number length 14 need change 13 to 14 only?

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

    its work normal but need +DTMF

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

      check this th-cam.com/video/Hq1ZGWWc0e4/w-d-xo.html

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

    hello why code error not compile please

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

      compile for arduino uno

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

      @@AhmadLogs i did buterror please send phone number

  • @user-ht2wo8xv9w
    @user-ht2wo8xv9w 4 หลายเดือนก่อน

    Sir , please reply

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

    Friend please i want speak with u u how say with u

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

    Lora ebyte please...

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

      please give me some more details

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

      @@AhmadLogs Lora ebyte E220 or E320 series with esp32 or esp8266 control relays by buttons for long distance.

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

      @@keeper1855 OK I will try

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

      @@AhmadLogs thanks

  • @Graphic-Tech-Art
    @Graphic-Tech-Art ปีที่แล้ว

    Bro same process plz GPRS...

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

      please give me some more detail

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

    Nice Dear sir
    Plz add code AceButton code

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

      Ok

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

      ​@@AhmadLogs hi sir please update code with Ace button

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

      @@tecvishnu unfortunately I did not update it yet