SIM800L KitchenSink connection failure

i have a SIM800L v2 connected to an Arduino UNO, and am using the KitchenSink example from the v0.5 beta on GitHub. if I run that sketch (with a few break statements added to the cellular strength switch statement) i get this output in serial monitor:

ERROR: no signal
DEBUG: Verbose monitoring and modem serial access enabled
DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CGATT?

DEBUG: Modem Serial Buffer = AT+CGATT?
DEBUG: Modem Serial Buffer = +CGATT: 0
DEBUG: Modem Serial Buffer = OK
ERROR: Timeout when calling AT+CGATT?
 | elapsed ms = 0
DEBUG: Write Modem Serial = AT+CIPSTATUS?

DEBUG: Modem Serial Buffer = AT+CIPSTATUS?
DEBUG: Write Modem Serial = AT+CIPMUX?

DEBUG: Modem Serial Buffer = ERROR
DEBUG: Modem Serial Buffer = AT+CIPMUX?
DEBUG: Modem Serial Buffer = +CIPMUX: 0
ERROR: Error resp when calling AT+CIPMUX?

DEBUG: Write Modem Serial = AT+CIFSR

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = AT+CIFSR
DEBUG: Modem Serial Buffer = ERROR
ERROR: Error resp when calling AT+CIFSR

DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = AT+CSQ
DEBUG: Modem Serial Buffer = +CSQ: 0,0
DEBUG: Write Modem Serial = AT+CIPSHUT

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = AT+CIPSHUT
DEBUG: Modem Serial Buffer = SHUT OK
DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = AT+CSQ
DEBUG: Modem Serial Buffer = +CSQ: 0,0
ERROR: no signal
ERROR: unable to connect to cellular network
DEBUG: Write Modem Serial = AT+CGATT?

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = AT+CGATT?
DEBUG: Modem Serial Buffer = +CGATT: 0
DEBUG: Modem Serial Buffer = OK
ERROR: Timeout when calling AT+CGATT?
 | elapsed ms = 0
DEBUG: Write Modem Serial = AT+CIPSTATUS?

DEBUG: Modem Serial Buffer = AT+CIPSTATUS?
DEBUG: Write Modem Serial = AT+CIPMUX?

DEBUG: Modem Serial Buffer = ERROR
DEBUG: Modem Serial Buffer = AT+CIPMUX?
DEBUG: Modem Serial Buffer = +CIPMUX: 0
ERROR: Error resp when calling AT+CIPMUX?

DEBUG: Write Modem Serial = AT+CIFSR

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = AT+CIFSR
DEBUG: Modem Serial Buffer = ERROR
ERROR: Error resp when calling AT+CIFSR

DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = AT+CSQ
DEBUG: Modem Serial Buffer = +CSQ: 0,0
DEBUG: Write Modem Serial = AT+CIPSHUT

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = AT+CIPSHUT
DEBUG: Modem Serial Buffer = SHUT OK
DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = AT+CSQ
DEBUG: Modem Serial Buffer = +CSQ: 0,0
ERROR: no signal
ERROR: unable to connect to cellular network
DEBUG: Write Modem Serial = AT+CIPSTART=1,"TCP","ip_removed","9999"

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = AT+CIPSTART=1,"TCP","ip_removed","9999"
DEBUG: Modem Serial Buffer = ERROR
ERROR: Error resp when calling AT+CIPSTART=1,"TCP","ip_removed","9999"

ERROR: failed to start TCP connection
DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = AT+CSQ
DEBUG: Modem Serial Buffer = +CSQ: 0,0
No signal
DEBUG: Modem Serial Buffer = OK

However, if i use a basic sketch to pipe serial monitor data over to my sim800l manually, and type commands in myself, i can get a good connection:

setup complete
at+cfun=1
OK
at+cstt=“hologram”,"",""
OK
at+ciicr
OK
at+csq
+CSQ: 12,6
OK
at+cgatt?
+CGATT: 1
OK

It seems like the KitchenSink sketch isn’t passing the hologram apn name to the module. Has anyone experienced this?

Thanks for any input

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.