Go Down

Topic: No Connection to Network: +CREG: 0,0 (Read 1 time) previous topic - next topic


I've a MKR 1400 Board with SIM, Antenna, and Lipo attached. The TestModem sketch works fine. When trying the GSMScanNetworks sketch with the only change in line 30:
Code: [Select]
GSM gsmAccess(true);     // include a 'true' parameter to enable debugging
I get the following output: (The full output is given in the attachment)

+CREG: 0,0


This part is repeating itself a number of times till the board hangs.
When I google the result I understand, that the first 0 of +CREG: 0,0 means their will be no message when changing the connection status, which is OK. The second zero tells that the board is not connected to a network but it is not searching for a connection either.
Why is the board not looking for a connection?
Why does it hang?
I will be gratefull, if someone could share their ideas.


Are you certain that the SIM has been activated, and with the device's IMEI number?

The TestModem sketch does not require a SIM card to work. Can you run that sketch again and post your Serial Monitor output?


I'm facing the same problem with my MKR GSM 1400.

The TestModem sketch displays the following output in the console, which seems to be correct:

   Starting modem test...modem.begin() succeeded
   Checking IMEI...Modem's IMEI: 357520074865730
   Resetting modem...Modem is functoning properly

But when running the GsmScanNetworks sketch, as described above by bbiehler, boards seems to hang after some time. I attach the console output.

I have been stuck with this already for a few days and I don't actually know what else I can do.

Could any of you please give me some advice? Any help to find out what's wrong with my MKR GSM 1400 board would be welcome.


Do you have a Lipo battery connected to the board as per the product page?


Yes, I had a LIPO battery connected to the MKR GSM 1400 board. I have also tried with a  5V/2,1A power supply connected to VIN, but I got the same result in both cases.



I got also the exact same problem that @mrcarrera ...
I'm using an external power supply 5v 3A, a working sim card and a gsm antenna.
The "TestModem" code provided by the MKRGSM library works perfectly by providing the correct IMEI number of my board.
But with the "GsmScanNetworks" the serial monitor is printing always the same thing and get stuck with those same lines : AT+CREG? +CREG: 0,0.
What could possibly be wrong?
Has someone that already face this issue beeing able to solved it?

Go Up