GSM Based Home Automation using Arduino

Arduino

BySaddam 187

GSM Based Home Automation Using Arduino

Mobile phone is a revolutionary invention of the century. It was primarily designed for making and receiving calls & text messages, but it has become the whole world after the Smart phone comes into the picture. In this project we are building a home automation system, where one can control the home appliances, using the simple GSM based phone, just by sending SMS through his phone. In this project, no Smart phone is needed, just the old GSM phone will work to switch ON and OFF any home electronic appliances, from anywhere. You can also check some more Wireless Home Automation projects here: IR Remote Controlled Home Automation using ArduinoBluetooth Controlled Home Automation along with DTMF Based Home AutomationPC Controlled Home Automation using Arduino.

 

Working Explanation

 In this project, Arduino is used for controlling whole the process. Here we have used GSM wireless communication for controlling home appliances. We send some commands like “#A.light on*”, “#A.light off*” and so on for controlling AC home appliances. After receiving given commands by Arduino through GSM, Arduino send signal to relays, to switch ON or OFF  the home appliances using a relay driver.

Circuit Components:

  • Arduino UNO
  • GSM Module
  • ULN2003
  • Relay 5 volt
  • Bulb with holder
  • Connecting wires
  • Bread board
  • 16x2 LCD
  • Power supply
  • Cell phone

GSM Based Home Automation System Block diagram

 

Here we have used a prefix in command string that is “#A.”. This prefix is used to identify that the main command is coming next to it and * at the end of string indicates that message has been ended.

When we send SMS to GSM module by Mobile, then GSM receives that SMS and sends it to Arduino. Now Arduino reads this SMS and extract main command from the received string and stores in a variable. After this, Arduino compare this string with predefined string. If match occurred then Arduino sends signal to relay via relay driver for turning ON and OFF the home appliances. And relative result also prints on 16x2 LCD by using appropriate commands.

Here in this project we have used 3 zero watt bulb for demonstration which indicates Fan, Light and TV.

Below is the list of messages which we send via SMS, to turn On and Off the Fan, Light and TV:

S.no.

Message

Operation

1

#A.fan on*

Fan ON

2

#A.fan off*

Fan OFF

3

#A.light on*

Light ON

4

#A.light off*

Light OFF

5

#A.tv on*

TV ON

6

#A.tv off*

TV Off

7

#A.all on*

All ON

8

#A.all off*

All OFF

 

GSM Module:

GSM module is used in many communication devices which are based on GSM (Global System for Mobile Communications) technology. It is used to interact with GSM network using a computer. GSM module only understands AT commands, and can respond accordingly. The most basic command is “AT”, if GSM respond OK then it is working good otherwise it respond with “ERROR”. There are various AT commands like ATA for answer a call, ATD to dial a call, AT+CMGR to read the message, AT+CMGS to send the sms etc. AT commands should be followed by Carriage return i.e. \r (0D in hex), like “AT+CMGS\r”. We can use GSM module using these commands:

ATE0 - For echo off

AT+CNMI=2,2,0,0,0  <ENTER>          - Auto opened message Receiving.  (No need to open message)

ATD<Mobile Number>; <ENTER>    -  making a call (ATD+919610126059;\r\n)

AT+CMGF=1 <ENTER>                       - Selecting Text mode

AT+CMGS=”Mobile Number” <ENTER> - Assigning recipient’s mobile number

>>Now we can write our message

>>After writing message

Ctrl+Z  send message command (26 in decimal).

ENTER=0x0d in HEX

GSM Module SIM900A

The SIM900 is a complete Quad-band GSM/GPRS Module which delivers GSM/GPRS 850/900/1800/1900MHz performance for voice, SMS and Data with low power consumption.

 

Circuit Description

Connections of this GSM based home automation circuit are quite simple, here a liquid crystal display is used for displaying status of home appliances which is directly connected to arduino in 4-bit mode. Data pins of LCD namely RS, EN, D4, D5, D6, D7 are connected to arduino digital pin number 6, 7, 8, 9, 10, 11. And Rx and Tx pin of GSM module is directly connected at Tx and Rx pin of Arduino respectively. And GSM module is powered by using a 12 volt adaptor. 5 volt SPDT 3 relays are used for controlling LIGHT, FAN and TV. And relays are connected to arduino pin number 3, 4 and 5 through relay driver ULN2003 for controlling LIGHT, FAN and TV respectively.

GSM Based Home Automation System Circuit Diagram

Code Description

In programming part of this project, first of all in programming we includes library for liquid crystal display and then we defines data and control pins for LCD and home appliances.

#include<LiquidCrystal.h>
LiquidCrystal lcd(6,7,8,9,10,11);

#define Fan 3
#define Light 4
#define TV 5

int temp=0,i=0;
int led=13;

After this serial communication is initialized at 9600 bps and gives direction to used pin.

void setup()
{
  lcd.begin(16,2);
  Serial.begin(9600);
  pinMode(led, OUTPUT);
   pinMode(Fan, OUTPUT);
    pinMode(Light, OUTPUT);
     pinMode(TV, OUTPUT);

For receiving data serially we have used two functions one is Serial.available which checks whether any serial data is coming and other one is Serial.read which reads the data that comes serially.

 while (Serial.available()) 
      {
      char inChar=Serial.read();

After receiving data serially we have stored it in a string and then waiting for Enter.

void serialEvent() 
 {
  while(Serial.available()) 
  {
    if(Serial.find("#A."))
    {
      digitalWrite(led, HIGH);
      delay(1000);
      digitalWrite(led, LOW);
      while (Serial.available()) 
      {
      char inChar=Serial.read();
      str[i++]=inChar;
      if(inChar=='*')
      {
        temp=1;
        return;
      } 

When Enter comes program start to compare received string with already defined string and if string matched then a relative operation is performed by using appropriate command that are given in code.

void check()
{
   if(!(strncmp(str,"tv on",5)))
    {
      digitalWrite(TV, HIGH);
      lcd.setCursor(13,1); 
      lcd.print("ON    ");
      delay(200);
    }  
   
   else if(!(strncmp(str,"tv off",6)))
    {
      digitalWrite(TV, LOW);
      lcd.setCursor(13,1); 
      lcd.print("OFF    ");
      delay(200);
    }
Code

#include<LiquidCrystal.h>
LiquidCrystal lcd(6,7,8,9,10,11);

#define Fan 3
#define Light 4
#define TV 5

int temp=0,i=0;
int led=13;

char str[15];
void setup()
{
  lcd.begin(16,2);
  Serial.begin(9600);
  pinMode(led, OUTPUT);
   pinMode(Fan, OUTPUT);
    pinMode(Light, OUTPUT);
     pinMode(TV, OUTPUT);
  
  lcd.setCursor(0,0);
  lcd.print("GSM Control Home");
  lcd.setCursor(0,1);
  lcd.print("   Automaton    ");
  delay(2000);
  lcd.clear();
  lcd.print("Circuit Digest");
  delay(1000);
  lcd.setCursor(0,1);
  lcd.print("System Ready");
  Serial.println("AT+CNMI=2,2,0,0,0");
  delay(500);
  Serial.println("AT+CMGF=1");
  delay(1000);
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("Fan   Light  TV ");
  lcd.setCursor(0,1);
  lcd.print("OFF    OFF   OFF "); 
}

void loop()
{
  lcd.setCursor(0,0);
  lcd.print("Fan   Light  TV");
  if(temp==1)
  {
    check();
    temp=0;
    i=0;
    delay(1000);
  }
}

 void serialEvent() 
 {
  while(Serial.available()) 
  {
    if(Serial.find("#A."))
    {
      digitalWrite(led, HIGH);
      delay(1000);
      digitalWrite(led, LOW);
      while (Serial.available()) 
      {
      char inChar=Serial.read();
      str[i++]=inChar;
      if(inChar=='*')
      {
        temp=1;
        return;
      } 
      } 
    }
   }
 }

void check()
{
   if(!(strncmp(str,"tv on",5)))
    {
      digitalWrite(TV, HIGH);
      lcd.setCursor(13,1); 
      lcd.print("ON    ");
      delay(200);
    }  
   
   else if(!(strncmp(str,"tv off",6)))
    {
      digitalWrite(TV, LOW);
      lcd.setCursor(13,1); 
      lcd.print("OFF    ");
      delay(200);
    }
  
    else if(!(strncmp(str,"fan on",5)))
    {
      digitalWrite(Fan, HIGH);
      lcd.setCursor(0,1); 
      lcd.print("ON   ");
      delay(200);
    }
 
    else if(!(strncmp(str,"fan off",7)))
    {
      digitalWrite(Fan, LOW);
      lcd.setCursor(0,1); 
      lcd.print("OFF    ");
      delay(200);
    }
 
    else if(!(strncmp(str,"light on",8)))
    {
      digitalWrite(Light, HIGH);
      lcd.setCursor(7,1); 
      lcd.print("ON    ");
      delay(200);
    }
 
    else if(!(strncmp(str,"light off",9)))
    {
      digitalWrite(Light, LOW);
      lcd.setCursor(7,1); 
      lcd.print("OFF    ");
      delay(200);
    } 
    
    else if(!(strncmp(str,"all on",6)))
    {
      digitalWrite(Light, HIGH);
      digitalWrite(Fan, HIGH);
      digitalWrite(TV, HIGH);
      lcd.setCursor(0,1); 
      lcd.print("ON     ON    ON  ");
      delay(200);
    }
 
    else if(!(strncmp(str,"all off",7)))
    {
      digitalWrite(Light, LOW);
      digitalWrite(Fan, LOW);
      digitalWrite(TV, LOW);
      lcd.setCursor(0,1); 
      lcd.print("OFF   OFF    OFF  ");
      delay(200);
    }     
}

Video

Comments

  • Dennis's picture
    Dennis
    Feb 06, 2016

    Is this Code really working sir?
    I would like to ask for the complete code this sir, i'm interested in making this project sir! Please Send me the the Code sir!

  • saddam khan's picture
    saddam khan
    Feb 07, 2016

    yes, this code will work fine. uploaded code on the website is complete. copy it and go ahead.

  • Dennis's picture
    Dennis
    Feb 09, 2016

    Is it okay sir to use 5v-4 channels relay instead of 5v SPDT relay and a ULN2003 driver?
    Cause i've been trying it using your code and a relay module but it doesn't work(still without an Output connected to it).

  • wayne's picture
    wayne
    Apr 02, 2017

    Hi Sadam,

    I have a similar project where i would like to detect water leakage and send sms to my phone, im using use an Analogue water sensor, arduino uno and a gsm shield, would you help me with a code

  • Russel's picture
    Russel
    May 22, 2017

    Sir,
    I can't see where mobile number was used in code.

  • black's picture
    black
    Nov 11, 2017

    this program will not reply anything so mobile number is not necessary

  • Abid Ali's picture
    Abid Ali
    Mar 17, 2018

    hi saddam this project in proteus doesnt work
    when i dail the number in virtual terminal no responce

  • ashind's picture
    ashind
    Feb 10, 2016

    what is this? is this code need any modification
    E:\tim\tim.ino: In function 'void serialEvent()':

    E:\tim\tim.ino:54:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    if(Serial.find("#A."));

    ^

  • Roy's picture
    Roy
    Feb 11, 2016

    I think you should remove Semicolon from the "if statement"'.

  • Dennis's picture
    Dennis
    Feb 11, 2016

    Thanks to your code sir! It's working but the initial state of the relay module i used is ON, and all of the commands are inverted. How can i correct this sir?

  • Jayant's picture
    Jayant
    Feb 11, 2016

    Glad that your project is finally worked. You must have connected NC terminal of Relay to the AC appliances, instead of NO, just swap them. Check this article for Relay working.

  • Rajendra Singh Rajput's picture
    Rajendra Singh ...
    Feb 24, 2016

    I make this project.but the relay not work properly. please give the information of relay connection.

  • ashind's picture
    ashind
    Feb 14, 2016

    hiii dennis sir .you did this project?.can you please send me the complete code as fast as possible .
    my mail id is ashindp916@gmail.com

  • Abhishek's picture
    Abhishek
    Feb 23, 2016

    @ashind The given code is complete.

  • Jayant's picture
    Jayant
    Feb 24, 2016

    @Rajendra What do you mean by "relay not working properly", give us more detail. Circuit diagram clearly explains the connections, connect NO and NC terminals of relay properly.

  • Mohammad kamran 's picture
    Mohammad kamran
    Apr 01, 2018

    Also GM's module received the sms in sim card memory but it not sending the sms to arduuno

  • suleiman 's picture
    suleiman
    May 10, 2018

    bro i have the same problem do you solved

  • Leloko's picture
    Leloko
    Feb 21, 2016

    may you please provide the code for the Gsm based door unlock system
    which allows the user to unlock the door remotely by sending an sms to the gsm module.
    thank you

  • suresh's picture
    suresh
    Feb 26, 2016

    Dear
    Sir
    I followed the your projects Sir I want to make gsm relay contorl project
    But I have questions
    Gsm module how can I interface with gsm module?
    Ofter set at commends do we need to delete them?
    Can I use 3phase motor starter contorl?
    Please explain me
    Thank you very much

  • jayhook's picture
    jayhook
    Feb 29, 2016

    I would like to wire a 12volt battery with a 7502 voltage reg.. and a attiny 85 to get more distance with my 433mhz transmitter

  • SoloDE's picture
    SoloDE
    Mar 02, 2016

    which program do you use to draw the schematic for the circuit diagram ?
    thank you

  • Maddy's picture
    Maddy
    Mar 11, 2016

    Proteus with Arduino Library installed.

  • SAJITH's picture
    SAJITH
    Mar 04, 2016

    CAN U PLEASE HELP ME TO SET GSM MODULE (900A)) FOR THE SAME APPLICATION

  • MOHD ALI's picture
    MOHD ALI
    Mar 07, 2016

    does this code is same for 8051 or diffrent if so plz provide me the 8051 code.

  • ashind's picture
    ashind
    Mar 19, 2016

    this code can only used for arduino. if u are using 8051 the mode may be different

  • shailendra's picture
    shailendra
    Mar 20, 2016

    sir why can't we use serial.find() everywhere in code instead of string operations

  • siva's picture
    siva
    Mar 21, 2016

    sir the system works fine for 1st msg but doesnt respond to the next messages. then i have to reset the whole system to execute the message

  • Tanmayladani's picture
    Tanmayladani
    Apr 03, 2016

    SIR the program is very help full
    Thank you very much

  • siva's picture
    siva
    Apr 06, 2016

    sir, i did as prescribed and it is working fine with the serial monitor. but when it comes to gsm module it does not respond to the second message. ie, if i send #A.tv on* for the first time , it works fine... but then the system does not respond to whatever message i send to the gsm module.... have been with this problem for a lot of time... please help me sir..

  • Vinod's picture
    Vinod
    Apr 10, 2016

    For toz circuit can i use Gsm 2 click 

  • sneha 's picture
    sneha
    Apr 11, 2016

    @ashind
    i m also getting the same error
    C:\Users\Home\Documents\Arduino\test11\test11.ino: In function 'void serialEvent()':

    C:\Users\Home\Documents\Arduino\test11\test11.ino:143:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    if(Serial.find("#A."))
    how to get rid of this error??
    kindly reply soon

  • ashind's picture
    ashind
    May 01, 2016

    @sneha this is not an error .this is just a warning....so dnt wrry u will get o/p

  • Vinod's picture
    Vinod
    Apr 13, 2016

    Can i knw wat type of GSM that in use in tiz circuit .. bcos went i search Gsm Module its goes wrong can i get the full name of the GSM

  • Maddy's picture
    Maddy
    Apr 18, 2016

    Gsm Module is SIM900A, its already given in the description.

  • hasan's picture
    hasan
    Apr 22, 2017

    @Maddy can i use SIM900D over SIM900A?

  • soumya 's picture
    soumya
    Apr 17, 2016

    The code is not being uploaded.dnt knw y it is happening.does d code need any modification?

  • saddam khan's picture
    saddam khan
    Apr 21, 2016

    no need of any modification in code.

    remove rx and tx pin from arduino before uploading code.

  • Asif Ather's picture
    Asif Ather
    Apr 28, 2016

    sir, can i use sim 900A inplace of sim900.
    if yes, then is there any change in programme.

  • divyanshu's picture
    divyanshu
    May 07, 2016

    hello sir,
    how i wan to caotrol 8 bulb how i proceed plzz help me

  • Maddy's picture
    Maddy
    May 17, 2016

    ULN2003 can drive upto 7 Relays, use ULN2803 for 8 Relays. Change the code and connections accordingly.

  • Shri M's picture
    Shri M
    May 07, 2016

    Dear Sir,

    Please send the GSM module to my email id. Your site is good and I am beginner. I wanted to learn.
    []

  • NUTALAPTI VENGALARAYUDU's picture
    NUTALAPTI VENGA...
    May 11, 2016

    hii sir the above aurdino gsm program how to upload and which softaware using .i have upload but some java error is diplay

  • ALLY's picture
    ALLY
    May 11, 2016

    Please can you help me i tried to send sms on my gsm but is not turning on any thing what is the problem and sms shows received in my mobile

  • rex's picture
    rex
    May 19, 2016

    sir im using 12v/2A GSM module. can u please explain the current and voltage supply rating for the whole circuit. can i use 12v 2A adaptor for whole circuite..?

  • salufu's picture
    salufu
    May 20, 2016

    can one use sim800 in place of sim900?

     

  • salufu's picture
    salufu
    May 20, 2016

    will any gsm module work with the same code?

  • Maddy's picture
    Maddy
    May 21, 2016

    Yes, any GSM module should work, just check its Tx and Rx connections.

  • afreen's picture
    afreen
    May 22, 2016

    I am doing project "WIRELESS WEATHER MONITORING SYSTEM"using arduino uno, GSM sim900a, LCD 16x2, temperature and humidity sensor dht11…now I request yourgood self to please provide me a program that will display current temperature and humidity on LCD. also if we send SMS from any mobile number to a mobile number of simcard that is in GSM to send current temperature or humidity it must send back SMS to the mobile number from which it received SMS with current temperature or humidity..

  • ALLY's picture
    ALLY
    May 23, 2016

    please any one can help me I asked one week before regarding this code not working for me when I send sms to gsm nothing happen even if sms shows received
    please please any one can help me is very nice project I need to build it
    my email is [] any one can post me working codes

  • ashind's picture
    ashind
    Jun 01, 2016

    i like to share my home automation project.
    my project was GSM based home automation system with SMS feedback and gas leakage sms alert system with automatic power shutdown
    *when we sent sms to ARDUINO through GSM module. GSM module will sent an feedback sms to owners mobile number
    *when smoke is detected by MQ5 the Arduino will sent 3 alert sms to owners mobile number
    and will also shunt down the power.
    if anybody need this project program pleas contact me

  • Muhammad Hamza's picture
    Muhammad Hamza
    Jul 04, 2016

    Sir i want to do a call based GSM module project on 8051 micro controller to control the door locking system along with other home appliances,
    being a new comer i need the complete detail
    1) full step what can i do step by step
    2) program for 8051
    i shall be very thankful to you , looking forward for your kind reply

  • Snehal's picture
    Snehal
    Jul 09, 2016

    Bro I am doing the same project plzz help me up with any data ypu have collected so far

  • Mayur's picture
    Mayur
    Aug 15, 2018

    Hi @ashind .
    Your project is interesting.
    Please provide your project details like circuits diagram & project code.

  • Duke Danquah's picture
    Duke Danquah
    Jun 02, 2016

    i really love this project...how can i buy it

  • divyanshu's picture
    divyanshu
    Jun 14, 2016

    sir it's not working

    can we use sim900a instead of sim900

  • salman khan's picture
    salman khan
    Jul 25, 2016

    Dear saddam great project but some time GSM turning on leds and some time not. please explain

  • saddam khan's picture
    saddam khan
    Jul 29, 2016

    Thanks.

    you may try with long wire antenna or also you may change your operator.
    and you may also change your supply source

  • Richmond's picture
    Richmond
    Aug 02, 2016

    Can someone help me? This is my code.

    #include <LiquidCrystal.h>
    #include "SIM900.h"
    #include "sms.h"
    #include <SoftwareSerial.h>
    //#include <sms.h>
    #include <PString.h>
    SMSGSM sms;
    boolean started = false;
    char buffer[160];
    char smsbuffer[160];
    char n[20];
    //LiquidCrystal lcd(4,2,3,7,8,9);
    int buttonState;
    int lastButtonState = LOW;
    long lastDebounceTime = 0;
    long debounceDelay = 50;
    boolean st = false;
    int buzzer = 12;

    void setup() {

    //lcd.begin(16, 2);
    Serial.begin(9600);
    if (gsm.begin(2400))
    {
    started = true;
    }
    if (started)
    {
    delsms();
    }
    sms.SendSMS("+6xxxxxxxxxx" , "Gas Sensor and GSM module activated");

    }

    void loop() {

    //lcd.setCursor(0, 0);

    //lcd.print("Detektor Gas SMS");
    int val = analogRead(A0);
    val = map(val, 0, 1023, 0, 100);
    //lcd.setCursor(0,1);
    //lcd.print("Kadar: ");
    //lcd.print(val);
    //lcd.print("% ");

    //code using sensor detection
    if (val > 10) {
    tone(buzzer,800,500);
    delay(1000);
    st = true;
    }
    else st = false;

    if (st != lastButtonState) {
    lastDebounceTime = millis();
    }

    if ((millis() - lastDebounceTime) > debounceDelay) {

    if (st != buttonState) {
    buttonState = st;

    if (buttonState == HIGH) {
    PString str(buffer, sizeof(buffer));
    str.begin();
    str.print("Gas Detected! Gas leakage at ");
    str.print(val);
    str.print("%");
    //String a=str;
    sms.SendSMS("+6xxxxxxxxxx", buffer);
    }
    }
    }

    //code using sms lapor.
    lastButtonState = st;
    int pos = 0;
    if (started)
    {
    pos = sms.IsSMSPresent(SMS_ALL);
    if (pos)
    {
    sms.GetSMS(pos, n, smsbuffer, 100);
    delay(2000);
    if (!strcmp(smsbuffer, "lapor"))
    {
    PString str(buffer, sizeof(buffer));
    str.begin();
    str.print("Rate of gas leakage currently at ");
    str.print(val);
    str.print("%");
    //String a=str;
    sms.SendSMS("+6xxxxxxxxxx", buffer);
    }
    delsms();
    }
    }
    }

    //delete sms yang dihantar
    void delsms()
    {
    for (int i = 0; i < 10; i++)
    {
    int pos = sms.IsSMSPresent(SMS_ALL);
    if (pos != 0)
    {
    if (sms.DeleteSMS(pos) == 1) {} else {}
    }
    }
    }

    I'm using arduino uno, sim900 module, mq2 gas sensor and buzzer to create a gas sensor detector based on sms.
    I have to 2 option :
    1. The mq2 gas sensor detects and send the result via sms to the number set in the code.
    2. We can send a specific string to know the surrounding gas percentage and send the result to the specific number set in the code.

    But I want to change the second option to be auto reply to any incoming number. What should I do?

  • riya's picture
    riya
    Aug 04, 2016

    Sir, I want to do the same project by using micro-controller 8051.
    As i am new comer i want detail information about it.
    program, all steps, if u have any video then it also etc
    plz send me on my email.
    Thanks, looking forward for your kind reply.

  • ravindra's picture
    ravindra
    Aug 06, 2016

    Dear SK,
    Very nicely explained project ever I came across. It has created a lot of interest in my son including me. I thank for your sincere and fare sharing of knowledge.
    Thnaks a lot.

  • kshitish's picture
    kshitish
    Aug 14, 2016

    sir if we are using microprocessor there are two circuit diagrams one is for transmitter and another is for receiver but here is only one so is it like combined or what??

  • Maddy's picture
    Maddy
    Aug 20, 2016

    Transmitter is our cell phone itself.

  • charan's picture
    charan
    Sep 13, 2016

    Hi im thinking to make this project does this works properly?
    But ive compiled this code and it is showing some error

  • Abhishek's picture
    Abhishek
    Oct 06, 2016

    Project is working properly, please share the Error you are getting.

  • LESLEY's picture
    LESLEY
    Sep 22, 2016

    pliz i need to know how the program works and how i use the gsm

  • drew's picture
    drew
    Sep 28, 2016

    can you give me the code of this project .. please modify the code please can you take the crystal or lcd ... and make it compatible with GSM sim 800L please

  • bilal malik's picture
    bilal malik
    Sep 28, 2016

    I am getting error in serial.find function

  • Syakir's picture
    Syakir
    Sep 30, 2016

    Sir. I have try Interfacing GSM Module with Arduino, its working fine. But when i try your project. The bulb does not light up when i send sms to gsm. It show that the sim card in the gsm receive the message but it keep resetting itself. Please help me

  • khalifa's picture
    khalifa
    Oct 02, 2016

    i am not try it yet

  • Dani's picture
    Dani
    Oct 03, 2016

    please help me
    I did all the right connections
    I uploaded the source code
    But when I send a message
    None of the relay switches not
    what is the problem?

  • Trinity's picture
    Trinity
    Oct 07, 2016

    can someone help me pls. I connected the circuit as shown above. the LCD is ok but it is not responding to the on/off messages. I'm using sim800l. is there any modification in the program? if yes, how do I go about it?

  • Benson's picture
    Benson
    Oct 07, 2016

    Hello sir, please am using SIM900A with two sets of pins (6 pins in group and 3 pins also in group), i do not know how to go about the connections since its a bit different from your own module

  • Maddy's picture
    Maddy
    Oct 07, 2016

    Check the data sheet of your Module, you just need to find out serial communication pins Tx, Rx and power supply pins (Vcc and GND) in your GSM module.

  • Saftain's picture
    Saftain
    Oct 07, 2016

    sir currently i have arduino mega .so can i use mega instead of arduino uno for the same program
    ??

  • Maddy's picture
    Maddy
    Oct 07, 2016

    Yes, you can use Arduino Mega

  • ali 's picture
    ali
    Oct 11, 2016

    Hi i am working on project, appliances control & switching using gsm & bluetooth , can you help?

  • kiri's picture
    kiri
    Oct 12, 2016

    hye sir , do you create ur own relay circuit ? can i have the schematic . i just kind of confuse whether the relay circuit have connection that related to Arduino Uno.

  • Abhishek's picture
    Abhishek
    Oct 15, 2016

    Yes, its custom created Relay Module on Dot board which has ULN2003 on it. It may available in the Market too.

  • Trinity's picture
    Trinity
    Oct 18, 2016

    can the same program run on arduino mega? ... I can't find uno board in my area but I've a mega board. how can I modify the circuit or /and program to suite mega board?

  • Maddy's picture
    Maddy
    Oct 27, 2016

    Same code shall work in Arduino Mega.

  • Sara's picture
    Sara
    Oct 20, 2016

    What should be the current rating of the 12 v adapter?

  • Maddy's picture
    Maddy
    Oct 27, 2016

    GSM module is powered by using a 12v 1A adaptor.

  • Arif Zaman's picture
    Arif Zaman
    Oct 20, 2016

    I have uploaded the code and made the circuit accordingly but now its not connecting with the gsm module allthough all the connections right. i am using SIM900A mini

Pages

Leave a Comment