Ok, long story to describe what I am trying to do and steps I have taken.
In Australia the 2G phone network is about to be closed so I have purchased the iTead 3g Shield. I am trying to set it up so that I can send SMSs.
I am running the Arduino IDE on Mac and have the 3G shield stacked on an Uno. Given the problems I have been having (see below), I have emulated a PC to try and see if my issue is due to a board that isn't working properly/faulty. With a USB cable to the Uno and a second USB cable to the 3G Shield, I can get a response from AT commands (i.e. AT = OK), I can also confirm that when I ring the shield in this configuration that the Serial Monitor acknowledges the ringing (RING) - i.e. the shield is in good condition. Of note, when I try and ring out from my shield when attached to the emulated PC, I get a NO CARRIER message.
However, on returning to the Mac, I am unable to get any response from any AT command.
Here is the code I am using:
#include <SoftwareSerial.h>
//#define rxPin 7
//#define txPin 6
#define power_pin 8
#define reset_pin 9
//SoftwareSerial mySerial(rxPin, txPin);
void setup()
{
Serial.begin(9600);
Serial.print("AT");
}
void loop()
{
}
When I open Serial Monitor, I see a repeated AT every 5 seconds, with no "OK" response afterwards.
I can confirm that the jumpers are set to rx =6 and tx = 7, that all the lights are on appropriately.
I have been unable to add "#include <GSM.h>" as this throws out an error on compiling. I cannot find GSM.h in the arduino library, nor can I find a .zip of this library to add to my IDE (I believe that GSM is part of the current IDE set of library's).
Can anyone suggest why this shield isn't responding to AT commands when connected to a Mac
Thanks
Irish