internet of things & javascript - talk by aden forshaw

14
JavaScript & the Internet of Things Aden Forshaw

Upload: aden-forshaw

Post on 14-Feb-2017

54 views

Category:

Devices & Hardware


0 download

TRANSCRIPT

JavaScript & the Internet of ThingsAden Forshaw

Arduino- Arduino - microcontroller that can run one program at a time, over and over again.- Easy to connect analog and digital sensors and buttons

NodeJS library that wraps Arduino as an API

johnny-five.io

Connecting everyday objects to the internetInternet of Things

Demo 1

J5NodeJSWeb App

J5NodeJSWeb App

backup videohttps://youtu.be/LfLZ7fsABxY

J5NodeJSWeb AppJ5 to turn LED on/offWrap with express to create a Web App -API

Exposed to web via NgrokCodeCode & install guide : https://github.com/AdenForshaw/j5-talk-demo1-leds

Use IFTTT Applet to trigger a web request when Alexa hears a phraseGlue

ngrok exposed url

Iteration

Set it free with a battery & Bluetooth or WifiTrigger another devices like motors, relays & servos

Button or Sensors to trigger another service - e.g. JustEats API

Demo 2Node to Node communication with socket.io

ServerClientCode & install guide : https://github.com/AdenForshaw/Phil-Collins-Target

backup videos

https://youtu.be/rvUt8EnYpVYhttps://youtu.be/xgxFXBEhz1s

Phil Collins2 LEDs for his devil eyesPeizo to detect vibrations, or a Hit!Arduino with basic logic, Sketch file in GitHubNodeJS server with socket.io to broadcast scoreCode & install guide : https://github.com/AdenForshaw/Phil-Collins-Target

8x8 MatrixScoreboardArduino with default firmware (StandardFirmata)NodeJS + J5 server with socket.io to listen for scoreButtons to increment & reset score

Code & install guide : https://github.com/AdenForshaw/j5-scoreboardhttps://youtu.be/n7LCcZG7Jgs

CreditsThanks to:Adam Butler for inviting meRick Waldron for building J5Just-eat for the spaceMartin Hollywood for co-hostingYouve been awesome crowd, Ive been Aden [email protected]@adenforshawCode & install guide:- https://github.com/AdenForshaw/j5-talk-demo1-leds- https://github.com/AdenForshaw/Phil-Collins-Target- https://github.com/AdenForshaw/j5-scoreboard