Hello, I use an MKR NB 1500 and an MKR GSM 1400. When I connect them to the Arduino IoT cloud, the installation goes without a problem. However, after uploading the standard sketch provided by the Arduino IoT Cloud, both boards reboot every 10 seconds.
Hi!
Can you share the sketch you are using?
How are you powering the devices? Could it be that the power suppy is not giving enough current to your devices?
Thanks for getting back to me. I'm getting a little desperate
This is the standard sketch generated by the Arduino IoT cloud (see below).
I tried several sim cards (Arduino, Vodafone and Xipo). All give the same results.
Based on your suggestion regarding the power supply, I installed the MRK ND 1500 on an MKR connector carrier with an external power supply. No difference.
The board still keeps disconnecting from the serial port every 10 seconds and than rebooth and give the following message on the serial monitor:
The SECRET tab is filled in correctly and the code is:
/*
Sketch generated by the Arduino IoT Cloud Thing "Untitled"
https://create.arduino.cc/cloud/things/584ffcc9-fa24-4b9d-99e8-f21dc8b0e645
Arduino IoT Cloud Variables description
The following variables are automatically generated and updated when changes are made to the Thing
String channelTimeStamp;
CloudTime iotTime;
Variables 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.
*/
#include "thingProperties.h"
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// Defined in thingProperties.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
/*
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
*/
setDebugMessageLevel(3);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
}
/*
Since IotTime is READ_WRITE variable, onIotTimeChange() is
executed every time a new value is received from IoT Cloud.
*/
void onIotTimeChange() {
// Add your code here to act upon IotTime change
}