Ardiuno and the IoT
Or
How I learned to stop worrying and love the Internet of
Things
What's this
“Internet of Things” thing?
Networking physical “things” into an information system that
can be read, modified...
“It is not enough to say I am going
to Internet-connect the water
cooler.”
"I’m going to Internet-connect a
tractor.”
Chad...
Device to Device (D2D), Machine to Machine (M2M),
Web of Things (WoT), thingernet
GE's Industrial Internet, Cisco's Intern...
Largest Technology Market Ever
“1 Trillion devices by
2025”
“…will surpass the
mobile phone
market…”
“Market impact $4.5
T...
IoT Primitives
Sensors and Actuators
Flow Rate Pressure Locked/
Unlocked
Location Use/Control
Full/Empty
Open/
Closed
Weig...
Xively
Use your PaaS of Choice:
EVO Things, linkafy, Xively,
Google App Engine, Heroku, etc
Or
AWS, Nitrous.IO, Twitter, etc
Or
e...
•Started 2005
•Open-source electronics
prototyping platform
•Open-source hardware
•Open-source software
•Hardware based on...
51 Flavours and counting
•Uno is current “standard”, uses ATMega328 < $20
•Leonardo uses ATMega32u4 < $18
•Mini/Nano uses ...
http://www.ebay.com/sch/i.html?_nkw=arduino+mini+328
ATmega328 @ 16MHz
Flash Memory: 32 KB (2 KB boot loader); SRAM: 2 KB,...
What Can You Do?
•Sensors ( to sense stuff )
Push buttons, touch pads, tilt switches.
Variable resistors (eg. volume kno...
Arduino
IDE
http://www.arduino.cc/en/Guide/Environment
•Integrated
Development
Environment (IDE)
•All-in-one
programming t...
Hello Blinky World
Cadmium-Sulfide
Photoresistor
•Cheap. 20Pcs $1.68 on eBay
•w/ free shipping
•Light Resistance 45-140KΩ
•Dark resistance 10...
DHT11 Temperature and
Humidity Sensor
•Cheap. $1.50 on eBay w/ free shipping
•Slow. 2 Hz max sampling rate
•0-50°C tempera...
HC-SR04 Ultrasonic Sensor
•Cheap. $1.50 on eBay w/ free shipping
•2cm~500 cm resolution : 0.3 cm
•Trig to any digital outp...
Ethernet Shield
•Expensive. $45/each. Ouch
•RJ45 Ethernet jack
•SPI Bus
•10/100Mbps
•http://arduino.cc/en/Reference/Ethern...
Wi-Fi Shield
•Expensive. $85/each. Wow
•802.11b/g
•WEP and WPA2
•Connection with Arduino on SPI port
•Onboard micro-SD car...
CC3000 Wi-Fi
Expensive. $35/each on breakout board with chip antenna
802.11b/g, open/WEP/WPA/WPA2 security, TKIP & AES
Bui...
XBee Radios
•Expensive. $20+/each
•2.4GHz 802.15.4
•ZigBee wireless networking protocol
•3.3V; 250Kbps; ~120m range
•6 ana...
433Mhz RF Transmitter +
Receiver Module
lCheap. $1.28/set on eBay w/ free shipping
l~20-200m LOS; 4Kbps
lNoisy, interferen...
http://xively.com
2007 Pachube → 2012 Cosm → 2013 Xively
https://xively.com/dev/tutorials/
REST
GET returns:
{"id":"temperature",
"current_value":"73",
"at":"2014-03-25T16:23:51.882164Z",
"max_value":"26214.0",
"m...
•YouTube
Microcontrollers
https://www.youtube.com/results?search_q
uery=microcontroller%20playlist
IoT
https://www.you...
http://opensourcehardwaregroup.com/thearduinocourse/
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
How I learned to stop worrying and love the Internet of Things
Upcoming SlideShare
Loading in …5
×

How I learned to stop worrying and love the Internet of Things

750 views
641 views

Published on

A long-ish lightning talk on Arduinos and the Internet of Things (IoT) that was presented at the 27 March 2014 Fort Wayne Open Source - Developers meetup.
http://www.meetup.com/FW-Dev

A few slides on IoT 101, some on Arduino 101, and followed by more slides on example cheap sensors that can interface easily to an Arduino.

And then finally some yap on Xively which has a decent API for for interfacing your valuable data to the IoT, setting triggers, and exposing it to be consumed by other apps/devices.

A few of the slides were cobbled together from slideshare. Most content came from other random locations such as my brain. But if I stole any slides or images from you, thank you, I've put them to good use.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
750
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

How I learned to stop worrying and love the Internet of Things

  1. 1. Ardiuno and the IoT Or How I learned to stop worrying and love the Internet of Things
  2. 2. What's this “Internet of Things” thing? Networking physical “things” into an information system that can be read, modified and interpreted to provide value.
  3. 3. “It is not enough to say I am going to Internet-connect the water cooler.” "I’m going to Internet-connect a tractor.” Chad Jones VP of product strategy for Xively
  4. 4. Device to Device (D2D), Machine to Machine (M2M), Web of Things (WoT), thingernet GE's Industrial Internet, Cisco's Internet of Everything Today's Internet of Things deployments are silos of proprietary or pseudo-open tech leading to an Internet of Nothing IoT a.k.a.
  5. 5. Largest Technology Market Ever “1 Trillion devices by 2025” “…will surpass the mobile phone market…” “Market impact $4.5 Trillion by 2020” “25 billion devices by 2020…” The Hype Xively
  6. 6. IoT Primitives Sensors and Actuators Flow Rate Pressure Locked/ Unlocked Location Use/Control Full/Empty Open/ Closed Weight On/Off Hot/Cold Xively
  7. 7. Xively
  8. 8. Use your PaaS of Choice: EVO Things, linkafy, Xively, Google App Engine, Heroku, etc Or AWS, Nitrous.IO, Twitter, etc Or etc etc etc How can I too contribute to the glut of Silos?
  9. 9. •Started 2005 •Open-source electronics prototyping platform •Open-source hardware •Open-source software •Hardware based on 8-bit Atmel AVR microcontroller or 32-bit Atmel ARM •Popular in the maker community Arduino 101
  10. 10. 51 Flavours and counting •Uno is current “standard”, uses ATMega328 < $20 •Leonardo uses ATMega32u4 < $18 •Mini/Nano uses Atmega328P < $5
  11. 11. http://www.ebay.com/sch/i.html?_nkw=arduino+mini+328 ATmega328 @ 16MHz Flash Memory: 32 KB (2 KB boot loader); SRAM: 2 KB, EEPROM: 1 KB 8 Analog (3 PWM) and 14 Digital IO pins No built-in USB circuitry, use an FTDI cable to program DC input 5V up to 12V
  12. 12. What Can You Do? •Sensors ( to sense stuff ) Push buttons, touch pads, tilt switches. Variable resistors (eg. volume knob / sliders) Photoresistors (sensing light levels) Thermistors (temperature) Ultrasound (proximity range finder) •Actuators ( to do stuff ) Lights, LEDs, LCDs Motors Speakers Lasers •Interface between real and digital worlds
  13. 13. Arduino IDE http://www.arduino.cc/en/Guide/Environment •Integrated Development Environment (IDE) •All-in-one programming tool with built in compiler •Arduino language is C-like Compile Upload to Board Save Messages Serial Monitor
  14. 14. Hello Blinky World
  15. 15. Cadmium-Sulfide Photoresistor •Cheap. 20Pcs $1.68 on eBay •w/ free shipping •Light Resistance 45-140KΩ •Dark resistance 10MΩ •Use a 10K pulldown resistor to ground
  16. 16. DHT11 Temperature and Humidity Sensor •Cheap. $1.50 on eBay w/ free shipping •Slow. 2 Hz max sampling rate •0-50°C temperature ±2°C accuracy •20-80% humidity 5% accuracy •Use a 10K pullup from the data pin to VCC
  17. 17. HC-SR04 Ultrasonic Sensor •Cheap. $1.50 on eBay w/ free shipping •2cm~500 cm resolution : 0.3 cm •Trig to any digital output •Echo to any digital input •Pulse Trig, read echo, calculate distance •Pace of Sound = 1 / Speed of Sound = •1 / 0.03435 = 29.1 ųs/cm
  18. 18. Ethernet Shield •Expensive. $45/each. Ouch •RJ45 Ethernet jack •SPI Bus •10/100Mbps •http://arduino.cc/en/Reference/Ethernet
  19. 19. Wi-Fi Shield •Expensive. $85/each. Wow •802.11b/g •WEP and WPA2 •Connection with Arduino on SPI port •Onboard micro-SD card slot •http://arduino.cc/en/Main/ArduinoWiFiShield
  20. 20. CC3000 Wi-Fi Expensive. $35/each on breakout board with chip antenna 802.11b/g, open/WEP/WPA/WPA2 security, TKIP & AES Built in TCP/IP stack with a "BSD socket" interface Can connect to an access point but it cannot be an access point. SSID scanning, connection, DHCP, DNS lookup, ping, UDP/TCP client & TCP server connections. Up to 4 concurrent sockets SPI Interface http://learn.adafruit.com/adafruit-cc3000-wifi
  21. 21. XBee Radios •Expensive. $20+/each •2.4GHz 802.15.4 •ZigBee wireless networking protocol •3.3V; 250Kbps; ~120m range •6 analog input pins •8 digital IO pins
  22. 22. 433Mhz RF Transmitter + Receiver Module lCheap. $1.28/set on eBay w/ free shipping l~20-200m LOS; 4Kbps lNoisy, interference from door bell, garage openers, cordless phone lEasy to use with VirtualWire Library lhttps://www.youtube.com/watch?v=3Rs3SJBsiYE lhttp://www.airspayce.com/mikem/arduino/VirtualWire/ Other cheap modules are: 315/330MHz, 2.4GHz FCC regulates 433MHz: ~no more than 10 minutes on every hour
  23. 23. http://xively.com 2007 Pachube → 2012 Cosm → 2013 Xively
  24. 24. https://xively.com/dev/tutorials/
  25. 25. REST GET returns: {"id":"temperature", "current_value":"73", "at":"2014-03-25T16:23:51.882164Z", "max_value":"26214.0", "min_value":"0.0", "unit":{"symbol":"F","label":"Fahrenheit"},"version":"1.0.0"} https://xively.com/dev/docs/api/quick_reference/api_resources/ Create POST Read GET Update PUT Delete DELETE
  26. 26. •YouTube Microcontrollers https://www.youtube.com/results?search_q uery=microcontroller%20playlist IoT https://www.youtube.com/results?search_q uery=internet%20of%20things
  27. 27. http://opensourcehardwaregroup.com/thearduinocourse/

×