LOGIN
Bharath Kumar
engineer,student
 · ChennaiIndia
Edit
Delete
Share
Report
GENERAL

currently i am doing project on collecting info about ocean using arduino . but i have stucked in a place where i want to send the data wireless . can any one give suggestion

0 like 
Like
Share
Load 2 previous comments
Bharath Kumar
engineer,student
 · ChennaiIndia
Edit
Delete
Share
Report

no , iam going to use GSM module

0 like 
Bharath Kumar
engineer,student
 · ChennaiIndia
Edit
Delete
Share
Report

SIM808 GSM/GPRS + GPS Module i going to use

0 like 
Bharath Kumar
engineer,student
 · ChennaiIndia
Edit
Delete
Share
Report

i got strucked in programming it can any one suggest any website for the code
pls

1 like 
Bi Sh
Design Invention Research
 · KathmanduNepal
Edit
Delete
Share
Report

u’ll get plenty of working codes on quick search for any Modem modules interfacing with Arduino… just use Key words…

1 like 
Steven Reubenstone
Mechanical Engineer & Collaborizm Mentor. Join our iOT Hackathon!
 · New YorkU.S.
Edit
Delete
Share
Report

Hope this helps from: http://www.circuitstoday.com/interface-gsm-module-with-arduino

~span~class~_1bcRJhiNTH8jh88VODldlE~#include~span~ <SoftwareSerial.h>

SoftwareSerial mySerial(9, 10);

void setup()
{
  mySerial.begin(9600);   // Setting the baud rate of GSM Module  
  Serial.begin(9600);    // Setting the baud rate of Serial Monitor (Arduino)
  delay(100);
}


void loop()
{
  if (Serial.available()>0)
   switch(Serial.read())
  {
    case 's':
      SendMessage();
      break;
    case 'r':
      RecieveMessage();
      break;
  }

 if (mySerial.available()>0)
   Serial.write(mySerial.read());
}


 void SendMessage()
{
  mySerial.println("AT+CMGF=1");    //Sets the GSM Module in Text Mode
  delay(1000);  // Delay of 1000 milli seconds or 1 second
  mySerial.println("AT+CMGS=\"+91xxxxxxxxxx\"\r"); // Replace x with mobile number
  delay(1000);
  mySerial.println("I am SMS from GSM Module");// The SMS text you want to send
  delay(100);
   mySerial.println((char)26);// ASCII code of CTRL+Z
  delay(1000);
}


 void RecieveMessage()
{
  mySerial.println("AT+CNMI=2,2,0,0,0"); // AT Command to receive a live SMS
  delay(1000);
 }
0 like 
Bharath Kumar
engineer,student
 · ChennaiIndia
Edit
Delete
Share
Report

thank u very much

0 like 
Leave a reply...
DISCOVER
CHAT
ALERTS
-2
DISCUSSIONS
-1
FEED