Arduino Sim800l Relay Control with SMS | Control Home Appliances with Arduino and Sim800l

Поділитися
Вставка
  • Опубліковано 24 лис 2020
  • This is a very simple project based on Arduino and SIM800L GSM module. You can control electrical home appliances by using SIM800L that is connected to a 2 channel relay module.
    In this tutorial, you will be able to use the SIM800L GSM module for controlling anything through SMS. To do that, you just need to parse the incoming SMS from SIM800L extract message. After extracting the message Arduino will control your home appliances according to received SMS.
    There are lot of GSM module available in the market but I personally recommends and prefers SIM800L due to its small size.
    #Arduino #Sim800l #ArduinoTutorials
    --------------------------------------------------------------------------------------------------------------------
    Code Download Link
    --------------------------------------------------------------------------------------------------------------------
    github.com/ahmadlogs/arduino-...
    --------------------------------------------------------------------------------------------------------------------
    Parts Needed
    --------------------------------------------------------------------------------------------------------------------
    1 - Arduino UNO - amzn.to/3ZWKAz2
    2 - SIM800L GSM Module - amzn.to/3l6rKGP
    3 - Two Channel Relay Module - amzn.to/3l1aoem
    4 - Mobile Charger 5v 2A
    5 - Two Electrical Bulbs
    6 - Jumper Wires (Male-Male / Male-Female / Female-Female)
    5 - AC Power Extension - amzn.to/3Jvhoti
    --------------------------------------------------------------------------------------------------------------------
    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.
    High Voltages be careful

КОМЕНТАРІ • 289

  • @jonasmaghanoy7297
    @jonasmaghanoy7297 3 роки тому +1

    Woohh impressive sir. So cool. How I hope I could study deep the coding, kind'a hard for me to learn. I'll try harder to study this one. Thank you sir for making such innovative tech. ❣

  • @ismailsinapli
    @ismailsinapli 2 роки тому

    Esselamun aleyküm
    Çok işime yaradı, varlığına şükran kardeş.
    👏🇹🇷
    Good lock my friend.

  • @kentbinaoro9164
    @kentbinaoro9164 3 роки тому

    This is so cool.....I wish I could see your schematic diagram sir.. it is very hard to follow ... I hope you can help me sir for my studies.🥺

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      you may check download link.

  • @rhingenieria6964
    @rhingenieria6964 Рік тому

    the best video for sim 800l

  • @saitammali5138
    @saitammali5138 3 роки тому +1

    thanq so much broooo............!!!!! 100% working>>

  • @moussaab8292
    @moussaab8292 3 роки тому +1

    Please, I have a GSM working on 4 volts, can it be connected to a 5-volt Arduino power supply and put a resistance to reduce the voltage

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      it also required 2Amp burst for sending or receiving sms and making call. Arduino 5v pin does not provide enough current. I have a 5v sim800l module it works only with separate 5v 2amp supply.

  • @user-ri8rs8xl9j
    @user-ri8rs8xl9j 2 роки тому

    you're the best!

  • @edgardoravier5641
    @edgardoravier5641 Рік тому

    Hola, como estas. gracias por el proyecto y ponerlo a disposicion. Consulta cargue los codigos pero quedan las 2 digitales en on.

  • @davidacostagarcia402
    @davidacostagarcia402 10 місяців тому

    Excuse me sir, everything works great but if I add a digitalRead in the void loop the messages dont arrive, like the communication is affected. How should I implement that without affecting the serial comunication?

  • @moussaab8292
    @moussaab8292 3 роки тому

    I have a problem with programming, as soon as I write pine Mode( 7,OUTPUT) the relay works without defining HIGH in the program

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      there is just need a change in hardware. just replace your AC wiring to NC (normally closed) to NO (normally open)

  • @ubaid7979
    @ubaid7979 2 роки тому +1

    Bhai is main pc add kar k rakhna pharega kiya programming upload kar k pc hata k power supply se used kar sakhte hai naa???? Number mil jaega to bohat help ho jaegi main bhi pakistan se hun

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      nahi pc on rakhany ki zaroorat ni hy. but ap ko charger ki 5v pin ko arduino ki 5v pin sy connect kerna ho ga.

  • @shubhamubarhande2122
    @shubhamubarhande2122 Рік тому +1

    Does this gsm module work on 4g sim?

  • @gerardoscotta1642
    @gerardoscotta1642 4 дні тому

    Muy buen proyecto y bien explicado. Gracias

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Hi sir, when we received reply message, need the date and time together with notification,
    How to add the code in CCLK?

  • @mustaphajammeh6723
    @mustaphajammeh6723 9 місяців тому

    Hi,how can I integrate relay with the GSM module to send me messages.

  • @F3ChannelRs3
    @F3ChannelRs3 2 роки тому

    Hi sir, is it possible to add more sender number? or remove that feature? cause i wanna register more than 5 numbers

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      are you talking about this? ua-cam.com/video/OJcGY4ySs4o/v-deo.html

  • @kamalkamel7559
    @kamalkamel7559 Рік тому

    good work, excellent, I have a question for you, is it possible to make a video on the pwm led variation by sms message? example to send sms led=30, the led on at 30, send led=100, the led on complete....
    it's possible, i need this!! thank you so much

    • @AhmadLogs
      @AhmadLogs  Рік тому

      yes it is possible. I will try it soon

    • @kamalkamel7559
      @kamalkamel7559 Рік тому

      @@AhmadLogs ohh, thank you my freind

  • @oet6967
    @oet6967 2 роки тому +1

    thank you sir , i have some questions , i have sim900 and i connected every thing right , and there is a communication between gsm and arduino everything is good except the light is not turn off or on and there is no feedback sent from gsm to the sender phone as (relay has been off or off ) , what is the problem ? all i did is i change the pin of rx and tx to 7 and 8 and i change the pin of the lights please help and thank you alot note : i didn't connect relay yet , im testing in leds lights

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      you need to check the following things.
      1. power supply (check datasheet for more detail)
      2. use good quality wires for tx and rx connection
      3. keep power source close to the gsm module
      4. make a call to gsm module from your phone and listen the tone. also checks the serial monitor.

    • @oet6967
      @oet6967 2 роки тому +1

      @@AhmadLogs i have checked everything , can I communicate with u in email or any other app?

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      you might communicate here. I am here to answer every thing related to the project.

    • @dabhichandresh6128
      @dabhichandresh6128 2 роки тому +1

      Sir i am using sim900 but same problem.

  • @ricardomontiel5198
    @ricardomontiel5198 2 роки тому

    Hello sir. How can add an other phone for receive the message. I mean that two phones receive the status of relays

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      watch the following video ua-cam.com/video/IiheQAMT3kA/v-deo.html

  • @chidiayoanasonye9243
    @chidiayoanasonye9243 2 роки тому +1

    Can I power the arduino using same 5v adaptor ?

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      there are some module in the market that works perfect on 5v. like the one I am using.
      best power source is 3.7v battery or use buck convertoer

  • @mobilestudynk5284
    @mobilestudynk5284 3 роки тому +1

    Bhai india me chalega
    I mean sim 800l indian network supported hai

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      yes, it supports all gsm based networks.

  • @mdsharifulislamsharif3545
    @mdsharifulislamsharif3545 9 місяців тому

    Hello,
    Please, Can you give a Arduino code that two relay 'on' only for 1 minute and 2 minutes when i send 'ON' through sim900a

  • @svsezhil2051
    @svsezhil2051 3 роки тому +1

    Can we use SIM900A? If yes , can we use the same code for SIM900A.

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      yes you can use. I use AT commands in code that will run on almost all gsm modules. that's why it will run on sim900A. but I didn't test it with sim900A.

    • @DARK2SHARK
      @DARK2SHARK Рік тому

      In Sim900a not working properly..... relay wae turned on but didn't turn off

  • @inlandb.villos1872
    @inlandb.villos1872 2 роки тому

    WHAT NUMBER DID YOU PUT IN YOUR CODE A RECEIVER SIMCARD OR THE SENDER SIMCARD?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      enter your personal phone number. you can say it sender phone number.
      note: not enter the gsm module phone number

  • @mahaveerprasad8326
    @mahaveerprasad8326 2 роки тому

    Hi
    Sir, i am using emonlib library in this code for measuring current after that gsm not read msg

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      hmmmm. have your gsm module working fine?

    • @mahaveerprasad8326
      @mahaveerprasad8326 2 роки тому

      @@AhmadLogs yes sir

    • @mahaveerprasad8326
      @mahaveerprasad8326 2 роки тому

      doaction function not working

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      @@mahaveerprasad8326 it only works, if you send sms from the phone number that you have entered in the sketch

  • @edgardoravier5641
    @edgardoravier5641 Рік тому

    Sabras donde estara la falla.
    gracias

  • @azamjahangir3071
    @azamjahangir3071 3 роки тому

    Sim 800l module PTA sa resistor hota hai kia reply me

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      ni, apko register krwana parta hy

  • @chidiayoanasonye9243
    @chidiayoanasonye9243 2 роки тому

    Plz sir which phone number should I put in the code ? . The sim inserted in the sim800L module ? Or my personal phone number in my phone ? .
    If my personal phone , how can I add up to three phone ? numbers

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      The sim inserted in the sim800L module

  • @realexposer
    @realexposer 9 місяців тому

    How to use with 440v ac?

  • @luvochosi3958
    @luvochosi3958 3 роки тому

    I find it very interesting, I am working on a similar project, can i see your code please.

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      In the description

    • @rajasidhu268
      @rajasidhu268 2 роки тому

      oo haini bhrawa code keyon murkh bnayi jana lokannu

  • @klt-rms
    @klt-rms 2 роки тому

    Dear bro,
    As tested with your code, everything ok.but sms is directly save to sim memory and only can send about 40 sms. after that, sms can not receive from sim.can you help me? I tested some code to delete sms from sim memory but still not ok. Below are i tested code AT+CMGDA="DEL ALL"
    AT+CMDA="DEL ALL"
    AT+CMGD=1
    AT+CMGD=1,4
    currently, after over sms 40 quantity, i delete with my phone and install again to sim module. Could you please help? and are there any way to update phone number by remote sms command?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      1. I have used sim800l.println("AT+CMGD=1,4"); in the setup() function.
      when I want to delete the message. I just press reset button of arduino uno.
      2. what issue you are facing while using AT+CMGD=1,4 command
      3. can you please explain the following statement
      "are there any way to update phone number by remote sms command?"
      are you talking about the phone number we have enter in the arduino sketch

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Dear sir, I have two questions 1)when gsm sim 800 power on, i need to received message, because here power cut 4 times per day,
    2) how to change the mobile number from SMS.

    • @AhmadLogs
      @AhmadLogs  Рік тому

      1. not possible using this code. lots of modifications are required
      2. ua-cam.com/video/IiheQAMT3kA/v-deo.html

  • @rajaduraisangari
    @rajaduraisangari 5 місяців тому

    Sir, gsm sim 800l with Arduino relay control by agriculture motor , how to connect the CT coil for low or high Amp motor will turn off motor, need the CT coil connection diagram and code, thanks

  • @dabbarmohsen8696
    @dabbarmohsen8696 Рік тому

    hi
    where to find the application '' sim800" to install it in the Gsm and send the sms
    THANKS

    • @AhmadLogs
      @AhmadLogs  Рік тому +1

      no need to install sim800 separately. sim800 code is with in the ino file.

  • @glob.entertainment
    @glob.entertainment 29 днів тому

    Ahmad, please, if do I need to change the sim800 function in your code to sim900 if I am using sim900. Because I'm a bit confuse. FYI, I'm using sim 900

  • @anildolage9371
    @anildolage9371 3 роки тому

    Onde baixo essa programação?

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      o link está disponível na descrição do vídeo

    • @anildolage9371
      @anildolage9371 3 роки тому

      @@AhmadLogs vc concegue me enviar a programação por email? lageanildo@gmail.com

  • @tajmalitha7292
    @tajmalitha7292 Рік тому

    Sketch uses 7944 bytes (24%) of program storage space. Maximum is 32256 bytes.
    Global variables use 655 bytes (31%) of dynamic memory, leaving 1393 bytes for local variables. Maximum is 2048 bytes.
    how can I solve this problem?

    • @AhmadLogs
      @AhmadLogs  Рік тому +1

      This message is not actually an error, but rather an informational message that tells you how much program storage and dynamic memory your Arduino sketch is using.

  • @tuanvinh7987
    @tuanvinh7987 Рік тому

    I use google translate to record these words, sorry for the inconvenience. Can you tell me about the end of the power cord? Make it so that it can be plugged in, thanks

    • @AhmadLogs
      @AhmadLogs  Рік тому

      just cut out the end of the power plug

  • @marif1586
    @marif1586 5 місяців тому

    sir Arduino programing ki koi Urdu main books available hy

  • @atulpartole747
    @atulpartole747 3 місяці тому

    Can I use 4g sim card

  • @filipinodiynot
    @filipinodiynot 2 роки тому

    hello Sir, I tried to upload the code but no luck, it seems it is not receiving SMS. can manage to detect a call and just show ring and no carrier on serial. any help is highly appreciated.

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      what is the led status of your gsm module

    • @filipinodiynot
      @filipinodiynot 2 роки тому

      @@AhmadLogs led status ok sir,
      AT+CMGD=1,4
      OK
      AT+CMGDA= "DEL ALL"
      OK
      at+cops?
      +COPS: 0,0,"T-Mobile"
      OK
      at+cops=?
      +COPS: (2,"T-Mobile","TMO UK","23430"),(1,"O2","O2 -UK","23410"),(1,"vodafone","voda UK","23415"),,(0-4),(0-2)
      OK
      at+csq
      +CSQ: 6,0
      OK
      seems signal is ok, im here in UK sir- thanks

  • @syahnanification
    @syahnanification 2 роки тому

    Use of undeclared identifier 'prasedata', 'extactsms', 'doAction', 'reply'
    Saya memasukan code yang anda punya.
    Kenapa pada arduinodroid saya ada tulisan seperti itu. ?

  • @erlandrewabrasaldo3320
    @erlandrewabrasaldo3320 2 роки тому

    Independently this code of yours work, but when I try to insert this to my project code, it doesn't work anymore. It can receive my sms but won't extract it, thus not going to process void doAction();

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      can I take a look at your code. just upload the code to github and give me the link

  • @saadelm2955
    @saadelm2955 2 роки тому

    Thanks sir.. Coool... Haw i can place an ather Led...for detect the Net

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      use AT+CREG. if the response is 1. its mean the gsm module is connected to the network. so, turn on the led.
      if the response is other than 1. its mean the gsm module is not connected to the network. so, turn off the led.

    • @saadelm2955
      @saadelm2955 2 роки тому

      @@AhmadLogs thanks... So much

  • @warrenscorner
    @warrenscorner Рік тому

    My SIM800L stopped working because it’s only 3g. What module can I use that’s 4g or 5g compatible?

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Dear sir, I need the same code but how to add the one master mobile number and how to check the last relay status ? Thank

    • @AhmadLogs
      @AhmadLogs  Рік тому

      have you watch this? ua-cam.com/video/OJcGY4ySs4o/v-deo.html

  • @tobiasxy1230
    @tobiasxy1230 2 роки тому

    Hi, which phone number is your "sender phone number"? The number, who sends the sms to the SIM800L or the number which is as a SIM Card in the SIM800L?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      the number which is as a SIM Card in the SIM800L

    • @tobiasxy1230
      @tobiasxy1230 2 роки тому

      @@AhmadLogs OK thanks for the response. I placed the number there. But the relais doesn't switch. I changed the msg text for relais 1 to "LED AN" then the relais is LOW. And for the msg text "LED AUS" the Relais is "HIGH".
      Relais is connected to Pin 7.
      The Sim card ist registered into network. The red led is blinking every 3 seconds. And I have 2,4 A peak current.

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      @@tobiasxy1230 I have connected the load to relay NO (normaly open).
      that's why when we send LOW the load will turn ON. and when HIGH the relay will be OFF.

    • @tobiasxy1230
      @tobiasxy1230 2 роки тому

      Okay thanks. Should I connect the 5v DC from the plug power supply to the VCC from the arduino too? I have connect the power supply to the Sim 800l and the ground and VCC from the arduino to the relay. I think this is wrong? The relay doesn't switch if I send a SMS. The Sim 800l is registered in the mobile network.
      And how can I create a white list for the phone number which are allowed to switch the relay through a sms?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      @@tobiasxy1230 relay required more current that VCC does not able to provide. directly connect the 5v power supply to relay. just connect the GND pin of the relay to Arduino.
      check the video on white list phone numbers
      ua-cam.com/video/IiheQAMT3kA/v-deo.html

  • @moussaab8292
    @moussaab8292 3 роки тому

    Can control by calling the phone only without sms

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      yes, you need to use dtmf function of gsm module

    • @moussaab8292
      @moussaab8292 3 роки тому

      @@AhmadLogs I hope you will explain it to her in the future, please

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@moussaab8292 I will, INSHAALLAH

  • @chidiayoanasonye9243
    @chidiayoanasonye9243 2 роки тому

    Please sir can u help me write out and post the code here . I can't access it through the link . its not opening .

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      please check the link again

  • @kalebhofer9709
    @kalebhofer9709 2 роки тому

    hello sir i am from canada will this work with bell 4g network here in canada

    • @AhmadLogs
      @AhmadLogs  Рік тому +1

      no it will not work with 4g network. you must use 4g gsm module

    • @kalebhofer9709
      @kalebhofer9709 Рік тому

      @@AhmadLogs so witch gsm module do you reccomend?

    • @AhmadLogs
      @AhmadLogs  Рік тому +1

      @@kalebhofer9709 sim7600

  • @rajaduraisangari
    @rajaduraisangari Рік тому +2

    Dear sir, how to turn off the relay after 3 seconds automatically? Pls change the code for me thanks

    • @AhmadLogs
      @AhmadLogs  Рік тому

      Please wait

    • @NextGen_automation
      @NextGen_automation Рік тому

      Water pump controller only 5sec switching relay like push button on and off relay separate

  • @ricardomontiel3267
    @ricardomontiel3267 2 роки тому

    Hi!! i have a question . How can i delete all the msj using the phone , i know how delete all message with monitor serial but i want to delete with the phone.
    what have to write i have the same code that you ;) thank u for all teacher

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      in the setup() function add the following line of code
      sim800l.println("AT+CMGD=1,4);

    • @ricardomontiel5198
      @ricardomontiel5198 2 роки тому

      @@AhmadLogs with this line when i write in the msg AT+CMGD=1,4 i send to number of sim 800l i delete all the msg?? I mean the msg than the sim800l has to receive and the msg send with sim800l. With this i delete all the msg including msg receive and sends msg?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      @@ricardomontiel5198 yes, this will delete all the message stored in sim800l memory.
      if you want to delete some specific message then you may use this command
      AT+CMGD=1 delete the sms at memory location 1.
      similarly, AT+CMGD=2 delete the sms at memory location 2, and so on

    • @ricardomontiel5198
      @ricardomontiel5198 2 роки тому

      ​ @Ahmad Logs i have a problem . when i write this AT+CMGD=1,4 send the msj and the sim800l does´nt delete all the msj dont made anything.
      i sent i msj from you facebook page can you help me please

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      @@ricardomontiel5198 first send command
      AT+CMGF=1
      and then
      AT+CMGD=1,4
      Unfortunately, I am unable to use facebook page now a days. so please ask any thing here

  • @faroekjuthan89
    @faroekjuthan89 3 роки тому

    I have 2 problems and hope you have a solution 1) SMS is not being sent to my phone number. Serialmonitor gives the following message: AT + CMGR = 14
    + CMGR: "REC UNREAD", "+ 31XXXX", "", "> Relay 1 off.
    2) What I notice is that if i change the Phone number in the Code and upload,the old number stays in de memory,which display on de serialmonitor.Even if i reset the Arduino bord it hold the first added number.Thank you in advance for your help.

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      1. Have you add your phone number in the code with country code?
      2. send sms Relay1 off. Notice no space between world Relay and 1.

    • @faroekjuthan89
      @faroekjuthan89 3 роки тому

      @@AhmadLogs,many thanks for your help,I appreciate it very much.The first part of the code works great,the memorylocation change every time like this on the serialmonitor:"+CMTI: "SM",28
      ".But something happend when the SMS must be read out,put into the new memorylocation,extract and pass further into the code.I think in this part something go's wrong:if(cmd == "+CMTI"){
      //get newly arrived memory location and store it in temp
      index = buff.indexOf(",");
      String temp = buff.substring(index+1, buff.length());
      temp = "AT+CMGR=" + temp + "
      ";
      //get the message stored at memory location "temp"
      sim800.println(temp);
      }
      else if(cmd == "+CMGR"){
      extractSms(buff);

      if(senderNumber == PHONE){
      doAction();
      I do not know any thing about programming,so i hope you will forgive me if i see it the wrong way.The code is good and i need it for my study and other peaple i help.Thanks again.

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@faroekjuthan89 memory location must be change when new message is arrived like in serialmonitor:"+CMTI: "SM",28
      this statement String temp = buff.substring(index+1, buff.length()) get the memory location from "+CMTI: "SM",28
      mean 28 will store in temp variable
      then next statement temp = "AT+CMGR=" + temp + "
      "; - reading the sms from memory location in this case 28
      then extractSms(buff); function is called to parse sms. and get the "message" and "phone number" from sms stored at memory location 28
      then phone number is compare if the sms received from the phone number you have added in top of the code.
      then doAction() function is call to control the relay

    • @faroekjuthan89
      @faroekjuthan89 3 роки тому

      Thank you very much for the nice explanation, I learned a lot from it. I will continue to play around with your project and hope it will work once. Wish you good luck with your projects.

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@faroekjuthan89 very happy for such a nice appreciation

  • @amdavadinishant354
    @amdavadinishant354 2 роки тому

    SENDER PHONE NUMBER MEANS THAT PHONENUMBER WHICH IS ATTACHED WITH MODULE OR THAT NUMBER FROM WE MESSAGE TO MODULE

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      the phone number that we will use to message to the module

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Dear sir, 1)I need to receiving the message automatically when sim800L power On .
    2) how to registered the master mobile number and how to change the mobile number with SMS,
    3) can store the 2 no’s registered mobile number?, thanks.

    • @AhmadLogs
      @AhmadLogs  Рік тому

      watch this
      ua-cam.com/video/OJcGY4ySs4o/v-deo.html

  • @sibujacob977
    @sibujacob977 Рік тому

    Can the SIM800L support 4g sim

  • @unknownartist2809
    @unknownartist2809 5 місяців тому

    How can I use it without register the number

  • @hatem2561
    @hatem2561 3 роки тому

    hey sir can you send me this program of arduino i need it .. i am a student and i need it for my finaly exam pls....

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      code link is available in description of video

  • @bulesky3401
    @bulesky3401 3 роки тому

    Hello We can control 8 relays؟

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      yes, you can control 8 relays easily. if you have some issues you may ask.

    • @bulesky3401
      @bulesky3401 3 роки тому

      @@AhmadLogs Thanks in the program fertilizer, what should I change for 8-rail control?

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@bulesky3401 you need to add 8 channel relay module to arduino attach two pins of the relay module like in1 and in2 according to circuit diagram. and other 6 pins from in3 to in8 to any empty pins on arduino. and then you need to do some changes in code. if you know a little bit about the programming you can easily modify the code according to your need

    • @bulesky3401
      @bulesky3401 3 роки тому

      @@AhmadLogs Thanks

  • @camcam3388
    @camcam3388 2 роки тому

    My friend, please, if you have a device code. servo motor control by sms thanks

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      sorry, i have not the code

  • @republikbasecamp
    @republikbasecamp 2 роки тому

    projek this am success... but versi reg am no work....

  • @chenapallireddypraveen8947
    @chenapallireddypraveen8947 3 роки тому

    Sir 4g sim is worked in GSM module 800l

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      yes, most of 4g sims also have 2 functionality. it will use 2g services of 4g sim

    • @chenapallireddypraveen8947
      @chenapallireddypraveen8947 3 роки тому

      I'm trying to on the relays but it's don't work sir, code is uploaded to Arduino and everything is fine

    • @chenapallireddypraveen8947
      @chenapallireddypraveen8947 3 роки тому

      I'm giving relay vcc to Arduino 5v

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@chenapallireddypraveen8947 have you test relays separately. how many relays you are using?

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@chenapallireddypraveen8947 check voltages and current around relays using multi meter

  • @rajaduraisangari
    @rajaduraisangari 5 місяців тому

    Sir, how add the two const string phone number ?

  • @ridwanolawale8558
    @ridwanolawale8558 3 роки тому

    am from nigeria please i try to connect it not responds

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      you need to power sim800l with 3.7v mobile phone battery

  • @shahriarrivan
    @shahriarrivan Рік тому

    Why doesn’t it work when I unplug the arduino from my laptop and use a powerbank. If you know how to fix it please let me know.
    It only works when the arduino is connected with a computer.

    • @AhmadLogs
      @AhmadLogs  Рік тому

      you need to step down the voltages to 4.4v and the module will surely work.

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Dear sir, I am used the sim800L with Arduino nano board control by the two relays ,
    Send the sms 1 to ON the First relay for motor start button , after 3 seconds time delay to cut off.
    Send the sms 2 to ON the second relay for motor stop button, after3 seconds time delay to cut off.
    This function Working is fine and reply message also fine,
    But I need how to check the motor last status on/ off,
    Pls can doing the code for me thanks.

    • @AhmadLogs
      @AhmadLogs  Рік тому

      for that you need to define one more variable in the code Boolean LastState;
      each time you turn on or off the motor, you also update the LastState variable

    • @rajaduraisangari
      @rajaduraisangari Рік тому

      @@AhmadLogs sir, pls can update the code for me thanks

    • @rajaduraisangari
      @rajaduraisangari Рік тому

      @@AhmadLogs sir can I get the your email I’d?

  • @panjatcharaml9683
    @panjatcharaml9683 3 роки тому +1

    It's taking too more time to receive message and some time message is not received how to solve this problem

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      It should take normal time. you need to check signal quality of gsm module.

    • @panjatcharaml9683
      @panjatcharaml9683 3 роки тому

      @@AhmadLogs yes bro but it changing frequently first few seconds it blink slowly and some time it blink faster and some time no blinking how can solve this bro

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@panjatcharaml9683 I think, you need to use outdoor antenna

    • @panjatcharaml9683
      @panjatcharaml9683 3 роки тому

      @@AhmadLogs but I don't have it bro any other way

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@panjatcharaml9683 you need to test it outdoor or on the roof. also checks the signal quality by using the following AT command AT+CSQ

  • @talebsalah139
    @talebsalah139 3 роки тому

    salut j'ai un projet de arduino il se compose de Arduino nano
    Gsm module
    Battery 3.7v
    Breadboard 430 pts
    Relay module 4ch aide moire pour rialise ce projet je besoin schema et installation

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      I will try to make it

    • @talebsalah139
      @talebsalah139 3 роки тому

      @@AhmadLogs Je vous remercie.

    • @talebsalah139
      @talebsalah139 3 роки тому

      Jous changer le batterie 3.7v au Buck Converter

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      @@talebsalah139 No problem, only adjust the voltages of Buck Convertor (4v is best)

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      @@talebsalah139 so nice of you

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Dear sir, I want same code but need to update the 2nos master mobile register with SMS, can help me to modify the code, thanks.

    • @AhmadLogs
      @AhmadLogs  Рік тому

      Please wait

    • @rajaduraisangari
      @rajaduraisangari Рік тому

      @@AhmadLogs sure sir, and one more thing when power off gsm we can get the notification from SMS? Take your time to can reply to me, thanks

    • @AhmadLogs
      @AhmadLogs  Рік тому

      @@rajaduraisangari hmmm. I will try

    • @rajaduraisangari
      @rajaduraisangari Рік тому

      @@AhmadLogs sir, how to check the all reply status?

    • @AhmadLogs
      @AhmadLogs  Рік тому

      @@rajaduraisangari I have updated version for this. ua-cam.com/video/OJcGY4ySs4o/v-deo.html

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    sir, i need the this code but same code how to add the 2 nos register phone number? last time your send the link for registered video, i try to change the code but cannot, can help to add the register numer with the same code, thanks.

    • @AhmadLogs
      @AhmadLogs  Рік тому

      I will try it in future

    • @rajaduraisangari
      @rajaduraisangari Рік тому

      @@AhmadLogs thank you sir

    • @rajaduraisangari
      @rajaduraisangari Рік тому

      @@AhmadLogs dear sir, this week can get the code for 2 nos register mobile number , thanks

    • @AhmadLogs
      @AhmadLogs  Рік тому

      ​@@rajaduraisangari unfortunately not this week.

  • @Jeggerblok12
    @Jeggerblok12 3 роки тому +2

    Modul Micro Sim800l Gprs
    Description:
    Chip: SIM800L
    Voltage: 3.7-4.2V
    ????
    explanation please?

    • @AhmadLogs
      @AhmadLogs  3 роки тому +2

      i have sim800l module that works on 5v directly. I have also sim800l module that works on 3.4-4.4v. both versions are available in market.

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      good question.

    • @Techie499
      @Techie499 3 роки тому

      @@AhmadLogsHow can i understand the difference?? which one will work on 3.7v and which one will work of 5v, if not mentioned by seller?

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      @@Techie499 try to test with 3.7v.
      a module that works on 5v it must also works on 3.7v

    • @Techie499
      @Techie499 3 роки тому

      @@AhmadLogs I tested with 3.7v.it worked. should i test with 5v or leave that risk?

  • @masoudjafarzadeh
    @masoudjafarzadeh 2 роки тому

    Hi
    Do you have any program that can save multi phones number on arduino eeprom via sms with a password
    Thanks of your sharing time.

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      No, sorry. but soon I will make code for this

    • @masoudjafarzadeh
      @masoudjafarzadeh 2 роки тому

      @@AhmadLogs thank you
      Your programs are awsome

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      @@masoudjafarzadeh So nice of you

  • @fernandohood5542
    @fernandohood5542 2 роки тому

    There is no voltage translation?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      because my sim800l works perfect on 5v dc. strange.......

    • @fernandohood5542
      @fernandohood5542 2 роки тому

      @@AhmadLogs So there is lot of misinformation?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      @@fernandohood5542 there are many videos on my channel about sim800l. you just have a look at them.

  • @imen4698
    @imen4698 3 роки тому +1

    Hi sir i need help My country cod is +213
    Not made of tow numb
    There's solution for this problem?!

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      do you test to make call using three digit code? Tell me the output when making call. AT command for making call is "ATD+Phone_Number;"
      test this command and tell me the output

    • @imen4698
      @imen4698 3 роки тому

      @@AhmadLogs when i try in the monitor ,I get a question mark

    • @yasserchenini3789
      @yasserchenini3789 3 роки тому

      ​@@imen4698 مشكل مش في كود

  • @shaniteach1166
    @shaniteach1166 3 роки тому

    Super
    Dear i buy this project plz conct me

  • @moab5246
    @moab5246 3 роки тому

    When I open the monitor, it comes to me (??????)

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      this is Serial communication issue. have you select the correct baud rate from serial monitor. most of sim800l works on 3.4 to 4.4 volts. test the circuit with 3.7v mobile phone battery

  • @safar24X7
    @safar24X7 3 роки тому

    Sir plz plz sand background music link

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      UA-cam music library.
      Music name: Forget Me Not

  • @rajaduraisangari
    @rajaduraisangari Рік тому

    Dear sir, how to change the mobile number?

    • @AhmadLogs
      @AhmadLogs  Рік тому

      ua-cam.com/video/OJcGY4ySs4o/v-deo.html

  • @moinshaikh6684
    @moinshaikh6684 3 роки тому

    I was feeling like I'm in a disco according to music..!

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      this is UA-cam royalty free music

    • @moinshaikh6684
      @moinshaikh6684 3 роки тому

      @@AhmadLogs I've no issues with music, i commented to show the enjoyment i had with your video, learning as well as dancing...

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      ​@@moinshaikh6684 hahaha.... thanks you bro

  • @redigjona8757
    @redigjona8757 2 роки тому

    After 40 messages my project isnt working anymore. Can you tell me anyway to solve it?

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      use the following AT command at the end of "do_action function"
      AT+CMGD=1,4

    • @redigjona8757
      @redigjona8757 2 роки тому

      I can't understand clearly. Can you be more specific sir please?

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      @@redigjona8757 I have updated the code. just download the latest copy

    • @redigjona8757
      @redigjona8757 2 роки тому

      Do i need to send any msg to sim800 for deleting msgs?

    • @AhmadLogs
      @AhmadLogs  2 роки тому +1

      @@redigjona8757 message will delete automatically

  • @wersissima15
    @wersissima15 Рік тому

    the SIM800L is not 5V tolerent (3.3V - ~4.4V ), even if it works, it won't perform correctly and can be damaged at any moment, chech please the official documentation of the SIM800L module

    • @hamlovingprophetpisslam183
      @hamlovingprophetpisslam183 Рік тому

      True. It worked for few days and stopped receiving commands. I am controlling my farm irrigation with solenoid valveswith arduino, 800l n relays. I dont use sms but calls

    • @AhmadLogs
      @AhmadLogs  Рік тому

      you are right

  • @ALLINONETeam
    @ALLINONETeam 3 роки тому

    Please give me circuit diagram pdf ☺️

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      I dont have circuit diagram for pcb.

    • @ALLINONETeam
      @ALLINONETeam 3 роки тому

      @@AhmadLogs bro how many cost they making?

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@ALLINONETeam this is very cheap solution. $15 for hardware parts. other hardware configuration and software cost may vary according to someone requirements

  • @azamjahangir3071
    @azamjahangir3071 3 роки тому

    Asslam o alikam bhi

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      w.slaam

    • @azamjahangir3071
      @azamjahangir3071 3 роки тому

      Register kar wana ki fee kitni hai sim 800l module

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@azamjahangir3071 same as you register your mobile phone

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@azamjahangir3071 not sure. meny free me register kerwaya tha bohat pehly

    • @azamjahangir3071
      @azamjahangir3071 3 роки тому

      Thanks

  • @ahmadnurlintangsmesta_0028
    @ahmadnurlintangsmesta_0028 Рік тому

    Sim 800l relay control using telegram bot, this work?

    • @AhmadLogs
      @AhmadLogs  Рік тому

      telegram is banned in my country

  • @rahmanihamidou6093
    @rahmanihamidou6093 3 роки тому

    Hello, super
    You can send me the code for sim800l .

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      check download link in the video description

    • @rahmanihamidou6093
      @rahmanihamidou6093 3 роки тому

      Where i check it? You say in vidéo description
      I have sim800l and i need code ,how i do it ,
      Went sending message to start for exemple relay or lamp
      Thank you.

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@rahmanihamidou6093 github.com/ahmadlogs/arduino-sim800l-relay-control

  • @zebafatma3683
    @zebafatma3683 3 роки тому

    Please help me

  • @aminebelgacem8906
    @aminebelgacem8906 3 роки тому

    can i have the code source

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      yes source code available in description

    • @aminebelgacem8906
      @aminebelgacem8906 3 роки тому

      @@AhmadLogs thank you, but can i use this code for SIM900A??

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@aminebelgacem8906 I think it will work because I am using simple AT commands in the code that are common in all gsm modules. but I will not test the code other than sim800l. you may test it and also dont forget to give me the feedback. thanks

    • @aminebelgacem8906
      @aminebelgacem8906 3 роки тому

      Can you help me in code source of controlling 2 relay using text message?

    • @AhmadLogs
      @AhmadLogs  3 роки тому

      @@aminebelgacem8906 yes of-course. tell me what do you want

  • @elvisryanmillan2843
    @elvisryanmillan2843 3 роки тому

    atchup

  • @zebafatma3683
    @zebafatma3683 3 роки тому

    Nihi hoa

  • @GP_BALAN1423
    @GP_BALAN1423 3 роки тому

    Sir I can control any one relay by making call
    Example:2ring to on the relay and 5 ring to off the relay
    Sir you can make the code it possible or not.

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      yes it is possible and very simple

    • @GP_BALAN1423
      @GP_BALAN1423 3 роки тому

      @@AhmadLogs how?

    • @AhmadLogs
      @AhmadLogs  3 роки тому +1

      @@GP_BALAN1423 when we call to sim800l. you will receive "ring" in serial monitor. count the number of rings from serial and perform required action according to number of rings

    • @GP_BALAN1423
      @GP_BALAN1423 3 роки тому

      @@AhmadLogs ok sir ❤️

  • @TahirElectronics
    @TahirElectronics 2 роки тому

    سر جی پلیز پلیز اپنا ای میل یا واٹس ایپ نمبر دے دیں
    مشکور رہوں گا

  • @manmangy
    @manmangy Рік тому

    Kindly Shut off this horrible background so called useless music. Give us some explanation instead

  • @dabbarmohsen8696
    @dabbarmohsen8696 Рік тому

    Hi mister
    I followed the connection diagram and uploaded the code but the arduino does not receive the sms
    02:31:27.728 -> Arduino serial initialize
    02:31:27.728 -> SIM800L software serial initialize
    02:31:31.764 -> AT+CMGF=1
    02:31:31.764 -> ERROR
    02:31:31.764 -> AT+CMGD=1,4
    02:31:31.764 -> ERROR
    02:31:31.811 -> AT+CMGDA= "DEL ALL"
    02:31:31.811 -> E

    • @AhmadLogs
      @AhmadLogs  Рік тому

      test your gsm module, by making call on it from your phone

  • @chidiayoanasonye9243
    @chidiayoanasonye9243 2 роки тому

    Plz sir which phone number should I put in the code ? . The sim inserted in the sim800L module ? Or my personal phone number in my phone ? .
    If my personal phone , how can I add up to three phone ? numbers

    • @AhmadLogs
      @AhmadLogs  2 роки тому

      The sim inserted in the sim800L module