Go Down

Topic: ADH8066 GSM Module (Read 3220 times) previous topic - next topic


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.

Code: [Select]
#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()
  pinMode(PWON, OUTPUT);      // sets the digital pin as output
  pinMode(rxPin, INPUT);
  pinMode(txPin, OUTPUT);

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(0x0D); //carriage
  if(Serial.available() > 0)
    Serial.println("Data Available");
    //int inByte = Serial.read();
    char c = (char) Serial.read();
    inputString += c;
    Serial.println("No data coming from GSM Module");
  if(Serial.available() > 0)
    char c = (char) Serial.read();
    inputString += c;

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.
The art of getting good answers lies in asking good questions.


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.



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?

Il ne suffit pas de tout savoir, la persévérance, c'est déjà presque tout!
You can not know everything, perseverance, it is almost everything!

Go Up