JavaScript and Internet Controlled Hardware Prototyping
-
Upload
jonathan-leblanc -
Category
Devices & Hardware
-
view
528 -
download
2
description
Transcript of JavaScript and Internet Controlled Hardware Prototyping
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