controlling the world with arduino & javascript

14
Controlling the world with Arduino & JavaScript_

Upload: magnus-green

Post on 28-Jan-2015

112 views

Category:

Internet


1 download

DESCRIPTION

"Any application that can be written in JavaScript will eventually be written in JavaScript" - Atwoods Law Have you ever wanted to control devices in your own home over the internet? I will show you how you can do this with the help of Arduino and JavaScript. Arduino is an open-source microcontroller that can connect to various sensors and affect it's surroundings by controlling lights, LCD screens, motors and other actuators. Johnny-five is a JavaScript library that can communicate with an Arduino using node.js. This opens doors for new possibilities, like integrating with Windows Azure or Firebase. I will introduce Arduino and johhny-five and show you how these two in conjunction can get you started with "The Internet of things". https://github.com/magnushg/automatr

TRANSCRIPT

Page 1: Controlling the world with Arduino & JavaScript

Controlling the worldwith Arduino & JavaScript_

Page 2: Controlling the world with Arduino & JavaScript

var name = magnusGreen;Travelling

Clean Code

.NET

Rock n’ RollCoffee

Movies

Master of Information Technology

wwwJavaScript

Consultant

Beer

Internet of things

Agile

New York

Page 3: Controlling the world with Arduino & JavaScript

agenda_ The Internet of Things My IoT project Build a home automation system

Page 4: Controlling the world with Arduino & JavaScript
Page 5: Controlling the world with Arduino & JavaScript
Page 6: Controlling the world with Arduino & JavaScript

predictions_

Today

Cisco

Ericsson

IDC

0 50,000,000,000 100,000,000,000 150,000,000,000 200,000,000,000 250,000,000,000

Number of connected devices by 2020

Page 7: Controlling the world with Arduino & JavaScript
Page 8: Controlling the world with Arduino & JavaScript

The physical worldWeb / mobile application

Single page application front-end

Hosted in

Storage / Transport Home automation server application

Server application

controlling

Page 9: Controlling the world with Arduino & JavaScript

arduino_ Can be connected to sensors and actuators

14 digital input / output pins and 6 analog input

Communication is done by sending or receiving 0V – 5V

Page 10: Controlling the world with Arduino & JavaScript

johnny five_ Control Arduino with JavaScript

Using Firmata protocol to communicate with Arduino

Running in a node.js server

Convenient for web and cloud programming

Page 11: Controlling the world with Arduino & JavaScript

arduino hardware_

Page 12: Controlling the world with Arduino & JavaScript

demo time_

Page 13: Controlling the world with Arduino & JavaScript

https://github.com/magnushg/automatr

want more? Code available at github, https://github.com/magnushg/automatr

Contact me at [email protected] or @magnusg

Meetups Internet of Things http://www.meetup.com/Internet-of-Things-Oslo/ and https://bitraf.no/

Check out http://www.adafruit.com/ and https://www.sparkfun.com/

Page 14: Controlling the world with Arduino & JavaScript