

This is actually my work log on Arduino & SIM900 GSM/GPRS module.
I’m starting off from here:
https://github.com/MarcoMartines/GSM-GPRS-GPS-Shield/blob/GSMSHIELD/examples/GSM_GPRSLibrary_Client/GSM_GPRSLibrary_Client.ino
But Im getting this error:
status=READY
ATT: ERROR
RIC:
ERRORDB:STARTING NEW CONNECTION
ATT: SHUT OK
RIC:
SHUT OKDB:SHUTTED OK
status=ERROR ==> Not connecting to apn for some reason.DB:NOT CONN
ATT: OK
RIC:
ERRORDB:NOT CONN
Number of data received:
0Data received:
This was quickly solved by increasing the timeout value in the inetGSM library file from 500 to 10000 ms.
Now the error is:
GSM Shield testing.
DB:ELSE
DB:CORRECT BR
RIC: ATE0
ATT: +CPMS:
+CPMS: 28,190,28,190,28,190
ATT: SHUT OK
status=READY
DB:STARTING NEW CONNECTION
DB:SHUTTED OK
DB:APN OK
DB:CONNECTION OK
RIC: 10.124.39.139
DB:ASSIGNED AN IP
status=ATTACHED
DB:RECVD CMD
ATT: CONNECT OK
DB:NOT CONN
ATT: OK
RIC: AT+CIPSTART=”TCP”,”www.google.com”,80
ERROR
DB:NOT CONN
ATT: OK
RIC: AT+CIPSTART=”TCP”,”www.google.com”,80
ERROR
DB:NOT CONN
Number of data received:
0
Data received:
So it seems its losing the connection. I believe it might be due to a power loss situation where the SIM900 is reported to require a steady 2A power supply to avoid such issues when it requires bursts of energy.
Im currently researching how to solve this issue…
I was about to try a capacitor (22microF) and a 4xAA battery pack thru the Vin when all of a sudden it worked!
I just tried it again another day and it worked again. Apparently my sim wasn’t properly activated…
GSMesting.
GSM Shield testing.
ATT: OK
RIC:
OKDB:ELSE
ATT: OK
RIC:
OKDB:ELSE
ATT: OK
RIC:
OKDB:ELSE
ATT: OK
RIC:
OKDB:CORRECT BR
ATT: OK
RIC:
OKATT: OK
RIC:
OKATT: OK
RIC: ATE0OK
ATT: OK
RIC:
OKATT: OK
RIC:
OKATT: OK
RIC:
OKATT: OK
RIC:
OKATT: +CPMS:
RIC:
+CPMS: 37,190,37,190,37,190OK
ATT: OK
RIC:
OKATT: SHUT OK
RIC:
SHUT OK
status=READY
ATT: ERROR
RIC:
ERRORDB:STARTING NEW CONNECTION
ATT: SHUT OK
RIC:
SHUT OKDB:SHUTTED OK
ATT: OK
RIC:
OKDB:APN OK
ATT: OK
RIC:
OKDB:CONNECTION OK
ATT: ERROR
RIC:
10.125.69.222DB:ASSIGNED AN IP
status=ATTACHED10.125.69.222
ATT: OK
RIC:
OKDB:RECVD CMD
ATT: CONNECT OK
RIC:
OKATT: OK
RIC:
CONNECT OKDB:OK TCP
ATT: >
RIC:
>
DB:>
ATT: SEND OK
RIC:
SEND OKDB:SENT
Number of data received:
50Data received:
HTTP/1.0 302 Found
Location: http://www.google.hn/?gws_rd=cr&ei=rEtyVZzBI9XfsAT9zLvABA
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=4bf4186862639d93:FF=0:TM=1433553836:LM=1433553836:S=vDVVuaRrLthWg9Cz; expires=Mon, 05-Jun-2017 01:23:56 GMT; path=/; domain=.google.com
Set-Cookie: NID=68=cj3CJ_MYqgELI9nt9GdFr0DLx8QyH9jRSQ3hWD8XgKpJhzAmKLaw-bY1KDmg5ylOvsj5zDAfkQ29QmOurH9vHxhb44f5wMqaH6AuO5vtHIJBEF1_4U4IqTyVEswuSdmq; expires=Sun, 06-Dec-2015 01:23:56 GMT; path=/; domain=.google.com; HttpOnly
P3P: CP=”This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info.”
Date: Sat, 06 Jun 2015 01:23:56 GMT
Server: gws
Content-Length: 258
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Alternate-Protocol: 80:quic,p=0<HTML><HEAD><meta http-equiv=”content-type” content=”text/html;charset=utf-8″>
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF=”http://www.google.hn/?gws_rd=cr&ei=rEtyVZzBI9XfsAT9zLvABA”>here</A>.
</BODY></HTML>CLOSED
hi, i have the same problem!
did you ever get this problem figured out? Im having it.
The CPMS error or the “no data received” error?
Yes. In my case it seems I damaged the sim address book and I got a new sim and it worked. But I think it’s a matter of putting the SIM into a phone and trying to edit some numbers via the mobile and it should get it working again.