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 (125)

  • Dennis's picture
    Dennis

    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!

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

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

    Feb 07, 2016
  • Dennis's picture
    Dennis

    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).

    Feb 09, 2016
  • wayne's picture
    wayne

    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

    Apr 02, 2017
  • ashind's picture
    ashind

    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."));

    ^

    Feb 10, 2016
  • Roy's picture
    Roy

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

    Feb 11, 2016
  • Dennis's picture
    Dennis

    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?

    Feb 11, 2016
  • Jayant's picture
    Jayant

    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.

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

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

    Feb 24, 2016
  • ashind's picture
    ashind

    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

    Feb 14, 2016
  • Abhishek's picture
    Abhishek

    @ashind The given code is complete.

    Feb 23, 2016
  • Jayant's picture
    Jayant

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

    Feb 24, 2016
  • Leloko's picture
    Leloko

    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

    Feb 21, 2016
  • suresh's picture
    suresh

    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

    Feb 26, 2016
  • jayhook's picture
    jayhook

    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

    Feb 29, 2016
  • SoloDE's picture
    SoloDE

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

    Mar 02, 2016
  • Maddy's picture
    Maddy

    Proteus with Arduino Library installed.

    Mar 11, 2016
  • SAJITH's picture
    SAJITH

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

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

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

    Mar 07, 2016
  • ashind's picture
    ashind

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

    Mar 19, 2016
  • shailendra's picture
    shailendra

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

    Mar 20, 2016
  • siva's picture
    siva

    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

    Mar 21, 2016
  • Tanmayladani's picture
    Tanmayladani

    SIR the program is very help full
    Thank you very much

    Apr 03, 2016
  • siva's picture
    siva

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

    Apr 06, 2016
  • Vinod's picture
    Vinod

    For toz circuit can i use Gsm 2 click 

    Apr 10, 2016
  • sneha 's picture
    sneha

    @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

    Apr 11, 2016
  • ashind's picture
    ashind

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

    May 01, 2016
  • Vinod's picture
    Vinod

    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

    Apr 13, 2016
  • Maddy's picture
    Maddy

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

    Apr 18, 2016
  • hasan's picture
    hasan

    @Maddy can i use SIM900D over SIM900A?

    Apr 22, 2017
  • soumya 's picture
    soumya

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

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

    no need of any modification in code.

    remove rx and tx pin from arduino before uploading code.

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

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

    Apr 28, 2016
  • divyanshu's picture
    divyanshu

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

    May 07, 2016
  • Maddy's picture
    Maddy

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

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

    Dear Sir,

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

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

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

    May 11, 2016
  • ALLY's picture
    ALLY

    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

    May 11, 2016
  • rex's picture
    rex

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

    May 19, 2016
  • salufu's picture
    salufu

    can one use sim800 in place of sim900?

     

    May 20, 2016
  • salufu's picture
    salufu

    will any gsm module work with the same code?

    May 20, 2016
  • Maddy's picture
    Maddy

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

    May 21, 2016
  • afreen's picture
    afreen

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

    May 22, 2016
  • ALLY's picture
    ALLY

    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

    May 23, 2016
  • ashind's picture
    ashind

    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

    Jun 01, 2016
  • Muhammad Hamza's picture
    Muhammad Hamza

    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

    Jul 04, 2016
  • Snehal's picture
    Snehal

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

    Jul 09, 2016
  • Duke Danquah's picture
    Duke Danquah

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

    Jun 02, 2016
  • divyanshu's picture
    divyanshu

    sir it's not working

    can we use sim900a instead of sim900

    Jun 14, 2016
  • salman khan's picture
    salman khan

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

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

    Thanks.

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

    Jul 29, 2016
  • Richmond's picture
    Richmond

    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?

    Aug 02, 2016
  • riya's picture
    riya

    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.

    Aug 04, 2016
  • ravindra's picture
    ravindra

    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.

    Aug 06, 2016
  • kshitish's picture
    kshitish

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

    Aug 14, 2016
  • Maddy's picture
    Maddy

    Transmitter is our cell phone itself.

    Aug 20, 2016
  • charan's picture
    charan

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

    Sep 13, 2016
  • Abhishek's picture
    Abhishek

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

    Oct 06, 2016
  • LESLEY's picture
    LESLEY

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

    Sep 22, 2016
  • drew's picture
    drew

    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

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

    I am getting error in serial.find function

    Sep 28, 2016
  • Syakir's picture
    Syakir

    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

    Sep 30, 2016
  • khalifa's picture
    khalifa

    i am not try it yet

    Oct 02, 2016
  • Dani's picture
    Dani

    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?

    Oct 03, 2016
  • Trinity's picture
    Trinity

    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?

    Oct 07, 2016
  • Benson's picture
    Benson

    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

    Oct 07, 2016
  • Maddy's picture
    Maddy

    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.

    Oct 07, 2016
  • Saftain's picture
    Saftain

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

    Oct 07, 2016
  • Maddy's picture
    Maddy

    Yes, you can use Arduino Mega

    Oct 07, 2016
  • ali 's picture
    ali

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

    Oct 11, 2016
  • kiri's picture
    kiri

    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.

    Oct 12, 2016
  • Abhishek's picture
    Abhishek

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

    Oct 15, 2016
  • Trinity's picture
    Trinity

    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?

    Oct 18, 2016
  • Maddy's picture
    Maddy

    Same code shall work in Arduino Mega.

    Oct 27, 2016
  • Sara's picture
    Sara

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

    Oct 20, 2016
  • Maddy's picture
    Maddy

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

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

    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

    Oct 20, 2016
  • kiri's picture
    kiri

    hye sir, ur code work very fine .. thank u very much .

    instead of that , can i know how i want to reset each load . not all of it . its like when the load is ON . but when i sent message OFF . its does't off. so i think if i could put switch . and when i push the switch . my load is reset and it off . but i want it to work each load . means in ur code there 3load . so it will be 3 switch for reset .

    sorry for asking too much . can i do that and how i want to do it .

    Oct 21, 2016
  • ashok's picture
    ashok

    please tell me about, what softwares that we should use for dumping and all the details

    Oct 22, 2016
  • ashok's picture
    ashok

    I want references for this to put them in my project report.

    Oct 25, 2016
  • Lokesh Kumar's picture
    Lokesh Kumar

    Relay is On position when arduino powered up ,this will effect at project functioning bcz if power supply gone then all device is automatically shut down, if i connected with AC/DC adapter ,,,how to invert relay on and off in program(CODE) ,,,connection to nc/oc or oc/nc is not a proper solution

    Oct 26, 2016
  • Maddy's picture
    Maddy

    All Relays are Off when Arduino powers up initially, please try it out first.

    Oct 27, 2016
  • Lokesh Kumar's picture
    Lokesh Kumar

    i tried but but relay is not working,,,,,,every thing is gud and working properly.but when i send msg display showed that device is on but relay is not working with arduino board ,i checked connection many times everything is gud , i also checked this on bread board And DIY PCB ,but relays is not working ,,what can i do sir ,,,and how to invert relays in program, i am using arduina uno,and arduino nano,sim900, please help

    Nov 02, 2016

Pages

Leave a comment