Pages: [1]   Go Down
Author Topic: problem with gsm  (Read 1492 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

l use arduino MEGA2560 with the GSM shield. my sim does not have code. my code is stop at the command:

if(gsmAccess.begin(PINNUMBER)==GSM_READY)

and from sirial monitor I take this text:

AT%13%
0 9>AT%13%%13%%10%OK%13%%10%
AT+CGREG?%13%
9 40>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
40 71>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
71 102>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
102 5>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
5 36>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
36 67>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
67 98>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
98 1>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
1 32>AT+CGREG?%13%%13%%10%+CGREG: 0,3%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
....

I use additional, external source 9v but this doesn't help. can l have a help please!?

Logged

Madrid (Spain)
Offline Offline
Full Member
***
Karma: 0
Posts: 135
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

A 0,3 response in CGREG command means network is refusing your SIM card. Did you written APN correctly?. Contact with your mobile operator.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

CREG is used to detect whether the sim is ready to use and sim is registered with the local mobile network.

If SIM card fails to register the local mobile network, you will not able to do any function like SMS sending and receiving or GPRS.

check this sim card in your cell phone and see whether u are able to send / receive the sms and able to access internet.?

Also try ur personal simcard and see whether it is passing the CREG command without any issue. It should be?? if its shows issue means some problem possibly on gsm module.

Logged

Pages: [1]   Go Up
Jump to: