Presentation by Charalampos Doukas: Learn how to use Node.js and JavaScript to program both your IoT hardware and your Cloud application using Open Source tools and the COMPOSE platform. Device sensing and interaction from the Cloud through JavaScript
26. IoT
&
JavaScript
SoEware
• Noduino
• A
simple
and
flexible
JavaScript
and
Node.js
Framework
for
accessing
basic
Arduino
controls
from
Web
Applica;ons
using
HTML5,
Socket.IO
and
Node.js
27. IoT
&
JavaScript
SoEware
• Device.js
• DeviceJS
is
a
JavaScript
based
development
plaHorm
for
reac;ng
to
sensors
and
controlling
devices.
It’s
built
on
top
of
Google’s
V8
JavaScript
engine,
Node.js
and
a
real-‐;me
JSON
database
28. IoT
&
JavaScript
SoEware
• Node-‐RED
– Node-‐RED
is
a
tool
for
wiring
together
hardware
devices,
APIs
and
online
services
– Web-‐based
– O/S
32. IoT:
the
community
approach
Device
SoEware
Cylon.js
is
a
JavaScript
framework
for
robo9cs,
physical
compu9ng,
and
the
Internet
of
Things.
It
makes
it
incredibly
easy
to
command
robots
and
devices.
Device
SDK
over
JS/Node.JS
REST/WebSockets/MQTT
Browser/Mobile
support
33. Building
IoT
Applica;ons
What
else
does
it
take?
Devices
–
‘Smart
Objects’
–
‘Things’
Networks
Online
Services
34. Building
IoT
Applica;ons
What
else
does
it
take?
Deploy
&
Manage
Back-‐
End
Many
APIs
to
connect
and
integrate
Management
&
Data
Maintenance
40. COMPOSE
at
heart
servIoTicy
• IoT
Streaming
made
easy!
• RESTful
API
for:
– Storing
device
(sensor)
data
– Querying
&
Retrieving
the
data
– Pushing
data
to
the
device
– Subscribing
to
no;fica;ons
(e.g.,
new
sensor
data
arrived)
• Free
and
Open
Source
• Downloadable
bundle
(Ubuntu/Debian
Image)
• Soon
-‐>
CloudFoundry
installa;on
47. PART
B
–
Some
Fun
stuff
(Hands
on
Demo)
Using
JavaScript
and
COMPOSE
to
build
cool
IoT
applica;ons
(Mind
the
Demo
Effect)
48. Charalampos
Doukas
Researcher
• Informa;on
&
Communica;on
Systems
Engineer
• PhD
in
Health
Informa;cs
• Senior
Researcher
in
CREATE-‐NET
• COMPOSE
Project
Maker
• IoT
Blogger
– Many
DIY
IoT
Projects
• Workshops
(Makerland,
Makerfaire…)
• Author
– Building
Internet
of
Things
with
the
Arduino
• Consultancy
@BuildingIoT
hdoukas