SlideShare a Scribd company logo
1
IoT Lab!
@mdobs
@adammagaluk
Our Project
2
Our Project
3
©2015 Apigee. All Rights Reserved.
Our Project
4
©2015 Apigee. All Rights Reserved. 
Zetta Server
hub
zs
Mic
 Buzzer

API
Browser
API
Our Project – Home Security
5
©2015 Apigee. All Rights Reserved. 
Building an open source security system
Our process
a. Intro to the Internet of Things
b. Intro to our technology
c. Building our first circuit. (Using a buzzer)
d. Building our second circuit. (Using a microphone)
e. Coordinating them with JavaScript 
We’ll Learn
a. How to create basic circuits
b. How to work with the BeagleBone Black
c. How to harness the Zetta toolchain for creating IoT Apps
d. What else can be done with Zetta
Intro to the Internet of Things
6
•  A growing ubiquitous network of devices.
•  Made up of Sensors and Actuators
•  Sensors
–  Sense the world around you. 
–  Report data back
•  Actuators
–  Act on the world around you
–  Give feedback
The Internet of Things
•  Data
–  What to store?
–  What to use?
•  Interfaces and Protocols
–  Many protocols exist for IoT?
–  What to use?
•  Devices in large systems
–  How to coordinate devices in large systems?
•  Quality of Tooling
–  How to build tools for people building products?
Issues within the Internet of Things
Zetta is an open source platform for the Internet of Things. It harnesses JavaScript to make things
quick and easy. Zetta tackles all these problems in an elegant, and efficient way.
Intro to Zetta
•  Data
–  Broadcasting data over websockets.
–  Make collection and analysis easy
•  Interfaces and Protocols 
–  Use HTTP to communicate with devices
–  Every device gets an API generated from Node.js
•  Devices in large systems
–  Coordinate devices across the globe with ease
•  Quality of Tooling
–  Designed with the developer in mind
–  Multiple tools for helping develop quickly
Solving these problems
Intro to our Technology
11
•  Evented and Async
•  Open source
•  Every developer knows JavaScript
•  Can run on many different platforms
Why Node.js?
•  Single board computer, runs Linux and similar to Raspberry Pi
•  Low cost and community supported
•  Comes with Node.js pre-installed
•  Has a node module for accessing hardware
•  Browser based IDE for programming right on the board
Why BeagleBone Black?
•  Tool for prototyping electronic circuits
•  Great for circuits without soldering 
Intro to Breadboard
•  Create a new file to put some code in
Getting Started
Let’s write a snippet of Zetta and see what happens!
Writing some Zetta code
Our First Circuit
17
First Circuit
18
©2015 Apigee. All Rights Reserved. 
Black
- Bottom / Pin 1

White
- Top / Pin 7
Our Second Circuit
19
Second Circuit
20
©2015 Apigee. All Rights Reserved. 
Pins from right:

Green
- Top / Pin 6

Red
- Top / Pin 8

Resistor: 2.2 K
A Coordination
21
Linking
22
23
©2015 Apigee. All Rights Reserved. 
Problem: How do we expose our API to the world?
What does linking do?
24
©2015 Apigee. All Rights Reserved. 
Z1
Z2
F
i
r
e
w
a
l
l
Tunneled Connection
HTTP
Request
Linking creates a secure tunnel out of home networks allowing you to expose
your API to the world.
•  Built an open source security system
•  Our process
a. We learned how to use Zetta
b. We learned about it’s development tools and best practices
c. We built circuitry to power our system
d. We coordinated these devices using JavaScript and interacted with them via API.
•  We Learned
a. How to create basic circuits
b. How to work with the BeagleBone Black
c. Harnessing the Zetta toolchain


Our Completed Project - Home Security
1. Zetta Github - http://github.com/zettajs/zetta
2. Workshop Code - https://github.com/zettajs/zetta-security-system
3. Zetta Mailing List - https://groups.google.com/forum/#!forum/zetta-discuss
4. IoT Craft - https://groups.google.com/forum/#!forum/iot-craft
5. Apigee Community – http://community.apigee.com/ 
6. My Personal Email - matt@apigee.com

Additional Resources
27
©2015 Apigee. All Rights Reserved. 
Congratulations! The kit is yours to keep.

More Related Content

PPTX
Big Apps, Big Data, and Why "Connected Things" are not the IoT
PPTX
The Internet of Things and Developers: What the Enterprise Needs to Know
PDF
CEO Keynote I Love APIs 2015: Chet Kapoor Apigee
PDF
Don't get Ubered. What Every Strategist Needs to Know About Digital Competition
PPTX
2014 Futuretech App-Alchemy Revoluation
PDF
AppSphere 15 - Monitoring Cloud & Asynchronous Applications
PDF
"The Power of One" - Apigee's Anurag Wadehra at Mobile World Congress
PPTX
Continuous everything with Visual Studio App Center
Big Apps, Big Data, and Why "Connected Things" are not the IoT
The Internet of Things and Developers: What the Enterprise Needs to Know
CEO Keynote I Love APIs 2015: Chet Kapoor Apigee
Don't get Ubered. What Every Strategist Needs to Know About Digital Competition
2014 Futuretech App-Alchemy Revoluation
AppSphere 15 - Monitoring Cloud & Asynchronous Applications
"The Power of One" - Apigee's Anurag Wadehra at Mobile World Congress
Continuous everything with Visual Studio App Center

What's hot (19)

PDF
Devops, Agile and AI - Cue your Robot Underlords #CLUS2019
PDF
Internet of EveryThings
PDF
About Open Source Business Models
PPT
Crafting APIs for Mobile Apps - Everything You Need to Know
PPTX
How to Survive the API Copyright Apocalypse
PDF
Red hat Power to Innovatie keynote-vincent everts 23-1-2015-
PDF
Server-side Swift with Swagger
PDF
Taking it to the Top: How to Speak Digital with the Board of Directors
PDF
Activating the start up eco-system
PDF
How to Grow and Measure Your API Program - I ♥ APIs 2015
PPTX
JHipster & blueprint 02-07-2019 - casablanca jug
PDF
Why API Ops is the Next Wave of DevOps
PPTX
Developing Mobile Trust in Today's E-Privacy Landscape - Webinar 11/19/2015
PDF
Rise of the data driven marketer
PDF
SIGSPL.org pitch general auditory
PPTX
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
PDF
Postman Platform Overview: Be API-First, Not API-Last
PDF
Guerrilla QA: The Mobile of the Internet of All the Things!
PDF
Seokmin Moon Lineable #WearablesEurope
Devops, Agile and AI - Cue your Robot Underlords #CLUS2019
Internet of EveryThings
About Open Source Business Models
Crafting APIs for Mobile Apps - Everything You Need to Know
How to Survive the API Copyright Apocalypse
Red hat Power to Innovatie keynote-vincent everts 23-1-2015-
Server-side Swift with Swagger
Taking it to the Top: How to Speak Digital with the Board of Directors
Activating the start up eco-system
How to Grow and Measure Your API Program - I ♥ APIs 2015
JHipster & blueprint 02-07-2019 - casablanca jug
Why API Ops is the Next Wave of DevOps
Developing Mobile Trust in Today's E-Privacy Landscape - Webinar 11/19/2015
Rise of the data driven marketer
SIGSPL.org pitch general auditory
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
Postman Platform Overview: Be API-First, Not API-Last
Guerrilla QA: The Mobile of the Internet of All the Things!
Seokmin Moon Lineable #WearablesEurope
Ad

Similar to I Love APIs 2015: IOT Lab (20)

PPTX
Zetta: An API First Platform
PPTX
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
PDF
Node red & IoT - IEDC Hardware Club, April 8th 2016
PDF
Master-Master Replication and Scaling of an Application Between Each of the I...
PDF
Make Your Own IoT Device by ZigBee
PDF
Poster IOTROBOT vatsalnshah_ec_indusuniversity
PPTX
Zetta js Hands on IoT
PPTX
IoT fun with Raspberry Pi and .NET
PDF
Hacking with the Raspberry Pi and Windows 10 IoT Core
PDF
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
PDF
ch7-Create an IoT Solution
PPTX
Presentation IOT Robot
PDF
IoT Session Thomas More
PDF
Cc internet of things @ Thomas More
PPTX
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
PDF
Chapter-7.pdf
PDF
Chapter-7_raspberryPi.pdf
PPTX
Unit 6 - PART2.pptx
PPTX
chapter-7_ed.pptx
PDF
The impact of IOT - exchange cala - 2015
Zetta: An API First Platform
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Node red & IoT - IEDC Hardware Club, April 8th 2016
Master-Master Replication and Scaling of an Application Between Each of the I...
Make Your Own IoT Device by ZigBee
Poster IOTROBOT vatsalnshah_ec_indusuniversity
Zetta js Hands on IoT
IoT fun with Raspberry Pi and .NET
Hacking with the Raspberry Pi and Windows 10 IoT Core
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
ch7-Create an IoT Solution
Presentation IOT Robot
IoT Session Thomas More
Cc internet of things @ Thomas More
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
Chapter-7.pdf
Chapter-7_raspberryPi.pdf
Unit 6 - PART2.pptx
chapter-7_ed.pptx
The impact of IOT - exchange cala - 2015
Ad

More from Apigee | Google Cloud (20)

PDF
How Secure Are Your APIs?
PDF
Magazine Luiza at a glance (1)
PPTX
Monetization: Unlock More Value from Your APIs
PDF
Apigee Demo: API Platform Overview
PDF
Ticketmaster at a glance
PDF
AccuWeather: Recasting API Experiences in a Developer-First World
PDF
Which Application Modernization Pattern Is Right For You?
PPTX
Apigee Product Roadmap Part 2
PPTX
The Four Transformative Forces of the API Management Market
PDF
Walgreens at a glance
PDF
Apigee Edge: Intro to Microgateway
PDF
Managing the Complexity of Microservices Deployments
PDF
Pitney Bowes at a glance
PPTX
Microservices Done Right: Key Ingredients for Microservices Success
PDF
Adapt or Die: Opening Keynote with Chet Kapoor
PDF
Adapt or Die: Keynote with Greg Brail
PDF
Adapt or Die: Keynote with Anant Jhingran
PDF
London Adapt or Die: Opening Keynot
PDF
London Adapt or Die: Lunch keynote
PDF
London Adapt or Die: Closing Keynote — Adapt Now!
How Secure Are Your APIs?
Magazine Luiza at a glance (1)
Monetization: Unlock More Value from Your APIs
Apigee Demo: API Platform Overview
Ticketmaster at a glance
AccuWeather: Recasting API Experiences in a Developer-First World
Which Application Modernization Pattern Is Right For You?
Apigee Product Roadmap Part 2
The Four Transformative Forces of the API Management Market
Walgreens at a glance
Apigee Edge: Intro to Microgateway
Managing the Complexity of Microservices Deployments
Pitney Bowes at a glance
Microservices Done Right: Key Ingredients for Microservices Success
Adapt or Die: Opening Keynote with Chet Kapoor
Adapt or Die: Keynote with Greg Brail
Adapt or Die: Keynote with Anant Jhingran
London Adapt or Die: Opening Keynot
London Adapt or Die: Lunch keynote
London Adapt or Die: Closing Keynote — Adapt Now!

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Transform Your Business with a Software ERP System
PDF
Digital Strategies for Manufacturing Companies
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPT
Introduction Database Management System for Course Database
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
System and Network Administration Chapter 2
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
L1 - Introduction to python Backend.pptx
PPTX
ai tools demonstartion for schools and inter college
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Introduction to Artificial Intelligence
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Transform Your Business with a Software ERP System
Digital Strategies for Manufacturing Companies
Wondershare Filmora 15 Crack With Activation Key [2025
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PTS Company Brochure 2025 (1).pdf.......
Operating system designcfffgfgggggggvggggggggg
Odoo Companies in India – Driving Business Transformation.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Introduction Database Management System for Course Database
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administration Chapter 2
Odoo POS Development Services by CandidRoot Solutions
Design an Analysis of Algorithms I-SECS-1021-03
L1 - Introduction to python Backend.pptx
ai tools demonstartion for schools and inter college
ISO 45001 Occupational Health and Safety Management System
Introduction to Artificial Intelligence

I Love APIs 2015: IOT Lab

  • 3. Our Project 3 ©2015 Apigee. All Rights Reserved.
  • 4. Our Project 4 ©2015 Apigee. All Rights Reserved. Zetta Server hub zs Mic Buzzer API Browser API
  • 5. Our Project – Home Security 5 ©2015 Apigee. All Rights Reserved. Building an open source security system Our process a. Intro to the Internet of Things b. Intro to our technology c. Building our first circuit. (Using a buzzer) d. Building our second circuit. (Using a microphone) e. Coordinating them with JavaScript We’ll Learn a. How to create basic circuits b. How to work with the BeagleBone Black c. How to harness the Zetta toolchain for creating IoT Apps d. What else can be done with Zetta
  • 6. Intro to the Internet of Things 6
  • 7. •  A growing ubiquitous network of devices. •  Made up of Sensors and Actuators •  Sensors –  Sense the world around you. –  Report data back •  Actuators –  Act on the world around you –  Give feedback The Internet of Things
  • 8. •  Data –  What to store? –  What to use? •  Interfaces and Protocols –  Many protocols exist for IoT? –  What to use? •  Devices in large systems –  How to coordinate devices in large systems? •  Quality of Tooling –  How to build tools for people building products? Issues within the Internet of Things
  • 9. Zetta is an open source platform for the Internet of Things. It harnesses JavaScript to make things quick and easy. Zetta tackles all these problems in an elegant, and efficient way. Intro to Zetta
  • 10. •  Data –  Broadcasting data over websockets. –  Make collection and analysis easy •  Interfaces and Protocols –  Use HTTP to communicate with devices –  Every device gets an API generated from Node.js •  Devices in large systems –  Coordinate devices across the globe with ease •  Quality of Tooling –  Designed with the developer in mind –  Multiple tools for helping develop quickly Solving these problems
  • 11. Intro to our Technology 11
  • 12. •  Evented and Async •  Open source •  Every developer knows JavaScript •  Can run on many different platforms Why Node.js?
  • 13. •  Single board computer, runs Linux and similar to Raspberry Pi •  Low cost and community supported •  Comes with Node.js pre-installed •  Has a node module for accessing hardware •  Browser based IDE for programming right on the board Why BeagleBone Black?
  • 14. •  Tool for prototyping electronic circuits •  Great for circuits without soldering Intro to Breadboard
  • 15. •  Create a new file to put some code in Getting Started
  • 16. Let’s write a snippet of Zetta and see what happens! Writing some Zetta code
  • 18. First Circuit 18 ©2015 Apigee. All Rights Reserved. Black - Bottom / Pin 1 White - Top / Pin 7
  • 20. Second Circuit 20 ©2015 Apigee. All Rights Reserved. Pins from right: Green - Top / Pin 6 Red - Top / Pin 8 Resistor: 2.2 K
  • 23. 23 ©2015 Apigee. All Rights Reserved. Problem: How do we expose our API to the world?
  • 24. What does linking do? 24 ©2015 Apigee. All Rights Reserved. Z1 Z2 F i r e w a l l Tunneled Connection HTTP Request Linking creates a secure tunnel out of home networks allowing you to expose your API to the world.
  • 25. •  Built an open source security system •  Our process a. We learned how to use Zetta b. We learned about it’s development tools and best practices c. We built circuitry to power our system d. We coordinated these devices using JavaScript and interacted with them via API. •  We Learned a. How to create basic circuits b. How to work with the BeagleBone Black c. Harnessing the Zetta toolchain Our Completed Project - Home Security
  • 26. 1. Zetta Github - http://github.com/zettajs/zetta 2. Workshop Code - https://github.com/zettajs/zetta-security-system 3. Zetta Mailing List - https://groups.google.com/forum/#!forum/zetta-discuss 4. IoT Craft - https://groups.google.com/forum/#!forum/iot-craft 5. Apigee Community – http://community.apigee.com/ 6. My Personal Email - matt@apigee.com Additional Resources
  • 27. 27 ©2015 Apigee. All Rights Reserved. Congratulations! The kit is yours to keep.