Page 1 of 1

Cytron GSM + Development Board

PostPosted: Sat Mar 24, 2012 3:13 pm
by Idris
It is better to have a small GSM + Development Board, just have a UART pin, no need RS232. Maybe Cytron's Engineer can create that. :)

Re: Cytron GSM + Development Board

PostPosted: Sun Mar 25, 2012 11:02 am
by robosang
Yes, I seconded that 8-)

Re: Cytron GSM + Development Board

PostPosted: Fri Sep 07, 2012 1:52 pm
by goodhuman
i believe soon... believe me ^^

Re: Cytron GSM + cytron uno

PostPosted: Sat Feb 17, 2018 4:22 pm
by vidya shini
HIE I already buy the gsm module...can i have the code for gsm sim 900A mudule with connection
thank u

Re: Cytron GSM + Development Board

PostPosted: Sat Feb 17, 2018 9:55 pm
by vidya shini
+CME ERROR: invalid input value
solution for this comment

my cooding

#include <SoftwareSerial.h>
SoftwareSerial SIM900A(10,11);
void setup()
{
SIM900A.begin(9600); // Setting the baud rate of GSM Module
Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
Serial.println ("SIM900A Ready");
delay(100);
Serial.println ("Type s to send message or r to receive message");
}
void loop()
{
if (Serial.available()>0)
switch(Serial.read())
{
case 's':
SendMessage();
break;
case 'r':
RecieveMessage();
break;
}
if (SIM900A.available()>0)
Serial.write(SIM900A.read());
}
void SendMessage()
{
Serial.println ("Sending Message");
SIM900A.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
delay(1000);
Serial.println ("Set SMS Number");
SIM900A.println("AT+CMGS=\"+60174114491\"\r"); //Mobile phone number to send message
delay(1000);
Serial.println ("Set SMS Content");
SIM900A.println("Good morning, how are you doing?");// Messsage content
delay(1000);
Serial.println ("Finish");
SIM900A.println((char)26);// ASCII code of CTRL+Z
delay(1000);
Serial.println ("Message has been sent ->SMS Selesai dikirim");
}
void RecieveMessage()
{
Serial.println ("SIM900A Membaca SMS");
delay (1000);
SIM900A.println("AT+CNMI=2,2,0,0,0"); // AT Command to receive a live SMS
delay(1000);
Serial.write ("Unread Message done");
}