Reader small image

You're reading from  Hands-On Edge Analytics with Azure IoT

Product typeBook
Published inMay 2020
PublisherPackt
ISBN-139781838829902
Edition1st Edition
Right arrow
Author (1)
Colin Dow
Colin Dow
author image
Colin Dow

Colin Dow has been 3D printing since 2013 starting with the laser cut wooden frame version of the Ultimaker 3D printer. He has gone through a dozen or so 3D printers over the years from MakerBots, PrintrBots, early Prusa i3s, delta printers, and liquid resin printers. Colin has been working with OpenSCAD since 2014 using it with 3D printers to design and manufacture model rocketry parts for his model rocketry business. Through his aerospace workshops he has introduced many students to 3D printing including in-class demonstrations of 3D printing. Over the last few years Colin has been designing and building automated drones for his drone startup using 3D printers and OpenSCAD.
Read more about Colin Dow

Right arrow

How Does IoT Edge Analytics Work?

Now that we understand what edge analytics is, let's turn our attention to how it works. In this chapter, we will discuss the components used in an edge analytics application and how they fit together. By the end of this chapter, we should not only have a better understanding of edge analytics, but an understanding that is rooted in the practical use of it.

We will conclude this chapter by looking at real-world edge analytics applications.

This chapter will cover the following topics:

  • What are the components used in an edge analytics application?
  • How do the components fit together?
  • More examples of real-world edge analytics applications.

What are the components used in an edge analytics application?

As we have learned in the previous chapter, to build an edge analytics application, there are certain components that we must use. In the following sections, we will expand on basic components before taking a look at components specific to Microsoft Azure.

Basic edge analytics components

If we were to build a simple edge analytics application from scratch, we would require sensors for measurement, a microcontroller or computer for processing this information, a connection to the internet for sending this information, and of course a cloud service of some sort to acquire and display the information. In this section, we will discuss what could be considered basic...

How do the components fit together?

Connecting our components together physically is similar for both basic edge analytics applications and edge analytics applications based on Microsoft Azure IoT. Input and output pins exist on many of the microcontrollers used for IoT and edge analytics applications. In the coming sections, we will outline how this done.

Connecting a sensor to the ESP-12F microcontroller

The following diagram shows a weather predictor I built using the ESP-12F module. Although it is not an edge analytics application per se, it does show how to connect a microcontroller to an LED and the internet. The weather predictor uses barometric pressure values taken for a web service to determine whether there will...

More examples of real-world edge analytics applications

Japan's Komatsu is a global manufacturer of construction machinery. Worker shortage is a major issue for Komatsu. To address this, they developed a smart factory platform called KOM-MICS.

KOM-MICS smart factory platform

KOM-MICS uses Azure services and Windows tablets (edge devices) to collect and analyze data from machine tools and robots to drive efficiencies. The data collected is stored and then processed in the Azure cloud. This processed data is then sent back to Windows PCs where a custom viewer and Microsoft Power BI are utilized.

Services from Azure are implemented in the cloud. Instead of utilizing their own servers and IT software and services, Komatsu...

Summary

In this chapter, we introduced components used in building an edge analytics application. We touched on the venerable DHT-11 temperature and humidity sensor. We outlined how it may be set up with a Raspberry Pi. We also touched on some Python code to demonstrate how this sensor may be used in an application.

For smart garden type applications, the soil moisture sensor is the key component. We looked at this sensor and described what a smart garden edge analytics application would look like. We also took a brief look at security applications by discussing the laser sensor.

Edge analytics wouldn't be possible without some sort of edge device and we explored a few of them by looking at various microcontrollers and computers used. We then dug into what makes up Azure IoT Edge by looking at the software components of this platform.

In our section on describing how the...

Questions

Having learned the lessons in this chapter, try answering the following questions on your own:

  1. True/False. Sensors are an important part of an edge analytics application.
  2. True/False. The DHT11 sensor is used to measure distance.
  3. How many parts make up a soil moisture sensor?
  4. What is a smart garden?
  5. True/False. Albert Einstein had something to do with the development of the laser.
  6. What year did the ESP8266 chip receive critical attention?
  7. True/False. Arduino started as a project for students in 2005.
  8. What does the Azure IoT Edge runtime enable?
  9. True/False. A module image lives in the cloud.
  10. True/False. With our weather predictor application, a blue LED indicates that a rising or falling barometric pressure has not been determined.

Further reading

Check out the Microsoft website, https://customers.microsoft.com, for more information on how Azure IoT Edge and Azure IoT are used in real-world scenarios.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Edge Analytics with Azure IoT
Published in: May 2020Publisher: PacktISBN-13: 9781838829902
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.
undefined
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 $15.99/month. Cancel anytime

Author (1)

author image
Colin Dow

Colin Dow has been 3D printing since 2013 starting with the laser cut wooden frame version of the Ultimaker 3D printer. He has gone through a dozen or so 3D printers over the years from MakerBots, PrintrBots, early Prusa i3s, delta printers, and liquid resin printers. Colin has been working with OpenSCAD since 2014 using it with 3D printers to design and manufacture model rocketry parts for his model rocketry business. Through his aerospace workshops he has introduced many students to 3D printing including in-class demonstrations of 3D printing. Over the last few years Colin has been designing and building automated drones for his drone startup using 3D printers and OpenSCAD.
Read more about Colin Dow