Node.js and The Internet of Things

Losant
LosantLosant
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
1 of 31

Recommended

Internet of Things Overview by
Internet of Things OverviewInternet of Things Overview
Internet of Things OverviewRomin Irani
2K views9 slides
Understanding IoT by
Understanding IoTUnderstanding IoT
Understanding IoTMd. Shamsul Haque
1.6K views25 slides
Internet of things - challenges scopes and solutions by
Internet of things - challenges scopes and solutionsInternet of things - challenges scopes and solutions
Internet of things - challenges scopes and solutionsShivam Kumar
1.5K views27 slides
Iot by
IotIot
IotPriti Banya Mohanty
1.9K views15 slides
Internet of things (IoT)- Introduction, Utilities, Applications by
Internet of things (IoT)- Introduction, Utilities, ApplicationsInternet of things (IoT)- Introduction, Utilities, Applications
Internet of things (IoT)- Introduction, Utilities, ApplicationsTarika Verma
2K views18 slides
Internet of Things by
Internet of ThingsInternet of Things
Internet of ThingsPantech ProLabs India Pvt Ltd
6K views28 slides

More Related Content

What's hot

Internet of things (IOT) connects physical to digital by
Internet of things (IOT) connects physical to digitalInternet of things (IOT) connects physical to digital
Internet of things (IOT) connects physical to digitalEslam Nader
1.8K views28 slides
Internet of Things ( IoT ) Training by
Internet of Things ( IoT ) TrainingInternet of Things ( IoT ) Training
Internet of Things ( IoT ) TrainingTonex
517 views20 slides
Internet of things (IOT) by
Internet of things (IOT)Internet of things (IOT)
Internet of things (IOT)Oshin Kandpal
2.2K views34 slides
Internet of Things and its applications by
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applicationsPasquale Puzio
299.5K views37 slides
Internet of things for Smart Home by
Internet of things for Smart Home Internet of things for Smart Home
Internet of things for Smart Home Khwaja Aamer
21.9K views19 slides
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ... by
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...Slide Marvels
32.3K views10 slides

What's hot(20)

Internet of things (IOT) connects physical to digital by Eslam Nader
Internet of things (IOT) connects physical to digitalInternet of things (IOT) connects physical to digital
Internet of things (IOT) connects physical to digital
Eslam Nader1.8K views
Internet of Things ( IoT ) Training by Tonex
Internet of Things ( IoT ) TrainingInternet of Things ( IoT ) Training
Internet of Things ( IoT ) Training
Tonex517 views
Internet of things (IOT) by Oshin Kandpal
Internet of things (IOT)Internet of things (IOT)
Internet of things (IOT)
Oshin Kandpal2.2K views
Internet of Things and its applications by Pasquale Puzio
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applications
Pasquale Puzio299.5K views
Internet of things for Smart Home by Khwaja Aamer
Internet of things for Smart Home Internet of things for Smart Home
Internet of things for Smart Home
Khwaja Aamer21.9K views
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ... by Slide Marvels
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
Slide Marvels32.3K views
IoT Based Home Automation System Presantation by Farhan Ahmed Rahee
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
Farhan Ahmed Rahee7.7K views
Internet of things startup basic by Mathan kumar
Internet of things  startup basicInternet of things  startup basic
Internet of things startup basic
Mathan kumar7K views
IoT and Big Data by sabnees
IoT and Big DataIoT and Big Data
IoT and Big Data
sabnees3.5K views
IOT and Characteristics of IOT by AmberSinghal1
IOT and  Characteristics of IOTIOT and  Characteristics of IOT
IOT and Characteristics of IOT
AmberSinghal119.6K views
Internet of Things (IoT) - Introduction ppt by sutrishnakar1995
Internet of Things (IoT) - Introduction ppt Internet of Things (IoT) - Introduction ppt
Internet of Things (IoT) - Introduction ppt
sutrishnakar19954.2K views
Challenges and application of Internet of Things by Ashutosh Bhardwaj
Challenges and application of Internet of ThingsChallenges and application of Internet of Things
Challenges and application of Internet of Things
Ashutosh Bhardwaj7.2K views
IOT: Home Automation using Android Application by Nikhil Jadav
IOT: Home Automation using Android ApplicationIOT: Home Automation using Android Application
IOT: Home Automation using Android Application
Nikhil Jadav9.4K views
Home automation in client server using NodeMcu approach along with user notif... by Brundha Sholaganga
Home automation in client server using NodeMcu approach along with user notif...Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...
Brundha Sholaganga1.7K views

Viewers also liked

Let your website a ride of AngularJS by
Let your website a ride of AngularJSLet your website a ride of AngularJS
Let your website a ride of AngularJSMike Taylor
14.1K views25 slides
Good bad design by
Good bad designGood bad design
Good bad designYaowaluck Promdee
13.6K views23 slides
Human computer interaction by
Human  computer interactionHuman  computer interaction
Human computer interactionAyusha Patnaik
64.3K views33 slides
IC Resources - enhancing intellectual capital by
IC Resources - enhancing intellectual capitalIC Resources - enhancing intellectual capital
IC Resources - enhancing intellectual capitalMary Buzzing
49.6K views10 slides
Internet of Things (IoT) Past, Present, and Future by
Internet of Things (IoT) Past, Present, and FutureInternet of Things (IoT) Past, Present, and Future
Internet of Things (IoT) Past, Present, and FutureLosant
3.2K views27 slides
LinkedIn’s Culture of Transformation by
LinkedIn’s Culture of TransformationLinkedIn’s Culture of Transformation
LinkedIn’s Culture of TransformationPat Wadors
14.5M views49 slides

Viewers also liked(9)

Let your website a ride of AngularJS by Mike Taylor
Let your website a ride of AngularJSLet your website a ride of AngularJS
Let your website a ride of AngularJS
Mike Taylor14.1K views
Human computer interaction by Ayusha Patnaik
Human  computer interactionHuman  computer interaction
Human computer interaction
Ayusha Patnaik64.3K views
IC Resources - enhancing intellectual capital by Mary Buzzing
IC Resources - enhancing intellectual capitalIC Resources - enhancing intellectual capital
IC Resources - enhancing intellectual capital
Mary Buzzing49.6K views
Internet of Things (IoT) Past, Present, and Future by Losant
Internet of Things (IoT) Past, Present, and FutureInternet of Things (IoT) Past, Present, and Future
Internet of Things (IoT) Past, Present, and Future
Losant3.2K views
LinkedIn’s Culture of Transformation by Pat Wadors
LinkedIn’s Culture of TransformationLinkedIn’s Culture of Transformation
LinkedIn’s Culture of Transformation
Pat Wadors14.5M views
[Infographic] How will Internet of Things (IoT) change the world as we know it? by InterQuest Group
[Infographic] How will Internet of Things (IoT) change the world as we know it?[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?
InterQuest Group193.2K views
Mobile-First SEO - The Marketers Edition #3XEDigital by Aleyda Solís
Mobile-First SEO - The Marketers Edition #3XEDigitalMobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigital
Aleyda Solís471.4K views
Mobile Is Eating the World (2016) by a16z
Mobile Is Eating the World (2016)Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)
a16z1.7M views

Similar to Node.js and The Internet of Things

Devcon2上海 参加報告 by
Devcon2上海 参加報告Devcon2上海 参加報告
Devcon2上海 参加報告Hiroyasu NOHATA
282 views16 slides
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim by
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimThree mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimDaeyoung Kim
2.3K views55 slides
Introduction to PySpark by
Introduction to PySparkIntroduction to PySpark
Introduction to PySparkRussell Jurney
7.5K views66 slides
OASIS: How open source and open standards work together: the Internet of Things by
OASIS: How open source and open standards work together: the Internet of ThingsOASIS: How open source and open standards work together: the Internet of Things
OASIS: How open source and open standards work together: the Internet of ThingsJames Bryce Clark
648 views18 slides
OASIS: open source and open standards: internet of things by
OASIS: open source and open standards: internet of thingsOASIS: open source and open standards: internet of things
OASIS: open source and open standards: internet of thingsJamie Clark
1.3K views18 slides
How To Electrocute Yourself using the Internet by
How To Electrocute Yourself using the InternetHow To Electrocute Yourself using the Internet
How To Electrocute Yourself using the InternetAlexander Roche
5.3K views40 slides

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

Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim by Daeyoung Kim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimThree mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Daeyoung Kim2.3K views
OASIS: How open source and open standards work together: the Internet of Things by James Bryce Clark
OASIS: How open source and open standards work together: the Internet of ThingsOASIS: How open source and open standards work together: the Internet of Things
OASIS: How open source and open standards work together: the Internet of Things
James Bryce Clark648 views
OASIS: open source and open standards: internet of things by Jamie Clark
OASIS: open source and open standards: internet of thingsOASIS: open source and open standards: internet of things
OASIS: open source and open standards: internet of things
Jamie Clark1.3K views
How To Electrocute Yourself using the Internet by Alexander Roche
How To Electrocute Yourself using the InternetHow To Electrocute Yourself using the Internet
How To Electrocute Yourself using the Internet
Alexander Roche5.3K views
Fuelling the AI Revolution with Gaming by C4Media
Fuelling the AI Revolution with GamingFuelling the AI Revolution with Gaming
Fuelling the AI Revolution with Gaming
C4Media386 views
Closed2Open Networking by NaLUG
Closed2Open NetworkingClosed2Open Networking
Closed2Open Networking
NaLUG66 views
RSA2015: Securing the Internet of Things by Daniel Miessler
RSA2015: Securing the Internet of ThingsRSA2015: Securing the Internet of Things
RSA2015: Securing the Internet of Things
Daniel Miessler1K views
All Things Open SDN, NFV and Open Daylight by Mark Hinkle
All Things Open SDN, NFV and Open Daylight All Things Open SDN, NFV and Open Daylight
All Things Open SDN, NFV and Open Daylight
Mark Hinkle1.9K views
Converged IoT Systems: Bringing the Data Center to the Edge of Everything by Dana Gardner
Converged IoT Systems: Bringing the Data Center to the Edge of EverythingConverged IoT Systems: Bringing the Data Center to the Edge of Everything
Converged IoT Systems: Bringing the Data Center to the Edge of Everything
Dana Gardner566 views
The Environment for Innovation: Tristan Goode, Aptira by OpenStack
The Environment for Innovation: Tristan Goode, AptiraThe Environment for Innovation: Tristan Goode, Aptira
The Environment for Innovation: Tristan Goode, Aptira
OpenStack1.5K views
CloudCamp Chicago - Big Data & Cloud May 2015 - All Slides by CloudCamp Chicago
CloudCamp Chicago - Big Data & Cloud May 2015 - All SlidesCloudCamp Chicago - Big Data & Cloud May 2015 - All Slides
CloudCamp Chicago - Big Data & Cloud May 2015 - All Slides
Internet of Things (IoT) - in the cloud or rather on-premises? by Guido Schmutz
Internet of Things (IoT) - in the cloud or rather on-premises?Internet of Things (IoT) - in the cloud or rather on-premises?
Internet of Things (IoT) - in the cloud or rather on-premises?
Guido Schmutz650 views
What is AI, Machine Learning, Neural Networks, Deep Learning and Data Science by Som Shahapurkar
What is AI, Machine Learning, Neural Networks, Deep Learning and Data ScienceWhat is AI, Machine Learning, Neural Networks, Deep Learning and Data Science
What is AI, Machine Learning, Neural Networks, Deep Learning and Data Science
Som Shahapurkar106 views
Hack the Real World with ANDROID THINGS by DevFest DC
Hack the Real World with ANDROID THINGSHack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGS
DevFest DC 289 views

Recently uploaded

Introduction to Maven by
Introduction to MavenIntroduction to Maven
Introduction to MavenJohn Valentino
6 views10 slides
tecnologia18.docx by
tecnologia18.docxtecnologia18.docx
tecnologia18.docxnosi6702
5 views5 slides
The Era of Large Language Models.pptx by
The Era of Large Language Models.pptxThe Era of Large Language Models.pptx
The Era of Large Language Models.pptxAbdulVahedShaik
7 views9 slides
Using Qt under LGPL-3.0 by
Using Qt under LGPL-3.0Using Qt under LGPL-3.0
Using Qt under LGPL-3.0Burkhard Stubert
12 views11 slides
Unleash The Monkeys by
Unleash The MonkeysUnleash The Monkeys
Unleash The MonkeysJacob Duijzer
8 views28 slides
nintendo_64.pptx by
nintendo_64.pptxnintendo_64.pptx
nintendo_64.pptxpaiga02016
5 views7 slides

Recently uploaded(20)

tecnologia18.docx by nosi6702
tecnologia18.docxtecnologia18.docx
tecnologia18.docx
nosi67025 views
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller41 views
Fleet Management Software in India by Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable12 views
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action by Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok11 views
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 views
Myths and Facts About Hospice Care: Busting Common Misconceptions by Care Coordinations
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common Misconceptions
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski12 views
AI and Ml presentation .pptx by FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8712 views
JioEngage_Presentation.pptx by admin125455
JioEngage_Presentation.pptxJioEngage_Presentation.pptx
JioEngage_Presentation.pptx
admin1254556 views
Quality Engineer: A Day in the Life by John Valentino
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the Life
John Valentino6 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm15 views

Node.js and The Internet of Things

Editor's Notes

  1. Tethered vs not tethered