Fun with JavaScript & Arduino

Anmol Agrawal

UX/UI Designer + Front-end Developer + Autodidact + Sketch Artist + Basketball Fanatic + Evangelist of PubNub and littleBits

 

@anmol1771

  anmolonruby

MaKey MaKey - An Invention Kit for Everyone

What is IoT?

Why JS?

  • Any application that can be written in JavaScript, will eventually be written in JavaScript.

 

     (http://blog.codinghorror.com/the-principle-of-least-power/)

  • NodeJS was the game changer
  • JS supports Modular programming
  • I love JS too much!!!

Google: JavaScript Arduino

I love LEDs

Little bit about LittleBits :P

http://littlebits.cc/

Enough talk.

 

Let's demo!

LED Blink

Demo

Control LED with Button

Demo

+

Sensors

Demo

LED control through Sensors

Demo

+

Earthquake Warning System

Personal Project

Earthquake Warning System for India

  • Had to crawl the Indian Meteorological website every 10-20 sec
  • Was latest earthquake report on the website updated in real-time or after 2 hours when the earthquake actually happened?
  • No APIs for such data

Demo

Resources

Books

Make: JavaScript Robotics

Make Magazines

Resources

APIs

Resources

Dashboards

Resources

Real Time Services

Resources

Databases

Resources

www.tinkererforlife.com

https://github.com/anmolonruby/jqueryconf15-arduinoandjs

Source Code:

http://slides.com/anmolagrawal/jsarduino-jqueryconf15

Slides:

Blog:

Thank you ;)

Questions?