SlideShare a Scribd company logo
N O D E .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
WHO AM I?
CHARLIE KEY
CEO & Co-Founder
Losant
PREVIOUSLY
CEO & Co-Founder
Modulus
Losant provides a complete 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.
4
WHAT IS
THE INTERNET
OF THINGS?
“THE INTERNET AS A 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
IoT – THE INTERNET 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.
IT’S ABOUT ADDING VALUE
AND SOLVING PROBLEMS-
LIVES
BUSINESSES
CUSTOMERS
8
WHY DOES IoT MATTER?
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
9
IoT TODAY
THE SMART HOME
SMART
APPLIANCES
PRESENCE
SENSOR
SMART
OUTLETS
NEST
THERMOSTAT
PHILIPS HUE
BULBS
HOME
SECURITY
MANUFACTURING
AUTOMATED
PRESENCE
SENSOR
TEMERATURE
SENSOR
MOTOR
SENSOR
SMART
DELIVERY
REMOTE
MONITORING
HUMIDITY
SENSOR
THE SMARTER SELF
FITBIT
HEART RATE
BREATHING
SENSOR
LUMO RUN
SHORTS
SMART
RUNNING SHOES
13
THE IoT LIFECYCLE
COLLECT COMMUNICATE ANALYZE ACT
14
COLLECT
Devices and sensors are collecting data everywhere.
HOME CAR OFFICE MFG PLANT
15
COMMUNICATE
Sending data and events through networks to some destination
A CLOUD PLATFORM PRIVATE DATA CENTER HOME NETWORK
16
ANALYZE
Creating information from the data
MACHINE LEARNING BUILDING REPORTS FILTERING /
PAIRING
IT DOWN
17
ACT
Taking action based on the information and data
COMMUNICATE
W/ ANOTHER
MACHINE
(M2M)
SEND A NOTIFICATION
(SMS, EMAIL, TEXT)
TALK TO
ANOTHER
SYSTEM
JAVASCRIPT
+
IoT
Empowering everyone to build a more connected world.
19
WHY JAVASCRIPT?
The current toolsets are
hard to learn and use.
Low Level languages mean
more development time
and issues.
20
WHY NODE.JS?
48% of developers are using
Node.js at IoT companies
npm
231643
total packages
SUPPORTED HARDWARE
BEAGLEBONE BLACK
INTEL EDISON RASPBERRY PI
INTEL GALILEO LILINO ONE
TESSEL 2
22
SUPPORTED COMMUNICATION
XMPP
npm install node-xmpp-client
MQTT
npm install mqtt
HTTP
npm install request
CoAP
npm install coap
AMPQ
npm install ampq
STOMP
npm install stomp-client
and so many more…
23
NODE.JS LIBRARIES
JOHNNY-FIVE
var five = require("johnny-five");
var board = new five.Board();
board.on("ready", function() {
var led = new five.Led(13);
led.blink(500);
});
var Cylon = require("cylon");
Cylon.robot({
connections: {
arduino: { adaptor: 'firmata', port: '/dev/ttyACM0' }
},
devices: {
led: { driver: 'led', pin: 13 }
},
work: function(my) {
every((1).second(), function() {
my.led.toggle();
});
}
}).start();
INTEL EDISON
WIFI
BLUETOOTH
LINUX BASED
25
EDISON DETAILS
Dual Core Atom CPU 500 MHz
MCU 100 MHz
Wi-Fi & Bluetooth LE
Yocto Linux
40 GPIO
MANY BREAKOUT BOARD
OPTIONS
TINY LITTLE COMPUTER
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
27
EDISON SENSORS
USE GROVE KIT
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
WHERE DO WE GO
FROM HERE
SMALLER & MORE POWERFUL DEVICES
JS IN SMALLER FOOTPRINT
BETTER HW SUPPORT
WIDER CONNECTIVITY
30
“Anything with a battery will have
network connection.”
-Ben Wen
THE FUTURE WORLD
31
THANK YOU
CHARLIE KEY
charlie@losant.com
@zwigby
LOSANT
@LosantHQ

More Related Content

PPTX
Web development
PPTX
Impact of IoT
PPTX
Web Performance Optimization
PDF
Raspberry Pi IoT Projects
PPTX
Watson IOT Platform
PDF
Internet of Things(IoT) Applications | IoT Tutorial for Beginners | IoT Train...
PPTX
Azure IoT Hub
PDF
Cisco Internet of Things
Web development
Impact of IoT
Web Performance Optimization
Raspberry Pi IoT Projects
Watson IOT Platform
Internet of Things(IoT) Applications | IoT Tutorial for Beginners | IoT Train...
Azure IoT Hub
Cisco Internet of Things

What's hot (20)

PPTX
Internet of things
PPTX
Internet of Things (IoT)
PPTX
PPTX
iot seminar topic
PPTX
Internet of things ppt
PPTX
Internet of Things (IOT)
PDF
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
PPTX
RFID with INTERNET OF THINGS
PPTX
Internet of things
PDF
Internet of Things (IoT) - We Are at the Tip of An Iceberg
PPTX
Internet of Things
PPTX
Internet of things (IoT)
PPTX
Internet of Things ( IoT ) Training
PDF
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
PPTX
IOT Presentation Seminar PPT
PPTX
10 min IoT ppt
PPTX
Internet of Things Overview
PPTX
presentation on Edge computing
PPTX
Edge computing
PPTX
Internet of things (IoT)
Internet of things
Internet of Things (IoT)
iot seminar topic
Internet of things ppt
Internet of Things (IOT)
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
RFID with INTERNET OF THINGS
Internet of things
Internet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things
Internet of things (IoT)
Internet of Things ( IoT ) Training
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
IOT Presentation Seminar PPT
10 min IoT ppt
Internet of Things Overview
presentation on Edge computing
Edge computing
Internet of things (IoT)
Ad

Viewers also liked (9)

PPT
Let your website a ride of AngularJS
PDF
Good bad design
PPTX
Human computer interaction
PDF
IC Resources - enhancing intellectual capital
PDF
Internet of Things (IoT) Past, Present, and Future
PDF
LinkedIn’s Culture of Transformation
PDF
[Infographic] How will Internet of Things (IoT) change the world as we know it?
PDF
Mobile-First SEO - The Marketers Edition #3XEDigital
PDF
Mobile Is Eating the World (2016)
Let your website a ride of AngularJS
Good bad design
Human computer interaction
IC Resources - enhancing intellectual capital
Internet of Things (IoT) Past, Present, and Future
LinkedIn’s Culture of Transformation
[Infographic] How will Internet of Things (IoT) change the world as we know it?
Mobile-First SEO - The Marketers Edition #3XEDigital
Mobile Is Eating the World (2016)
Ad

Similar to Node.js and The Internet of Things (20)

PDF
The impact of IOT - exchange cala - 2015
PDF
Introduction to Internet Of Things
PPTX
Internet of things
PDF
The Internet of Things and You - A Developers Guide to IoT
PPTX
Iot presentation
PPTX
2 - Iot-Internet-of-Things.pptx
PDF
INTERNET OF THINGSSSSSSSSSSIIIIIOOOO.pdf
PDF
IoT Landscape and its Key Trends in Deployment
PDF
Rich Radka, Internet of Things at WSA-mobile Global Congress 2015
PPTX
The internet of things (io t)
PPTX
The internet of things (io t) : IoT academy
PPTX
isheji-copy_17cscsccccc44699508460 .pptx
PPTX
Iot-Internet-of-Things-ppt.pptx
PPTX
Introduction The Internet of Thing (IOT)
PDF
IOT VIVA QUESTION.pdf
PPTX
Internet of thing (IOT) AICT (Lec#10).pptx
PPTX
IoT Development - Opportunities and Challenges
PPTX
Groupdsaacascasacascascascasccsca 5.pptx
PDF
IoT-CT internet of thing master séminaire cours.pdf
The impact of IOT - exchange cala - 2015
Introduction to Internet Of Things
Internet of things
The Internet of Things and You - A Developers Guide to IoT
Iot presentation
2 - Iot-Internet-of-Things.pptx
INTERNET OF THINGSSSSSSSSSSIIIIIOOOO.pdf
IoT Landscape and its Key Trends in Deployment
Rich Radka, Internet of Things at WSA-mobile Global Congress 2015
The internet of things (io t)
The internet of things (io t) : IoT academy
isheji-copy_17cscsccccc44699508460 .pptx
Iot-Internet-of-Things-ppt.pptx
Introduction The Internet of Thing (IOT)
IOT VIVA QUESTION.pdf
Internet of thing (IOT) AICT (Lec#10).pptx
IoT Development - Opportunities and Challenges
Groupdsaacascasacascascascasccsca 5.pptx
IoT-CT internet of thing master séminaire cours.pdf

Recently uploaded (20)

PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
medical staffing services at VALiNTRY
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
Cost to Outsource Software Development in 2025
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
history of c programming in notes for students .pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Why Generative AI is the Future of Content, Code & Creativity?
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
medical staffing services at VALiNTRY
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Salesforce Agentforce AI Implementation.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms II-SECS-1021-03
AutoCAD Professional Crack 2025 With License Key
Cost to Outsource Software Development in 2025
wealthsignaloriginal-com-DS-text-... (1).pdf
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Digital Systems & Binary Numbers (comprehensive )
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Patient Appointment Booking in Odoo with online payment
Designing Intelligence for the Shop Floor.pdf
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
history of c programming in notes for students .pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus

Node.js and The Internet of Things

Editor's Notes

  • #24: Tethered vs not tethered