MKR GSM 1400 Wont connect to Arduino Cloud


I’m using a MKR GSM 1400 to send GPS data to the Arduino IoT cloud. It uses the arduino SIM card. The sketch is auto generated from and the first few times I could connect but the GPS would not update (seperate thread).

Now however, the board will not connect to Arduino cloud at all. It shows “Arduino IoT Cloud connecting …” three times but never connects and never produces any message that a connection cannot be established.

At the beginning I was able to connect a few times but now it wont work at all. I just wanted to check if anyone as had a similar experience and knows a solution.

  Sketch generated by the Arduino IoT Cloud Thing "DOG_Tracker" 

  Arduino IoT Cloud Properties description

  The following variables are automatically generated and updated when changes are made to the Thing properties

  float latitude;
  float longitude;

  Properties which are marked as READ/WRITE in the Cloud Thing will also have functions
  which are called when their values are changed from the Dashboard.
  These functions are generated with the Thing and added at the end of this sketch.

// Arduino_MKRGPS - Version: Latest 
#include <Arduino_MKRGPS.h>
#include "thingProperties.h"

void setup() {
  // Defined in thingProperties.h

  // Connect to Arduino IoT Cloud
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4

void loop() {
  // Your code here 
    latitude = GPS.latitude();
    longitude = GPS.longitude();
    Serial.println("Location: " + String(latitude) + ", " + String(longitude));

Wont connect.PNG

Dear Robinson2!

Have the same Problem with my MKR GSM 1400:

Arduino IoT Cloud Connection status: IDLE
***** Arduino IoT Cloud - configuration info *****
Device ID: 3f9d2b67-dca6-4a22-983e-12bd129f54c0
Thing ID: 9132de45-75a7-48c3-b870-ca8679c2390d
MQTT Broker:
SIM card ok
GPRS.attachGPRS(): 4
Sending PING to outer space... 114
Connected to GPRS Network
Arduino IoT Cloud Connection status: CONNECTING
Arduino IoT Cloud connecting ...

Then the Arduino seems to hung :expressionless:

Do you have a solution?

Thanks Andreas

Same issue here

Hi NRobinson2!
Hi marcelchelo!

I avoided any delay() and Serial.print() statements in my sketch (helped on my LoRa MKRs) but badly this didn’t help on the GSM 1400 :expressionless:

Yesterday I have ordered a Hardware Debugging Module and I have already successfully installed MS Visual Studio Code and PlatformIO (is debug ready!). The Debug-Module should arrive in 2 weeks. I hope I can then start to debug this behavior...

I keep you up to date!

All the best

Hi NRobinson2!
Hi marcelchelo!

Over the weekend I have found these forum entries:

It's most likely a hardware problem...



Thanks for all your replies. I got my MKR GSM 1400 out of the box again last night and decided to try again before my free SIM card coverage expired.

The entire reason I bought a MKR GSM 1400 was to use it with the GSM shield and track my dog when he ran away.

Last night, I can connect to Arduino cloud without any issue. Also, just using the GPS example sketch I can get latitude and longitude without issue.

However, when I'm connected to arduino cloud with cellular and try to get GPS data, no GPS data ever comes.

That issue is here:

At this point I'm probably going to buy the particle LTE feather and GPS from adafruit and see if it will work because I don't see any forthcoming solution to make GSM1400 and GPS shield work together.

Hi NRobinsin2

[particle LTE feather and GPS from adafruit] - okay - thanks for this tipp :slight_smile: