Enterprise Internet of Things Handbook

Book description

Get familiar with the building blocks of IoT solutions using off?the-shelf IoT platforms.

About This Book
  • Work with various trending IoT platforms such as AWS IoT, Azure IoT, Google IoT, IBM Watson IoT, and Kaa IoT
  • Gain hands-on knowledge working with Cloud-based IoT platforms, IoT Analytics, and so on.
  • A practical guide that will help you build IoT strategies for your organization
Who This Book Is For

This book is targeted at IoT architects and engineers, or any stakeholders working with IoT solutions in an organization. This book will also help decision makers and professionals from small- and medium-sized enterprises build an IoT strategy for their venture.

What You Will Learn
  • Connect a Temperature and Humidity sensor and see how these two can be managed from various platforms
  • Explore the core components of AWS IoT such as AWS Kinesis and AWS IoTRules Engine
  • Build a simple analysis dashboard using Azure IoT and Power BI
  • Understand the fundamentals of Google IoT and use Google core APIs to build your own dashboard
  • Get started and work with the IBM Watson IoT platform
  • Integrate Cassandra and Zeppelin with Kaa IoT dashboard
  • Review some Machine Learning and AI and get to know more about their implementation in the IoT domain.
In Detail

There is a lot of work that is being done in the IoT domain and according to Forbes the global IoT market will grow from $157B in 2016 to $457B by 2020. This is an amazing market both in terms technology advancement as well as money.

In this book, we will be covering five popular IoT platforms, namely, AWS IoT, Microsoft Azure IoT, Google IoT Core, IBM Watson IoT, and Kaa IoT middleware. You are going to build solutions that will use a Raspberry Pi 3, a DHT11 Temperature and humidity sensor, and a dashboard to visualize the sensor data in real-time. Furthermore, you will also explore various components of each of the platforms that are needed to achieve the desired solution.

Besides building solutions, you will look at how Machine Learning and IoT go hand in hand and later design a simple predictive web service based on this concept. By the end of this book, you will be in a position to implement an IoT strategy best-fit for your organization

Style and approach

An informative guide that will help you design and implement an IoT Strategy best-fit for your organization

Table of contents

  1. Title Page
  2. Copyright and Credits
    1. Enterprise Internet of Things Handbook
  3. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  4. Contributors
    1. About the author
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. Introduction to IoT
    1. Internet of Things
    2. History
    3. IoT and the market
    4. IoT technology stack
    5. Building blocks
      1. Smart devices
        1. Microcontroller versus microprocessor
      2. Sensors
      3. Actuators
      4. Controllers
        1. Integrated controllers
        2. Assembled controllers
          1. Possible combinations
        3. System on Chips
          1. Popular SoCs in market
      5. Hardware communication protocols
        1. GPIO
        2. Analog reading
        3. UART
        4. SPI
        5. I2C
      6. Gateway and cloud communication
      7. Device Management Software
        1. Device to cloud communication protocols
          1. Message Queuing Telemetry Transport
          2. MQTT for Sensor Networks
          3. Constrained Application Protocol
          4. Simple Text Oriented Messaging Protocol
          5. Advanced Message Queuing Protocol
          6. Representational state transfer
          7. WebSockets
        2. Storage
        3. MongoDB
        4. Apache Cassandra
        5. Time series databases
          1. InfluxDB
          2. KairosDB
        6. Netflix Atlas
        7. RIAK TS
      8. API management
        1. API gateway administration
      9. Applications
      10. Intelligence
      11. Rules and alerts
        1. IFTTT
      12. Scheduling
      13. Third-party integration
    6. IoT and security
      1. Mirai bot attack
      2. Ransomware
    7. End-to-end architecture
      1. Using cloud computing
        1. Pros and cons of using cloud computing in the IoT
      2. Using fog computing
        1. Pros and cons of using fog computing in the IoT
        2. Edge computing
      3. Which is better?
    8. IoT standards
    9. Summary
    10. Further reading
  7. Applications of IoT
    1. IoT and its value proposition
      1. Connected devices
      2. Smart devices
        1. Artificial intelligence
    2. Healthcare and IoT
      1. Remote diagnosis
      2. AI doctors
    3. Industrial IoT
      1. Optimization
      2. Predictive maintenance
    4. Other applications of IoT
      1. Agriculture
      2. Smart city
      3. Smart retail
      4. Smart logistics
    5. Summary
  8. Getting Started with IoT Platforms
    1. IoT platform or IoT middleware
      1. Why platforms?
      2. IoT platforms
      3. Example implementation
    2. Setting up the Raspberry Pi 3
      1. Setting up Node.js on the Raspberry Pi 3
    3. Setting up ThingSpeak
      1. Creating an account
      2. Creating a channel
      3. Sending test data
    4. Building the solution
      1. Things needed
      2. Schematic
    5. Summary
  9. AWS IoT
    1. AWS IoT
      1. AWS IoT Core
      2. AWS IoT Device Management
      3. AWS Greengrass
      4. AWS IoT Analytics
      5. Amazon FreeRTOS
    2. Designing the sample application
      1. Solution
      2. Architecture
        1. End-to-end communication
        2. Data visualization
      3. Pricing
    3. Building the sample application
      1. End-to-end communication
      2. Setting up the IoT Thing
      3. Setting up Raspberry Pi 3 on the DHT11 node
        1. Things needed
        2. Setting up Node.js
        3. Developing the Node.js Thing app
        4. Reading the data from the Thing
      4. Building the dashboard
        1. Elasticsearch
        2. Kibana
        3. Setting up Elasticsearch
        4. Setting up an IAM Role
        5. Creating an IoT Rule
        6. Elasticsearch configuration
        7. Running the Thing
        8. Building the Kibana dashboard
    4. Summary
    5. Further reading
  10. Azure IoT
    1. Azure IoT
      1. IoT hub
      2. Stream analytics
    2. Designing a sample application
      1. Solution
      2. Architecture
        1. End-to-end communication
        2. Data visualization
      3. Pricing
    3. Building a sample application
      1. End-to-end communication
      2. Setting up the IoT hub
      3. Setting up Raspberry Pi on the DHT11 node
        1. Things needed
        2. Setting up Node.js
        3. Developing the Node.js device app
        4. Reading the data from the IoT Thing
      4. Building a dashboard
        1. Azure stream analytics
        2. Power BI
        3. Execution steps
        4. Signing up to Power BI
        5. Setting up events
        6. Creating a stream analytics job
        7. Running the device
        8. Building the visualization
    4. Summary
  11. Google Cloud IoT
    1. Google Cloud IoT
    2. Designing a sample application
      1. Solution
      2. Architecture
        1. End-to-end communication
        2. Data visualization
      3. Pricing
    3. Building a sample application
      1. End-to-end communication
      2. Setting up a project
      3. Enabling APIs
      4. Enabling device registry and devices
      5. Setting up Raspberry Pi 3 with DHT11 node
        1. Things needed
        2. Setting up Node.js
        3. Developing the Node.js device app
        4. Reading the data from the device
          1. Setting up credentials
          2. Setting up subscriptions
          3. Setting up the client
      6. Building a dashboard
        1. Google Cloud Functions
        2. Google BigQuery
        3. Google Data Studio
          1. Setting up BigQuery
          2. Setting up Google Cloud Function
        4. Running the device
        5. Google Data Studio reports
    4. Summary
  12. IBM Watson IoT
    1. IBM Watson IoT
    2. Designing the sample application
      1. Solution
      2. Architecture
        1. End-to-end communication
        2. Data visualization
      3. Pricing
    3. Building the sample application
      1. End-to-end communication
      2. Creating a platform
      3. Setting up a Raspberry Pi 3 with DHT11 node
        1. Things needed
        2. Setting up Node.js
        3. Developing the Node.js thing app
        4. Reading the data from the device
      4. Building the dashboard
        1. Creating a schema
        2. Creating a board
    4. Summary
  13. Kaa IoT
    1. Kaa IoT
      1. How does Kaa work?
    2. Designing a sample application
      1. Solution
      2. Architecture
        1. End-to-end communication
        2. Data visualization
      3. Pricing
    3. Building a sample application
      1. Downloading Kaa
      2. Setting up a project
        1. Setting up a MongoDB log appender
        2. Setting up a REST log appender
      3. Node.js server - REST Logger
      4. Downloading the SDK and running the app
        1. Setting up a client app
        2. Downloading the Kaa SDK
        3. Setting up dependencies
        4. Setting up the hardware
          1. Things needed
        5. Running the application
          1. Validating MongoDB data
          2. Validating the REST log appender
      5. Building a dashboard
        1. ThingsBoard.io
        2. Setting up ThingsBoard
        3. Adding a REST log appender
        4. Building the dashboard
    4. Summary
  14. IoT and Machine Learning
    1. What is machine learning?
      1. Machine learning workflow
      2. Types of machine learning algorithms
        1. Supervised ML algorithms
        2. Unsupervised learning algorithms
        3. Reinforced learning algorithms
    2. Machine learning platforms
      1. Amazon machine learning
      2. Azure Machine Learning Studio
      3. Google Cloud Machine Learning
      4. IBM Watson Machine Learning
      5. Open source tools
    3. Rain prediction
      1. Setting up Azure Machine Learning Studio
      2. Importing experiment
        1. Weather dataset
        2. Selecting columns in the dataset
        3. Editing the metadata
        4. Cleaning the missing data
        5. Executing the R script
        6. Splitting data
        7. Train model
        8. Algorithm selection
        9. Score model
      3. Deploying web service
      4. Testing web the service
    4. Summary
  15. Platform Comparisons
    1. What is an IoT platform?
    2. Features of an IoT platform
      1. Essential features
        1. Security
        2. Secure device communication
        3. Device management
        4. Device and cloud integration
        5. Communication protocols
        6. Storage
      2. Beneficial features
        1. Visualization
        2. Third-party integration
        3. Analytics and intelligence
    3. Comparison between platforms
    4. Summary
  16. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think

Product information

  • Title: Enterprise Internet of Things Handbook
  • Author(s): Arvind Ravulavaru
  • Release date: April 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788838399