Go Down

Topic: problem with gsm (Read 1 time) previous topic - next topic

cchara02

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!?


davidgoth

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.

ilesh_ic

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.


Go Up