ADH8066 GSM Module

I am trying to send AT commands from my Arduino Uno to the ADH8066 GSM module I purchased from Sparkfun. I am looking for help in all categories (wiring and programming). If anyone has any experience I would appreciate any help.

Currently I have the TX pin of the Arduino connected to the RX0 pin on the ADH8066 and the RX pin of the Arduino to the TX0 pin of the ADH8066. I have the digital pin 13 on the Arduino connected to the ONKEY pin of the ADH8066 in order to power the GSM Module on. With my code I am not receiving any thing from the GSM Module.

#include <string.h>
#include <ctype.h>

int PWON = 13; // the pin to switch on the module (without press on button) 
int rxPin = 0;                    // RX PIN
int txPin = 1;                    // TX TX

String inputString = "";
char inChar;
int inByte = 0;

void setup()
{
  Serial.begin(115200);
  inputString.reserve(200);
  pinMode(PWON, OUTPUT);      // sets the digital pin as output
  pinMode(rxPin, INPUT);
  pinMode(txPin, OUTPUT);
  PowerModuleOn();
  delay(3000);
  InitializeGSM();
}

void loop()
{
  
}

void PowerModuleOn()
{
  digitalWrite(PWON, LOW); //Pull PWON low
  delay(300);  //Delay 300 ms
  digitalWrite(PWON, HIGH);  // Pull PWON high, Powers up GSM Module
}

void InitializeGSM()
{
  Serial.write("AT");
  Serial.write(0x0D); //carriage 
  delay(2000);
  if(Serial.available() > 0)
  {
    Serial.println("Data Available");
    //int inByte = Serial.read();
    //Serial.println(inByte);
    char c = (char) Serial.read();
    inputString += c;
    Serial.println(inputString);
  }else{
    Serial.println("No data coming from GSM Module");
  }
  
  
  delay(10000);
  //Serial.print(0x0d,HEX);
  Serial.println("AT+CPIN?");
  Serial.print(0x0d);
  if(Serial.available() > 0)
  {
    char c = (char) Serial.read();
    inputString += c;
    Serial.println(inputString);
  }
  
}

Any help is appreciated.

I'm trying to do the same thing, but with a cell phone as the modem.

If you figure this out, tell me, ok?

I have the digital pin 13 on the Arduino connected to the ONKEY pin of the ADH8066 in order to power the GSM Module on.

Which is likely not providing anywhere near enough current to run the module.

The datasheet says that the device needs 250mA in talk mode and 350mA in GPRS mode. The digital pin can supply 40mA.

I am getting this module to send and receive text messages using a uno clone.

I just set it up with this schematic http://dlnmh9ip6v2uc.cloudfront.net/datasheets/BreakoutBoards/ADH8066BreakoutBoardWiringCircuitUpdate.pdf

I have pin A3(17) for the off and on portion just using the pin in place of the switch No resistor.

Big thing I found to get it to work was setting the serial on the module to 9600, so the clone got all of the message prior to that it would only get a little bit of the incoming text.

Glenn

Dear Tmidthun,

Did you had chance to make your project working?

I would like to know how you powered the ADH8066 because it seams to work in 4V and Arduino Mini provide 5V.
How did you make 4V from Arduino?

Could you send at command?
Could you let me know how you did it?

Thank
Cheers