interface gm862 with arduino

]good morning

i am facing a problem when interfacing telit gm862 with arduino. Actually i am able to launch a call to the gm862 module but i am unable to make an sms message go out of the microcontroller.Here is my code followed by the schematic

/*
 #include <SoftwareSerial.h>
	 
	int rxPin = 0;
	int txPin = 1;
	 
	// set up a new serial port
	SoftwareSerial serial=SoftwareSerial(rxPin,txPin);
	 
	void setup()  {
	  pinMode(rxPin, INPUT);
	  pinMode(txPin, OUTPUT);
	 
	  // set the data rate for the SoftwareSerial port
	  serial.begin(9600);
	 
	  // Set SMS to text mode. Note it is critical
	  // to use \r\n to end each line
	  // The delays are also critical, without them,
	  // you may lose some of the
	  // characters of your message
	 
	  serial.print("AT+CMGF=1\r\n");
	  delay(300);
	  serial.print("AT+CMGS=");
	  delay(300);
	  // Replace with a valid phone number
	  serial.print("00233240582093\r\n");
	  delay(300);
	  serial.print("Hello from Arduino.");
	  delay(300);
	 
	  // End the SMS with a control-z
	  serial.write(0x1A);
	}
	 
	void loop() {
	}

[*]

Hi,

I haven’t worked with the GM862, but I assume it’s like all other “AT command” GSM modems. If so, you need to add a longer

delay after you send the phone number, and the message text. I’d start with a 3 second delay in both cases, and once it’s working

you can tweak the delay downward to find the minimum value required.

John

thank for ur help

i think the problem was with the atmega328p microcontroller which can not communicate with the gm862 directly. i needed an ic for translation but now i have come with a new approach by using seeduino board to communicate with the gm862. and it works perfectly.