samsung artik cloud and genuino mkr100

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

Upload: samsung-artik-cloud-for-iot

Post on 12-Jan-2017

51 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Samsung ARTIK Cloud and Genuino MKR100

Building a Sensing System using a Genuino MKR1000 and ARTIK Cloud

Massimo Banzi

Page 2: Samsung ARTIK Cloud and Genuino MKR100

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: Samsung ARTIK Cloud and Genuino MKR100

Register on ARTIK Cloud

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

Page 4: Samsung ARTIK Cloud and Genuino MKR100

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

Page 5: Samsung ARTIK Cloud and Genuino MKR100
Page 6: Samsung ARTIK Cloud and Genuino MKR100
Page 7: Samsung ARTIK Cloud and Genuino MKR100

Materials

Page 8: Samsung ARTIK Cloud and Genuino MKR100

Genuino MKR1000

Page 9: Samsung ARTIK Cloud and Genuino MKR100

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: Samsung ARTIK Cloud and Genuino MKR100

TMP36 Temperature sensor

Page 11: Samsung ARTIK Cloud and Genuino MKR100
Page 12: Samsung ARTIK Cloud and Genuino MKR100

http://bit.ly/simpletmp36

Simple code example for the TMP36

Page 13: Samsung ARTIK Cloud and Genuino MKR100

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

Create a device type in ARTIK Cloud

Page 14: Samsung ARTIK Cloud and Genuino MKR100

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

Create a manifest for the device

Page 15: Samsung ARTIK Cloud and Genuino MKR100

Create a manifest for the device

Page 16: Samsung ARTIK Cloud and Genuino MKR100

Activate manifest

Page 17: Samsung ARTIK Cloud and Genuino MKR100

Connect a device using the manifest cc.arduino.tempandfire

Page 18: Samsung ARTIK Cloud and Genuino MKR100

Connect a device using the manifest cc.arduino.tempandfire

Page 19: Samsung ARTIK Cloud and Genuino MKR100

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

Page 20: Samsung ARTIK Cloud and Genuino MKR100

http://bit.ly/artik01

ARTIK Cloud Example 01

Page 21: Samsung ARTIK Cloud and Genuino MKR100

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

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

}

Example Message

Page 22: Samsung ARTIK Cloud and Genuino MKR100

{"Data":

{"mid":"7c2c62011b254aa09aff0f80eb3418

c0"}

}

Example Reply

Page 23: Samsung ARTIK Cloud and Genuino MKR100

Thanks for joining!