antonio almeida- the api of things, ap is, apis all the way down

Post on 15-Apr-2017

57 Views

Category:

Devices & Hardware

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

The API of Things, APIs, APIs all the waydown

Antonio Almeida

developer & product evangelist at relayr

antonio@relayr.io

January 16, 2016

motivation I

B Internet of Things (IoT) is amisnomer

B it should be called the API of Things (AoT) —everything runs on APIs

B from the sensors to the analysis of the data theyprovide

internet of hipster junk

B tweeting fridge from LG — added value ≈ 0

context I

B relayr is a company that focuses on this great chain ofAPIs as the IoT enabler

B we approach IoT end-to-end: from sensors to dataanalysis

context II

B from the sensors ...

context III

B ... to the data analysis

motivation II

B many protocols are used: MQTT, CoAP, HTTP,WebSockets, &c

B the modern protocols are open and fully standardized— APIs are built upon them

B that’s where the value comes from: munging the datastreamed via those APIs

hardware commoditization

B IoT usually lingers almost to the exclusion ofeverything else in hardware

B on the other hand hardware is becoming a commodity

B hardware is but a tool: it’s what you craft with this toolthat matters

walking the walk I

B We’ll build a noise sensing device that publishes datato the relayr cloud via MQTT

B we’ll show that the value is extracted through the APIsbeing used, not the hardware

walking the walk II

B noise is a major health and environmental issue — theworld has become progressively noisier

B silence is a rare and valuable commodity

he knew silence

js bach

the plan

B using the Olinuxino A13 with the onboard audio codecfor capture

B using sox to capture a noise sample and analyze it

B publish data via MQTT to the relayr cloud with themosquitto client

demo time

going further

B use a microphone array withmultiplexing done viaanalog switches

B use MQTT over SSL for added security

B use the data outside of the relayr cloud for fineranalysis

B use an electretmicrophone capsule with a low noisepreamplifier

resources

code: https://github.com/relayr/sound-sensing-prototype

relayr cloud: http://dev.relayr.io

Olinuxino A13: https://www.olimex.com/Products/OLinuXino/A13/open-source-hardware

thank you

antonio@relayr.io

top related