Book Image

Mastering IOT

By : Colin Dow, Perry Lea
Book Image

Mastering IOT

By: Colin Dow, Perry Lea

Overview of this book

The Internet of Things (IoT) is the fastest growing technology market. Industries are embracing IoT technologies to improve operational expenses, product life, and people's well-being. We’ll begin our journey with an introduction to Raspberry Pi and quickly jump right into Python programming. We’ll learn all concepts through multiple projects, and then reinforce our learnings by creating an IoT robot car. We’ll examine modern sensor systems and focus on what their power and functionality can bring to our system. We’ll also gain insight into cloud and fog architectures, including the OpenFog standards. The Learning Path will conclude by discussing three forms of prevalent attacks and ways to improve the security of our IoT infrastructure. By the end of this Learning Path, we will have traversed the entire spectrum of technologies needed to build a successful IoT system, and will have the confidence to build, secure, and monitor our IoT infrastructure. This Learning Path includes content from the following Packt products: Internet of Things Programming Projects by Colin Dow Internet of Things for Architects by Perry Lea
Table of Contents (34 chapters)
Title Page
Copyright
About Packt
Contributors
Preface
Free Chapter
1
The IoT Story
Index

Summary


In this chapter, we turned T.A.R.A.S into a true IoT thing by publishing the distance data—the distance from the eyes of T.A.R.A.S to any object within its view—to the internet. By encapsulating our code into a class called RobotEyes, we can forget that we are dealing with a distance sensor and just focus on the eyes of T.A.R.A.S as behaving sonar-like.

Through the use of the demo platform in ThingsBoard, we are able to write code that sends the distance information from T.A.R.A.S to a dashboard widget for display. If we really wanted to be creative, we could connect an actual analogue device via a servo and display the distance information that way (as we did in Chapter 15, Working with the Servo Control Code to Control an Analog Device). In Chapter 25, Controlling the Robot Car with Web Service Calls, we will take things a step further and start to control T.A.R.A.S from the internet.