A look at where the market of the Internet of Things is and how technologies like Node.js (JavaScript) and the Intel Edison are making it easier to create connected solutions.
Learn more at https://losant.com.
The major topics include:
* What is the Internet of Things
* Where is IoT Today
* 4 Parts of IoT (Collect, Communicate, Analyze, Act)
* Why JavaScript is Good for IoT
* How Node.js is Making a Dent in the Internet of Things
* What npm Modules are used for Hardware (Johnny-Five, Cylon.js, MRAA)
* What is the Intel Edison
* How to Best Work with the Edison
* Tips for Edison (MRAA, Grove Kit, UPM)
* Where the World of JavaScript and IoT is Going
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
Node.js and The Internet of Things
1. 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. 2
WHO AM I?
CHARLIE KEY
CEO & Co-Founder
Losant
PREVIOUSLY
CEO & Co-Founder
Modulus
3. 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.
5. “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. 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.
7. IT’S ABOUT ADDING VALUE
AND SOLVING PROBLEMS-
LIVES
BUSINESSES
CUSTOMERS
8. 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
17. 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
25. 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. 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. 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 WE GO
FROM HERE
SMALLER & MORE POWERFUL DEVICES
JS IN SMALLER FOOTPRINT
BETTER HW SUPPORT
WIDER CONNECTIVITY
30. 30
“Anything with a battery will have
network connection.”
-Ben Wen
THE FUTURE WORLD