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

Identifying the sensor on the robot car


Throughout the course of the book, we have used a few input sensors. We have also published data from these sensors to the web. T.A.R.A.S. uses a distance sensor to detect objects close by, as can be seen in the following picture:

Looking at T.A.R.A.S for the first time, you would be forgiven for not knowing where the distance sensor is located. On T.A.R.A.S, and many other robots, this sensor is located in the eyes.

The following is a photo of the HC-SR04 distance sensor—the one used on T.A.R.A.S:

Note

If you do a Google image search for HC-SR04 on robots, you will see many, many robots that use this sensor. It is a very popular choice due to its low cost and wide availability, as well as its handy resemblance to eyes.

Taking a closer look at the HC-SR04

As mentioned, the HC-SR04 is a very popular sensor. It is easy to program, and is available from multiple vendors on www.aliexpress.com. The HC-SR04 provides measurements from 2 cm to 400 cm, and is accurate...