- Notifications
You must be signed in to change notification settings - Fork2
Telstra Arduino MKR NB1500 Cumulocity example sketch
License
telstra/arduino-mkr-nb-1500-cumulocity
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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
- A Telstra Arduino MKR NB 1500 board.
- A Telstra SIM card with an active subscription.
- A Cumulocity account.
- A user with permissions to register devices.
- (Optional) A DHT11 temperature and humidity sensor.
- (Optional) TheSimpleDHT library.
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.
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.