]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() {
}
[*]