Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Telstra Arduino MKR NB1500 Cumulocity example sketch

License

NotificationsYou must be signed in to change notification settings

telstra/arduino-mkr-nb-1500-cumulocity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note: The below examples use straight AT commands so doesnt need the Arduino MKR library which can be found hereArduino MKRNB

These sketches demonstrate how to;

  • Register an MKR NB 1500 on Cumulocity
  • Send measurements from an MKR NB 1500 to Cumulocity

Prerequisites

  1. A Telstra Arduino MKR NB 1500 board.
  2. A Telstra SIM card with an active subscription.
  3. A Cumulocity account.
  4. A user with permissions to register devices.
  5. (Optional) A DHT11 temperature and humidity sensor.
  6. (Optional) TheSimpleDHT library.

How to run

Register the MKR NB 1500

Openregister_device. Enter your Cumulocity tenancy and user information on lines 20 - 22.

// Cumulocity tenancy configString username = "";String password = "";String tenancy = "";

On line 23, give your device a name (egMyArduino).

String deviceName = "";

Upload and run the sketch. Once successfully registered, the serial monitor will continuously print thedeviceId; note this down.

Send measurements to Cumulocity

Opensend_measurements. Enter your Cumulocity tenancy, user information, anddeviceId on lines 30 - 33.

// Cumulocity tenancy configString username = "";String password = "";String tenancy = "";String deviceId = "";

Connect your DHT to GND, 5V, and pin 11.

Upload and run the sketch. You will now see measurements in Cumulocity.

About

Telstra Arduino MKR NB1500 Cumulocity example sketch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp