Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GM47 GSM module issue

Status
Not open for further replies.

Jibeji

Newbie level 1
Joined
Apr 5, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
Hello,
I am trying to set up a Sony Ericsson GM47 GSM module. It communicates correctly with the SIM card, as I am able to read it with AT commands.
The problem is that it does not register to the GSM network.
The status LED blinks every 3 seconds : 3 seconds ON, 3 seconds OFF.
A GSM antenna is pluged, and the SIM card works perfectly in a cell phone.
Is there an AT command which permits to know what's going wrong ?
Do I have to send a special command to ask the module to register ?
Thanks for your help.
 

Is there an AT command which permits to know what's going wrong ?
Do I have to send a special command to ask the module to register ?
You can download source code from **broken link removed**.
This system based on GR47 or GR64 module and ATmega128.
May be this can help:
Code:
void GRInit(void)
{
	if (GSMStatus == 0)						// Нужно включить GSM-модуль
	{
		SetActiveUart(GSM_UART);		
		printf("AT\n\r");
		delay_ms(2000);

		StringBuilder1();

		if (strstr(ReceiveString1, "OK") != NULL)	// Если GSM-модуль ответил "OK"...
		{			
			SetActiveUart(GSM_UART);
			printf("ATE=1\n\r");							// ...выключаем эхо, чтобы не забивать приемный буфер
			delay_ms(500);
			printf("AT*E2RS232=2\n\r");				// ...выключаем аппаратный контроль UART'а GSM-модуля
			delay_ms(500);
			printf("AT+CLIP=1\n\r");					// ...включаем АОН
			delay_ms(500);
			printf("AT+CMEE=1\n\r");					// ...включаем расширенные коды ошибок (числами)
			delay_ms(500);
			printf("AT+CSDH=1\n\r");					// ...включаем возможность текстового режима
			delay_ms(500);
			printf("AT+CMGF=1\n\r");					// ...включаем текстовый режим передачи SMS
			delay_ms(500);
			printf("AT*E2SSN\n\r");
			delay_ms(2000);
			
			StringBuilder1();
			if ((strstr(ReceiveString1, "OK") != NULL)	&& (strstr(ReceiveString1, "ERROR") == NULL))	// Если GSM-модуль не выдал ошибки и выдал OK...
				GSMStatus = 1;																										// ...то изменяем статус на "Не зарегестрирован в сети"
		}//OK
	}//GSMStatus
}//GRInit
 

If the LED blinks it means that the module is connected to a network. LED will be on without flashing when module is powered on.
 

Hi
Thank you for your answer
My led is off ....
I put on ground pin 14 of the modem for 2-3 sec but led is still off

Do you have any idea if i could connect this modem to pc by serial?

thanks again....
 

Yes,
I am using the same manual...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top