Using Arduino with GSM SIM900A for Receiving SMS and ON/OFF lights

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • Using Arduino with SIM900A for Receiving SMS and ON/OFF lights.
    Code
    docs.google.co...

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

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

    Jald hi ye channel pr sir million subscribers hoge

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

    sir superb hai aappka project

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

    #include
    #include
    SoftwareSerial mySerial(2,3);//Rx,Tx
    void setup()
    {
    pinMode(13,OUTPUT);
    pinMode(12,OUTPUT);
    pinMode(9,INPUT);
    mySerial.begin(9600); // Setting the baud rate of GSM Module
    Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
    delay(100);
    mySerial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
    delay(1000);
    mySerial.println("AT+CNMI=2,2,0,0,0
    "); // AT Command to receive a live SMS
    delay(1000);
    mySerial.println("AT+CMGDA=
    ");
    delay(1000);
    Serial.println("DEL ALL");
    }
    void loop()
    {
    int i=0;
    char data[200]="";
    char ch;
    while(1)
    {
    if(mySerial.available())
    {
    while(mySerial.available()

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

    Very good explanation 👏...

  • @Mukesh-vo2yr
    @Mukesh-vo2yr 3 ปีที่แล้ว +1

    Very useful Projects 👌👌👌

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

    code work properly..thanks 🎉👍👍

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

      My code is not working please suggest me what I do

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

    Excellent superb bro... Nicely explained.....

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

    Good tutorial but it has the language problem only Indian’s can understand can you try to be more general and consider language even English subtitles would be helpful thank you

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

    You are so great

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

    In the void loop we cannot add break function. Error coming please reply

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

    Thanks Sir
    meny bohat se videos dykhi pr koi b code sahi kam nhi kra tha but apny bilkul sahi guide kea
    But Sir Msg del nhi ho rahy

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      SIM memory mese msg delete hote hai...

    • @mubeenashraf542
      @mubeenashraf542 5 ปีที่แล้ว

      @@MicroMagic apka email kya h?

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      9503068618

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

    👌👌👌👌👌

  • @ashwanigautam8345
    @ashwanigautam8345 4 ปีที่แล้ว

    Thanks for information

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

    Sir please help you for coding please give a code sir our project same

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

    In your program where message is storing.
    ch or data[ ] or strstr.
    Please give explanation .

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      ch is variable char type.... serial communication when data recive these data get one by one character in ch..... Data is array.... ch put in data array...... strstr is predefined function for comparing reciving string

  • @Prakash-dt7gd
    @Prakash-dt7gd ปีที่แล้ว

    sir, sim900A ke alawa sim800l chalega kya?

  • @kuldeepsinghyadav8783
    @kuldeepsinghyadav8783 4 ปีที่แล้ว

    Hey buddy I want to try with sim800l and it work ok but I want return sms after light on, it is possible

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

    docs.google.com/document/d/1t15rscSFJYEXo6BREQEAtcjUFJp-3UX7Lv9GTm6WNio/edit?usp=drivesdk
    Final code

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

    Sir I used ur code but it's not working .. after uploading the code all bulbs are turning on.. starting only

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      Which problem you facing...

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      I used only 2 pins in code 12 13

    • @oldisgold7179
      @oldisgold7179 4 ปีที่แล้ว

      This code not complete

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

    How to do it in atmega328p in avr with 16 mhz clock

  • @arduinoproject9234
    @arduinoproject9234 4 ปีที่แล้ว

    Hello sir project is doing the right thing a problem is coming,
    Like we work on power off of gsm and power on again, network comes in gsm but the signal we send does not work

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      What?? Cant geting.... Network come but signal send does not work....

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Place SIM card and call on that number to check network come or not.... If network come then check Rx Tx pins...

    • @arduinoproject9234
      @arduinoproject9234 4 ปีที่แล้ว

      @@MicroMagic hello sir aap jo video upload kiye hai ye video dekh kar mai same project banaya banaya project mera sahi kaam kar raha hai led on aur off ho rahi hai par jai mai sirf gsm ka power off kar ke 5sec bad power on karta hun to sms karne par led on nahi ho rahan hai our call karne par ring ho raha hai par sms karne par led on nahi ho raha hai
      sir mera number hai 7994890684 plz ser help karo mai bahut paresan hun plz

    • @arduinoproject9234
      @arduinoproject9234 4 ปีที่แล้ว

      @@MicroMagic thanx sir

  • @tokitahmid6641
    @tokitahmid6641 4 ปีที่แล้ว

    Thanks

  • @nishchalk.j1327
    @nishchalk.j1327 4 ปีที่แล้ว +1

    How to connect relay to arduino

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      13 pin relay 1
      12 pin relay 2
      11 pin relay 3
      10 pin relay 4

  • @sunnysingh-xd5hg
    @sunnysingh-xd5hg 4 ปีที่แล้ว

    Sir I am working on project based on gsm for women safety but I can't able to get the desired output.. Pls guide me

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

      Kya problem aa rha hai...

    • @sunnysingh-xd5hg
      @sunnysingh-xd5hg 4 ปีที่แล้ว

      @@MicroMagic उसका proper code और circuit diagram नहीं मिल paa raha hai.. कुछ milla था मगर कुछ काम का नहीं था.. All wastage pls do help.. Sir

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Maine code link description me diya hai... Or circuit digram video me hai....

  • @oldisgold7179
    @oldisgold7179 4 ปีที่แล้ว

    This code is not properly completed

  • @carldavidmila3479
    @carldavidmila3479 5 ปีที่แล้ว

    How to connect it with IComSat GSM module 900 ? Do you know how?

    • @carldavidmila3479
      @carldavidmila3479 5 ปีที่แล้ว

      Please contact me at my gmail account miladavid520@gmail.com thank you

    • @engr_abdullahu5978
      @engr_abdullahu5978 5 ปีที่แล้ว

      Hi i have gsm900ashiled how can the parties be connected and thanks

  • @ujjwalmusic9392
    @ujjwalmusic9392 4 ปีที่แล้ว

    Sir code me 3 out put haii aur apne 4 relay output banaya haii apke circuit me

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Haa 3 hai.. Video banate time code modify kiya tha....

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

    Sir mobile number code me dalna jaroori haii kya sir please reply

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Nahi.. Depends on your application... SMS se lights on off karma chahte ho to nahi dalna hai...

  • @kritikaprasan7591
    @kritikaprasan7591 4 ปีที่แล้ว

    Sir....in our project we are giving on off commands using blynk ..and should receive messages of the status of the led ...can u pls help us with this

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Which project...

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      GSM or iot... Blynk related to iot

    • @kritikaprasan7591
      @kritikaprasan7591 4 ปีที่แล้ว

      sir we have to give on of commands using blynk and using sim900a we have to receive messages whether led is on or of

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      @@kritikaprasan7591 you send sms through mobile compare string on/off led after that you can send response using sms

    • @kritikaprasan7591
      @kritikaprasan7591 4 ปีที่แล้ว

      sir they want to use blynk for on off commands

  • @ujjwalmusic9392
    @ujjwalmusic9392 4 ปีที่แล้ว

    Sir jis number se gsm me massege bhejne haii vhi number program me dalna haii please reply sir

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

    Me ek project banauga usme apki madad chahiye hogi mujhe thanks sir

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

      Kya project hai aapka...

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

      @@MicroMagic mini rover,,, usme camera ,GPS ,rocket fire, gun and Google assistant, use krunga sir

  • @phucnguyenvan2930
    @phucnguyenvan2930 4 ปีที่แล้ว

    I am having some library problem. Can you give me the library please SoftwareSerial.h ?

  • @Bashir-ali44566
    @Bashir-ali44566 2 ปีที่แล้ว

    Hi

  • @srmechatronics2414
    @srmechatronics2414 4 ปีที่แล้ว

    That one not declared that one error coming who to that changing

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      I cant understand... What you say....

  • @studentsfever5565
    @studentsfever5565 5 ปีที่แล้ว

    Sir GSM based home automation using arudiono ka circuit diagram send kigiye please it's urgent

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      GSM=Arduino
      Rx-tx
      tx-Rx
      Gnd-gnd..... Msg recive karo string compare karo. Digital pin High Low karo hogaya....
      Relay board connet karo...

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

      Or koi information chahiye to call karna 9503068618

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

    IT'S NOT WORKING, PLEASE HELP ME SIRRRR

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

      What is the issue?

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

    Coding error aa rahi hai sir please help you aap hame code dee sakate hai kiyaa sir

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

      Check link in discription

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

      Pura code description me link diya hai sab log wahi use karte hai..

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

      Hello sir description mee code hee woo thola alag hai hamane try kare dekha hai sir msg hamare " code mee void loop mee "break " ki error aa rahi hee es liye program run nahi hota sir help

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

      #include
      #include
      SoftwareSerial mySerial(2,3);//Rx,Tx
      void setup()
      {
      pinMode(13,OUTPUT);
      pinMode(12,OUTPUT);
      pinMode(9,INPUT);
      mySerial.begin(9600); // Setting the baud rate of GSM Module
      Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
      delay(100);
      mySerial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
      delay(1000);
      mySerial.println("AT+CNMI=2,2,0,0,0
      "); // AT Command to receive a live SMS
      delay(1000);
      mySerial.println("AT+CMGDA=
      ");
      delay(1000);
      Serial.println("DEL ALL");
      }
      void loop()
      {
      int i=0;
      char data[200]="";
      char ch;
      while(1)
      {
      if(mySerial.available())
      {
      while(mySerial.available()

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

      Thank you sir

  • @106deshmukhdarshan7
    @106deshmukhdarshan7 4 ปีที่แล้ว

    Sir WhatsApp number ek problem aa rahi hao

  • @duckypi-qc5ec
    @duckypi-qc5ec 6 หลายเดือนก่อน

    bro1

  • @srmechatronics2414
    @srmechatronics2414 4 ปีที่แล้ว

    G call() function what using

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Here two codes are there.... Call is 2nd code..... Arduino pin no 9 connect switch or button when you press that button the call function name call.... In call... In that function there is mobile number put.... When you press button gsm calling to that number... Outgoing call....

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Purpose of these i connect motion sensor or IR sensor when motion detect that function call and calling to that mobile number.... Theft detection project

  • @hasmukhrana4891
    @hasmukhrana4891 4 ปีที่แล้ว

    How much it cost ?

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      1000 kam aayega gms module pe depend karta hai arduino 300 gsm 700 ya use jada

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

    pura program dikh

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

      Discription me code link diya hai Bhai

  • @DeepakKumar-rb6zt
    @DeepakKumar-rb6zt 5 ปีที่แล้ว

    sir aapka code work in ho raha plz help me

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      Kya problem aa raha hai... Serial monitor pe kya aa raha hai

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

      Dont use 4G SIM card.... GSM model not support 4G SIM...

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

    not working

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      What type of error... Or problem

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

      All people have same code they worked Properly

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      I send 2 codes in one file... 1st pin no 9 gnd... Means 9 pin gnd when you disconnet u get call for theft detection.... Other is u send msg relay1on# relay1off#... U put # sign must.... Because of string compaire.... At the end of string # detects controller know string is complete....

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      2 no pin Rx hai or 3 pin Tx and gnd gnd connect properly.... Chek ur GSM model 1st... After connection GSM module stay for proper range... Check by calling to gsm module SIM card cross chek SIM card or range ok or not...

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      have u face any problem... Contact to me....

  • @ankitkashyap8304
    @ankitkashyap8304 4 ปีที่แล้ว

    Sir please help mi

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      Ask...

    • @ankitkashyap8304
      @ankitkashyap8304 4 ปีที่แล้ว

      @@MicroMagic please your number send me sir

    • @ankitkashyap8304
      @ankitkashyap8304 4 ปีที่แล้ว

      @@MicroMagic thank you sir

    • @MicroMagic
      @MicroMagic  4 ปีที่แล้ว

      #include
      #include
      SoftwareSerial mySerial(2,3);//Rx,Tx
      void setup()
      {
      pinMode(13,OUTPUT);
      pinMode(12,OUTPUT);
      mySerial.begin(9600); // Setting the baud rate of GSM Module
      Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
      delay(100);
      mySerial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
      delay(1000);
      mySerial.println("AT+CNMI=2,2,0,0,0
      "); // AT Command to receive a live SMS
      delay(1000);
      mySerial.println("AT+CMGDA=
      ");
      delay(1000);
      Serial.println("DEL ALL");
      }
      void loop()
      {
      int i=0;
      char data[200]="";
      char ch;
      while(1)
      {
      if(mySerial.available())
      {
      while(mySerial.available()

  • @SaiManishGurram
    @SaiManishGurram 6 ปีที่แล้ว

    Send code

  • @mkelectronics5710
    @mkelectronics5710 4 ปีที่แล้ว

    Sir aapke mo.no send kro

  • @kevinjohnferrer8078
    @kevinjohnferrer8078 5 ปีที่แล้ว

    plss send me code via gmail thanks

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      Mail id

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

      MicroMagic ferrerk014@gmail.com

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

      Check mail

    • @aqilahzainuddin4248
      @aqilahzainuddin4248 5 ปีที่แล้ว

      @@MicroMagic Can I have too Sir? Mine is aiszzyelectronics@gmail.com

    • @MicroMagic
      @MicroMagic  5 ปีที่แล้ว

      Chek description link for code....