diyode_magazine
Published © CC BY-ND

Arduino MKR NB 1500 Over the Telstra Narrowband Network

We put the Arduino MKR NB 1500 to the test using the Telstra network and show you how to give your IoT project long range communication.

IntermediateFull instructions provided5,657
Arduino MKR NB 1500 Over the Telstra Narrowband Network

Things used in this project

Hardware components

Arduino MKR NB 1500
Arduino MKR NB 1500
×1

Story

Read more

Schematics

Fritzing

Code

Code

Arduino
No preview (download only).

Code snippet #1

Plain text
#include "thingProperties.h"
int readSensor;
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); 
  Serial.println("Hello world");
  // Defined in thingProperties.h
  initProperties();
  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
}
void loop() {
  ArduinoCloud.update();
  // Your code here 
  sensor1 = analogRead(1);
  carbonMonoxide = analogRead(2);
  methaneSensor = analogRead(3);
  Serial.println(sensor1);
  Serial.println(carbonMonoxide);
  Serial.println(methaneSensor);
  delay(1000);
 }

Credits

diyode_magazine

diyode_magazine

1 project • 5 followers

Comments