Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Edge Analytics with Azure IoT

You're reading from   Hands-On Edge Analytics with Azure IoT Design and develop IoT applications with edge analytical solutions including Azure IoT Edge

Arrow left icon
Product type Paperback
Published in May 2020
Publisher Packt
ISBN-13 9781838829902
Length 262 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Colin Dow Colin Dow
Author Profile Icon Colin Dow
Colin Dow
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Getting Started with Edge Analytics
2. Introduction to Edge Analytics FREE CHAPTER 3. How Does IoT Edge Analytics Work? 4. Communications Protocols Used in Edge Analytics 5. Section 2: Understanding Edge Analytics Technologies
6. Working with Microsoft Azure IoT Hub 7. Using the Raspberry Pi with Azure IoT Edge 8. Using MicroPython for Edge Analytics 9. Machine Learning and Edge Analytics 10. Designing a Smart Doorbell with Visual Recognition 11. Section 3: The Road Ahead
12. Security and Privacy in an Edge Analytics World 13. What Next? 14. Other Books You May Enjoy

To get the most out of this book

To get the most out of this book, having the following will be beneficial:

  • In Chapter 2, How Does IoT Edge Analytics Work?, we will use an ESP8266 with an RGB LED to create a weather forecasting application.
  • In Chapter 5, Using the Raspberry Pi with Azure IoT Edge, we will install Azure IoT Edge onto a Raspberry Pi 3B+. Although there is a newer version of the Raspberry Pi (the Raspberry Pi 4), the Raspberry Pi 3B+ will be needed in order to install an older version of the Raspbian operating system.
  • A computer with Windows installed will be needed to run the Microsoft Device Explorer tool that we will use in Chapter 4, Working with Microsoft Azure IoT Hub, and Chapter 5, Using the Raspberry Pi with Azure IoT Edge.
  • The purchase of an ESP32 with LoRa and the Pycom LoPy/LoPy 4 will assist in Chapter 6, Using MicroPython for Edge Analytics, as we cover MicroPython and microcontrollers.
  • A webcam will be used in Chapter 8, Designing a Smart Doorbell with Visual Recognition, as we build our smart doorbell application.

Software/hardware covered in the book

OS requirements

Raspberry Pi 3B+

Raspbian Stretch

Pycom LoPy / LoPy 4

Latest MicroPython firmware from Pycom

ESP32 with LoRa

Latest version of MicroPython

ESP8266

Default firmware

RGB LED

DHT11 temperature sensor

PC

Windows 10 and Node-RED

If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the Support tab.
  3. Click on Code Downloads.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Hands-On-Edge-Analytics-with-Azure-IoT. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The LoRaMessage class is used to send LoRa messages to the gateway device."

A block of code is set as follows:

import pycom
import time

pycom.heartbeat(False)

while True:
pycom.rgbled(0xFF0000) # Red
time.sleep(1)
pycom.rgbled(0x00FF00) # Green
time.sleep(1)
pycom.rgbled(0x0000FF) # Blue
time.sle

Any command-line input or output is written as follows:

$ sudo apt-get update
$ sudo apt-get install moby-engine

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Review your instance before clicking on the green + Create New Instance button."

Warnings or important notes appear like this.
Tips and tricks appear like this.
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime