Briez
Member level 5
Hello,
I want to interface GSM module with atmega32.
I have wrote a c code using avr studio 4 and compiler winavr using 16MHZ crystal.
But when i send sms sending AT command, GSM module doesnt send sms.
I have checked my gsm module in hyperterminal. It is an okay.
I am sending commands as follow,
when i transmit "AT" to GSM it responds me with "PU".
What will be the problem?
I want to interface GSM module with atmega32.
I have wrote a c code using avr studio 4 and compiler winavr using 16MHZ crystal.
But when i send sms sending AT command, GSM module doesnt send sms.
I have checked my gsm module in hyperterminal. It is an okay.
I am sending commands as follow,
Code:
AT\r
delay(1000); //millisecond
ATE0\r
delay(1000); //millisecond
AT+CMGF=1\r
delay(1000); //millisecond
AT+CMGS="xxxxxxxxxx"\r
delay(100); //millisecond
(Message)
Ctrl+Z
when i transmit "AT" to GSM it responds me with "PU".
What will be the problem?