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
23. Installing Johnny 5
npm install johnny-five
git clone git://github.com/rwldrn/johnny-five.git
cd johnny-five
npm install
Twitter: @jcleblanc | Hashtag: #svcc
24. var five = require("johnny-five"),
board = new five.Board();
board.on("ready", function() {
//board is ready to use
});
Enabling the Board
Twitter: @jcleblanc | Hashtag: #svcc
Created by Sebastian Müller
Alternate framework: Noduino (http://semu.github.io/noduino/) – accessing arduino from web applications (HTML5 / JS / Node)
Download Noduino
Upload Duino to board (the communications bridge)
Also: https://github.com/voodootikigod/node-serialport (Node Serialport)