1 / 27

JavaScript and Internet Controlled Electronics

The audio from this talk is available at https://archive.org/details/js_electronics 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: - Setting up an Arduino to be controlled through web APIs - Using JavaScript language bridges on the Arduino - The future of web controlled hardware prototyping

jcleblanc
Download Presentation

JavaScript and Internet Controlled Electronics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JavaScript & Internet Controlled Electronics Jonathan LeBlanc (@jcleblanc) Head of Global Developer Evangelism at PayPal

  2. Early Hardware Days

  3. Mainstreaming Effect

  4. Hardware Toolbox Arduino / Raspberry Pi / Leap Motion / etc. Arduino Rasperry Pi

  5. Internet Meets Arduino

  6. Arduino Yún http://arduino.cc/en/Main/ArduinoYUN

  7. Arduino Yún Feature Set Web Service Access with Temboo Python 2.7 included with OpenWRT Linino Integrated Wifi / Ethernet

  8. Temboo Sketch Builder http://arduino.cc/en/main/software

  9. Fetching the Arduino IDE http://arduino.cc/en/main/software

  10. Enabling the Board in the IDE

  11. Picking the Comms Port

  12. JavaScript, Node & Arduino

  13. Tessel JavaScript Microcontroller https://tessel.io/

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

  15. How Johnny 5 Comms Work Node.js Script Standard Firmata Arduino Microcontroller

  16. What is Standard Firmata?

  17. Priming the Board with Firmata

  18. Installing Johnny 5 npm install johnny-five

  19. Enabling the Board var five = require("johnny-five"), board = new five.Board(); board.on("ready", function() { //board is ready to use });

  20. Controlling an LED Light board.on("ready", function() { (new five.Led(13)).strobe(3000); });

  21. Controlling a Servo Motor board.on("ready", function() { servo = new five.Servo(10); servo.to( 90 ); this.wait(1000, function() { servo.sweep(); }); });

  22. Noduino http://semu.github.io/noduino/

  23. Where are we Heading?

  24. Thank You! http://slideshare.net/jcleblanc Jonathan LeBlanc (@jcleblanc) Head of Global Developer Evangelism at PayPal

More Related