My question is fairly simple. I have just got the GSM shield and have to yet to program it. But rather than programming it for a certain tasks can it be used like an out of the box Cell modem?
I have played with one particular cell modem a bit. MTC C2 cell modem by Multitech. In case any one is familiar with them. And when I was playing with it, I simply plugged it in usb and opened up a serial application like Putty. From there I could just use the AT commands directly.
Is there something similar I can do?
If not, perhaps someone could point me in the right direction to understanding this module. I have started reading the manual and saw the list of commands as well as specs. Although, I want to learn the hardware level design like the arduino. I am aware of how to hardcode the Arduino mega, but have no idea of where to start or how to go about it with the GSM shield. I understand that arduino has made that not necessary(built in commands), but I would love to learn the hard ware level as well.
/*
This sketch is the most basic way to communicate with the Arduino
GSM Shield. Upload the sketch and use Cool Term to send AT Commands
directly to the GSM Module.
View Quectel M10 AT Command Set:
http://arduino.cc/en/uploads/Main/Quectel_M10_AT_commands.pdf
*/
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 3);
char inChar = 0;
void setup()
{
Serial.begin(9600);
Serial.println("Device ready");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop() // run over and over
{
if (mySerial.available()){
inChar = mySerial.read();
Serial.write(inChar);
delay(20);
}
if (Serial.available()>0){
mySerial.write(Serial.read());
}
}
Notice in this code the very minor difference:
***SoftwareSerial mySerial(10, 3);***// for mega 2560
So now that that works, now I need to figure out why I cant communicate with this darn thing using the GSM network. Perhaps for sketches like send text I need to go into the the header files and change some things around? I thought the compiler would handle this for us though.
//////edit///////////////
There is clearly a lot of unanswered questions going on for the gsm threads at this point in time. Just from searching around on google. To say the least, all modem issues were user error for me. Primarily knowing the subtle details or right direction goes a long way. But... PROBLEM SOLVED!