Cargando…

Mastering Internet of Things : Design and create your own IoT applications using Raspberry Pi 3.

This book is your go to guide to master working on IoT. It is a practical tutorial helping you to get to grips with the concepts of IoT in form of four projects. Starting with, developing your basic IoT fundamentals using a Raspberry Pi project. Followed by, explaining advance application support by...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Waher, Peter
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Preparing Our First Raspberry Pi Project; Getting what you need; Downloading the IoT Dashboard; Installing Windows 10 on your Raspberry Pi; Starting your Raspberry Pi; Connecting to your Raspberry Pi; Downloading the Arduino IDE; Installing Firmata on your Arduino board; Testing your Arduino board; Choosing a development environment; Using the IoT Gateway project and libraries; Creating your first project; Adding NuGet packages; Aggregating capabilities.
  • Initializing the applicationCommunicating with the Arduino; Testing the app; Deploying the app; Summary; Chapter 2: Creating a Sensor to Measure Ambient Light; Preparing our project; Initializing the inventory library; Initializing the persistence library; Sampling raw sensor data; Performing basic error correction; Canceling noise; Removing random spikes; Converting to a physical quantity; Illustrating measurement results; Calculating basic statistics; Defining data persistence; Storing measured data; Removing old data; Summary; Chapter 3: Creating an Actuator for Controlling Illumination.
  • Preparing our projectDefining control parameters; Understanding relays; Connecting our lamp; Connecting an LED; Controlling output; Persisting control parameter states; Logging important control events; Using Raspberry Pi GPIO pins directly; Checking whether GPIO is available; Initializing the GPIO output pin; Setting the GPIO pin output; Summary; Chapter 4: Publishing Information Using MQTT; Introducing the MQTT protocol; Understanding the Publish/Subscribe pattern; Preparing our project; Selecting an MQTT broker; Creating a Device ID; Connecting to the broker; Monitoring connection events.
  • Recovering from lost connectionsPublishing sensor data; Choosing relevant values; Choosing a quality of service; Publishing the light field; Checking encrypted communication; Adding MQTT support to the actuator; Subscribing to topics; Handling incoming commands; Testing MQTT; Security considerations; Managing authentication; Managing privacy; Managing interoperability; Managing authorization; Summary; Chapter 5: Publishing Data Using HTTP; Introducing the HTTP protocol; Locating a resource; Understanding the Request/Response pattern; Handling sessions; Limiting connectivity.
  • Choosing a connection directionUnderstanding methods; Updating resources; Interacting with resources; Encoding content; Applying headers; Optimizing requests; Sending content; Understanding status codes; Using encryption; Validating certificates; Redefining the web; Preparing our project; Creating an HTTP server; Adding dynamic synchronous resources; Choosing representation; Returning an XMLresponse; Adding a schema reference; Adding momentary values; Returning an image response; Explicitly encoding your content; Adding dynamic asynchronous resources; Decoding content.