Controlling the world with Arduino & JavaScript

Preview:

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

Citation preview

Controlling the worldwith 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

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

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

The physical worldWeb / mobile application

Single page application front-end

Hosted in

Storage / Transport Home automation server application

Server application

controlling

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

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

arduino hardware_

demo time_

https://github.com/magnushg/automatr

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

Contact me at magnus.green@bouvet.no 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/

Recommended