JavaScript and Internet Controlled Hardware Prototyping

Post on 17-Aug-2014

525 Views

Category:

Devices & Hardware

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

The electronics maker movement has led a massive shift in how people are re-engineering the world around them through rapid hardware prototyping. With the rise of inexpensive, wifi and bluetooth low energy enabled electronics, this hardware revolution is internet and mobile controlled, all through simple bridges to build the electronics intelligence in familiar web languages. In this session, we will play with Arduino microcontrollers and JavaScript to take a first dive into the world of internet controlled electronics, exploring topics such as: - Setting up an Arduino to be controlled through web APIs - Using JavaScript language bridges on the Arduino - The future of web controlled hardware prototyping

Transcript

JavaScript & Internet Controlled Hardware

Prototyping

Jonathan LeBlanc (@jcleblanc)

Head of Global Developer Evangelism at PayPal

Early Hardware Days

Internet Meets Arduino

Arduino Yúnhttp://arduino.cc/en/Main/ArduinoYUN

Web Service Access with Temboo

Python 2.7 included with OpenWRT Linino

Integrated Wifi / Ethernet

Arduino Yún Feature Set

Temboo Sketch Builderhttps://temboo.com/library/Library/

Devices/

Fetching the Arduino IDEhttp://arduino.cc/en/main/software

Enabling the Board in the IDE

Picking the Comms Port

API Request with Temboohttp://bit.ly/js-arduino-paypal

JavaScript, Node & Arduino

Tessel JavaScript Microcontrollerhttps://tessel.io/

Johnny 5https://github.com/rwaldron/johnny-

five

StandardFirmata

How Johnny 5 Comms Work

ArduinoMicrocontroller

Node.jsScript

What is Firmata?

Priming the Board with Firmata

npm install johnny-five

Installing Johnny 5

git clone git://github.com/rwldrn/johnny-five.gitcd johnny-fivenpm install

var five = require("johnny-five"),board = new five.Board();

board.on("ready", function() { //board is ready to use });

Enabling the Board

Controlling LEDs with JavaScript

http://bit.ly/js-arduino-led

Joystick Controlled Servo Motor

http://bit.ly/js-arduino-joystick

Noduinohttp://semu.github.io/noduino/

Where are we Heading?

Thank You!http://bit.ly/hardware-

prototyping

Jonathan LeBlanc (@jcleblanc)

Head of Global Developer Evangelism at PayPal

top related