Fun with Ruby & Arduino

Anmol Agrawal

UX/UI Designer + Rails Developer + Autodidact + Sketch Artist + Basketball Fanatic

 

@anmol1771

  anmolonruby

www.anmolagrawal.com

MaKey MaKey - An Invention Kit for Everyone

What is IoT?

What about Ruby?

  • IoT dominated by
  • Not many projects in Ruby
  • Ruby supports Modular programming
  • I love Ruby too much!!!

Youtube: Ruby Arduino

Austin Vance

Ron Evans

Jim Wierich

Ruby gems to work with Arduino

  • Serialport gem
  • Artoo
  • Dino

Artoo

http://artoo.io/

Dino

https://github.com/austinbv/dino

I love LEDs

Little bit about LittleBits :P

http://littlebits.cc/

Enough talk.

 

Let's demo!

LED Blink

Demo

Control LED with Button

Demo

+

LED control through Rails in local server

Demo

+

+

LED control through physical button with PubNub

Demo

+

+

Sensors

Demo

LED control through Sensors

Demo

+

LED control through Voice

Demo

+

Package Delivery Detector

Demo

Smart Lighting

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

Resources

Books

Getting started with Arduino and Ruby

Make Magazines

Resources

APIs

Resources

Dashboards

Resources

Real Time Services

Resources

Databases

Resources

RubyBits

RubyBits = Ruby + LittleBits

www.tinkererforlife.com

https://github.com/anmolonruby/GCRC2015

Source Code:

http://slides.com/anmolagrawal/gcrc2015

Slides:

Thank you ;)

Questions?

Fun with Ruby and Arduino @ GardenCity Ruby Conference 2015

By Anmol Agrawal

Fun with Ruby and Arduino @ GardenCity Ruby Conference 2015

  • 1,823