How to build the Internet of Things - what is an Internet of things device and how do we connect it? This is the first Thingsquare IoT workshop slide deck.
2. Overview
• Two hands-on labs:
– The Big Red Internet Button
– Build our own IoT cloud service
•
•
•
•
Lots of background
Lots of technology
Lots of Contiki
Lots of IoT/IP protocols
3. Thingsquare
• Build connected systems – leverage the
Internet of Things
• Founded in 2012
• Creators of the open source Contiki OS
• Launching in 2014
– Thingsquare cloud backend
– Online development environment
7. What is the IoT?
• New technology
– Wireless, communication, low-power, largescale, big data, Internet-connectivity
• New concepts
– New ways of interaction, new ways of thinking
• New business opportunities
• Emerging products and systems
43. IPv6 / 6lowpan
• Runs on IEEE 802.15.4
• Lower power consumption than WiFi
– ~30-60 mW
• Lower cost
– $1-$4 USD
• Automatic meshing
• Very long range
– Sub-GHz communication
• Drawbacks
– Lack of infrastructure in homes
44. IPv6 / 6lowpan contd.
• IPv6 addresses are large
– 6lowpan compresses headers
• Automatic meshing: RPL
– Automatically form large (1000+) node
networks
– Self-suppression of control trafic
45. NFC, QR codes
• NFC: Near-Field Communication
– A way to convey information in 4-5 cm
– Useful for identification
– Not for communication
• QR codes
– A few to identify things using the smartphone
camera
47. System health
• Monitor vital stats, mitigate problems when
they happen
• Or better, identifying trends and
tendencies to stop problems before they
happen
• Finding bugs is turned into great customer
service!
48. A/B testing – for real
• How can I optimize metric X?
– Click rate, spending, page views, ...
• Used extensively on the web
A
B
DOWNLOAD
DOWNLOAD
50. Analytics
• On the web many metrics used for
evaluating and optimizing
– Click-rate, page-views, unique/returning, time
on page, bounce rate, location, browser, etc
• On embedded products, typically hard
– How do we get access?
51. Analytics
• When, and for how long, is the fridge
open?
• What power level on the microwave oven
is used and when?
• What are the ambient sound and light
levels in the office?
• Etc, etc.
55. IoT hardware
• Sensors and actuators
– Connects to the physical world
• Microprocessor
– To be able to do something with the
sensors/actuators
• Communication device
– To communicate with the world
• Power source
60. A cloud server
• Physical servers in a rack
• Virtual servers
– Amazon AWS
– Rackspace
• Dedicated service
– Electric Imp
– Ayla Networks
– Thingsquare
61. A cloud service
•
•
•
•
•
Ruby on Rails
Java
Node.js
MySQL, memcache, redis
Protocols, user management, data base
management
62. Cloud APIs
• RESTful APIs
– Access over HTTP/HTTPS
– GET data
– POST data
• Websocket connections
• Less widely used: MQTT, CoAP, …
• Javascript & JSON