SIM800L Home Automation Project Using Arduino and Push Buttons

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ต.ค. 2024

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

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

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

  • @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]+";");
      }

  • @محمدمهدیترکمانی-س1ع
    @محمدمهدیترکمانی-س1ع ปีที่แล้ว

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

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

    Hi sir .your video best information

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

      Thanks and welcome

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

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

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

      SO NICE OF YOU

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

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

  • @rockfireist
    @rockfireist 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      sure I will try

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

    Excellent project sir. Thanks for Sharing project with code.

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

      So nice of you

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

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

  • @JamesMwangi-oj6sf
    @JamesMwangi-oj6sf วันที่ผ่านมา

    Helloo there,my project involves controlling the relay using a string within a string...how can i achieve this please? alittle stuck.

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

    Nice project, Sir.. God Job! Amazing

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

      Thank you very much!

  • @mymail-f9e
    @mymail-f9e ปีที่แล้ว +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  ปีที่แล้ว +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");
      }

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

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

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

      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 ปีที่แล้ว

      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?

  • @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

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

    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.

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

    can you please give us full codes?
    in comments?

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

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

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

      give me some more detail

    • @dabhichandresh5955
      @dabhichandresh5955 ปีที่แล้ว +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 ปีที่แล้ว +1

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

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

      Ashi system banao jish se farmar ko aaram mile.

  • @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

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

    SUPERB ! 👍👍👍 as always.

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

      Thank you so much 😀

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

    Thank you Ahmad

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

    NICELY EXPLAINED.

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

      Glad it was helpful!

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

    Verry nice project sir

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

      So nice of you

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

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

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

      Great 👍

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

    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.

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

    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 2 ปีที่แล้ว

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

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

    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

  • @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

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

    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

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

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

  • @СергейИванович-к7л
    @СергейИванович-к7л ปีที่แล้ว

    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.

    • @СергейИванович-к7л
      @СергейИванович-к7л ปีที่แล้ว

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

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

    sir can i use normal ac switches behalf of push buttons

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

    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?

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

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

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

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

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

    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?

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

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

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

      Glad you like it!

  • @youlearnchannel5383
    @youlearnchannel5383 2 ปีที่แล้ว +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.

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

    Nice video, very useful

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

      Glad it was helpful!

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

    Good work thanks

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

      so nice of you

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

    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  2 ปีที่แล้ว

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

  • @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 !!

  • @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

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

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

  • @SouravChakraborty-l5t
    @SouravChakraborty-l5t 9 หลายเดือนก่อน

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

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

    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

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

    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  ปีที่แล้ว

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

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

    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

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

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

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

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

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

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

  • @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

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

    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  2 ปีที่แล้ว

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

  • @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

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

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

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

      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 2 ปีที่แล้ว

      @@AhmadLogs thanks..

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

      @@Javedansari-yl6ts welcome

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

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

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

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

  • @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.

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

    amazing sir

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

      Thanks and welcome

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

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

  • @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

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

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

  • @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

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

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

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

      give me some more detail

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

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

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

      @@kantilab will try in next version

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

      @@AhmadLogs thanks 😊

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

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

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

    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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

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

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

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

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

      Not planned yet

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

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

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

      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 2 ปีที่แล้ว

      @@AhmadLogs no luck🙃

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

      @@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 2 ปีที่แล้ว

      hi, got the chance to look into this

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

    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.

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

  • @J.Navelo
    @J.Navelo ปีที่แล้ว

    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

  • @sultansingh-c5s
    @sultansingh-c5s 9 หลายเดือนก่อน

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

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

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

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

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

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

      hmmm. it required to update the code.

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

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

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

      this feature is available in the project

  • @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

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

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

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

      yes it is possible

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

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

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

      @@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  2 ปีที่แล้ว

      @@adlanhugo353 will try

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

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

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

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

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

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

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

    Does this code work on gsm900a

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

    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  2 ปีที่แล้ว +1

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

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

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

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

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

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

      give me some more detail

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

    How to own write arduino language?

  • @mymail-f9e
    @mymail-f9e ปีที่แล้ว

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

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

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

    • @mymail-f9e
      @mymail-f9e ปีที่แล้ว

      @@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  ปีที่แล้ว +1

      @@mymail-f9e can you give me the full detail about the issue.

    • @mymail-f9e
      @mymail-f9e ปีที่แล้ว

      @@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  ปีที่แล้ว +1

      @@mymail-f9e can you share the code?

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

    Sir how to work phone number saving codes

  • @91-anonymous
    @91-anonymous 11 หลายเดือนก่อน

    sir relay on off command responce error

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

    he sends warning sms when he calls by the button

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

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

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

    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  2 ปีที่แล้ว

      please give me some more detail

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

      @@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  2 ปีที่แล้ว +1

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

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

      @@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 2 ปีที่แล้ว

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

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

    I have Arduino nano if paste code working ?

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

      yes, I will work like a charm.

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

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

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

    Frind for admin register need send r or R fisrt ?

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

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

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

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

  • @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.

  • @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

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

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

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

      hmmmm.

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

      @@AhmadLogs sir i am waiting for your reply

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

      @@kantilab I will add it in version 5

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

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

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

      Please sir….

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

    Hi my friend

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

      Have a nice day

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

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

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

    İt is now time to add this project adjustable timer functions. For example, when i want to open my relays for 4 hours or for one day long. Also, i suggest that u need to apply this project to esp32 or some kind of strong MCU. Arduino is still ok for the project but the doaction functions is overloading sometimes.
    Thanks for your kindness.

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

    Sir, please add the dialing function

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

      hmmmm. will try

  • @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

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

    cant woking plz help

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

    its work normal but need +DTMF

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

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

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

    Nice Dear sir
    Plz add code AceButton code

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

      Ok

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

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

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

      @@tecvishnu unfortunately I did not update it yet

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

    Bro same process plz GPRS...

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

      please give me some more detail

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

    Hello sir aapka sabhi video dekhta hun
    per aap ek bhi video Hindi mein nahin banate Ho
    aisa kyon sar
    kuch video Hindi mein bhi banaya karo
    sar main jyada padha likha nahin hun lekin mujhe dilchaspi bahut hai lekin aapke English ke vajah se mujhe samajh nahin aata
    sar mere comment ko galat mat samaj main nahin aata

  • @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