build a sensing system using genuino mkr1000 & artik cloud

Post on 12-Jan-2017

47 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Building a Sensing System using a Genuino MKR1000 and ARTIK Cloud

Massimo Banzi

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/

Register on ARTIK Cloud

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

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

Materials

Genuino MKR1000

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.

TMP36 Temperature sensor

http://bit.ly/simpletmp36

Simple code example for the TMP36

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

Create a device type in ARTIK Cloud

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

Create a manifest for the device

Create a manifest for the device

Activate manifest

Connect a device using the manifest cc.arduino.tempandfire

Connect a device using the manifest cc.arduino.tempandfire

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

http://bit.ly/artik01

ARTIK Cloud Example 01

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

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

}

Example Message

{"Data":

{"mid":"7c2c62011b254aa09aff0f80eb3418

c0"}

}

Example Reply

Thanks for joining!

top related