The document introduces Charlie Key, CEO of Losant, and discusses the Internet of Things (IoT) as a network of devices working together for data-driven decision-making. It highlights the IoT lifecycle involving data collection, communication, analysis, and action, emphasizing the role of JavaScript and Node.js in developing IoT solutions. The document also outlines the importance of various hardware and software tools in creating connected devices and explores the future of IoT technology.
N O DE .J S
&
T H E I N T E R N E T
O F T H I N G S
C HARLIE KEY @zwigby
LOSANT @LosantHQ
1.28.2016
2.
2
WHO AM I?
CHARLIEKEY
CEO & Co-Founder
Losant
PREVIOUSLY
CEO & Co-Founder
Modulus
3.
Losant provides acomplete developer platform to quickly,
securely, and easily build complex connected solutions.
CONNECT ANALYZE REACT
Connect and manage
thousands of devices.
Turn raw data into
useful insights.
Make data-driven
decisions in real-time.
“THE INTERNET ASA NETWORK
HAD THE POTENTIAL TO BECOME
LIKE A NERVOUS SYSTEM IF WE
ADDED SENSING CAPABILITY.”
KEVIN ASHTONP&G, UK (1999) – ASSISTANT BRAND
MANAGER, OLAY
6.
6
IoT – THEINTERNET OF THINGS
IoT is a term that represents a collection of ideas, devices, and processes.
Each thing is represented by a device or sensor.
These things are usually working together to create larger solutions by
sending and reacting to data from an ecosystem.
7.
IT’S ABOUT ADDINGVALUE
AND SOLVING PROBLEMS-
LIVES
BUSINESSES
CUSTOMERS
8.
8
WHY DOES IoTMATTER?
http://www.gartner.com/newsroom/id/3165317
0
5
10
15
20
25
NUMBER OF CONNECTED DEVICES
2014 2015 2016 2017 2018 2019 2020
TODAY
billionsofdevices
17
ACT
Taking action basedon the information and data
COMMUNICATE
W/ ANOTHER
MACHINE
(M2M)
SEND A NOTIFICATION
(SMS, EMAIL, TEXT)
TALK TO
ANOTHER
SYSTEM
25
EDISON DETAILS
Dual CoreAtom CPU 500 MHz
MCU 100 MHz
Wi-Fi & Bluetooth LE
Yocto Linux
40 GPIO
MANY BREAKOUT BOARD
OPTIONS
TINY LITTLE COMPUTER
26.
26
EDISON TIPS
var m= require('mraa'); //require mraa
var myLed = new m.Gpio(13); //LED hooked up to digital pin 13
myLed.dir(m.DIR_OUT); //set the gpio direction to output
var ledState = true; //Boolean to hold the state of Led
function periodicActivity()
{
myLed.write(ledState ? 1:0); //write led state to pin
ledState = !ledState; //invert the ledState
setTimeout(periodicActivity,1000); //call after 1 second
}
periodicActivity(); //call the periodicActivity function
USE MRAA
npm install mraa
28
EDISON COMPATIBILITY
USE UPM(USEFUL PACKAGES & MODULES)
https://github.com/intel-iot-devkit/upm
https://github.com/intel-iot-devkit/upm/tree/master/examples/javascript
// Load PN532 module
var pn532 = require('jsupm_pn532');
// Instantiate an PN532 on I2C bus 0 (default) using gpio 3 for the
// IRQ, and gpio 2 for the reset pin.
var myNFCObj = new pn532.PN532(3, 2);
if(myNFCObj.readPassiveTargetID(pn532.PN532.BAUD_MIFARE_ISO14443A
, uid, uidSize, 2000))
{
// found a card – do something
}
29.
29
WHERE DO WEGO
FROM HERE
SMALLER & MORE POWERFUL DEVICES
JS IN SMALLER FOOTPRINT
BETTER HW SUPPORT
WIDER CONNECTIVITY
30.
30
“Anything with abattery will have
network connection.”
-Ben Wen
THE FUTURE WORLD