build a sensing system using genuino mkr1000 & artik cloud

23
Building a Sensing System using a Genuino MKR1000 and ARTIK Cloud Massimo Banzi

Upload: samsung-artik-cloud

Post on 12-Jan-2017

47 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Building a Sensing System using a Genuino MKR1000 and ARTIK Cloud

Massimo Banzi

Page 2: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

ARTIK Cloud for IoT ChallengeHere’s how to get started to join the Challenge!https://www.hackster.io/contests/artikcloud

The code used here is based on information I gathered from these tutorials:

https://www.hackster.io/makers-ns/arduino-mkr1000-dht-artik-cloud-78cf18

https://www.artik.io/blog/2016/05/monitor-fire-temperature-using-artik-cloud-open-source-iot-hardware-android/

Page 3: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Register on ARTIK Cloud

https://developer.artik.cloud/account/signup

Page 4: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

https://id.arduino.cc/auth/signup

Page 5: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud
Page 6: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud
Page 7: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Materials

Page 8: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Genuino MKR1000

Page 9: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

TMP36 Temperature sensor

The TMP35/TMP36/TMP37 are low voltage, precision centigrade temperature sensors. They provide a voltage output that is linearly proportional to the Celsius (centigrade) temperature. The TMP35/TMP36/TMP37 do not require any external calibration to provide typical accuracies of ±1°C at +25°C and ±2°C over the −40°C to +125°C temperature range.

Page 10: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

TMP36 Temperature sensor

Page 11: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud
Page 12: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

http://bit.ly/simpletmp36

Simple code example for the TMP36

Page 13: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

https://developer.artik.cloud/dashboard/devicetypes

Create a device type in ARTIK Cloud

Page 14: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

https://developer.artik.cloud/dashboard/devicetypes

Create a manifest for the device

Page 15: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Create a manifest for the device

Page 16: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Activate manifest

Page 17: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Connect a device using the manifest cc.arduino.tempandfire

Page 18: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Connect a device using the manifest cc.arduino.tempandfire

Page 19: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Device info, you’ll need the Device ID and Device Token

Page 20: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

http://bit.ly/artik01

ARTIK Cloud Example 01

Page 21: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

{"sdid":"79643157064d46e2a7e47e4347f3a625","Type":"message","Data": {

"Temperature":24.00,"onFire":false}

}

Example Message

Page 22: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

{"Data":

{"mid":"7c2c62011b254aa09aff0f80eb3418

c0"}

}

Example Reply

Page 23: Build a Sensing System using Genuino MKR1000 & ARTIK Cloud

Thanks for joining!