Go Down

Topic: MKR GSM 1400 Wont connect to Arduino Cloud (Read 1 time) previous topic - next topic



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 create.arduino.cc 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.

Code: [Select]

  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));

Go Up